{
  "match_info": {
    "home_team": "Deportivo",
    "away_team": "Real Betis",
    "tournament": "LaLiga",
    "date": "20260920",
    "timezone": "America/New_York",
    "home_formation": "3-5-2",
    "away_formation": "3-5-2",
    "lineup_status": "projected_from_squad",
    "lineup_source": "/teams/get-squad",
    "lineup_confirmed": false,
    "lineup_confidence": 0.45
  },
  "prediction": {
    "most_likely_score": "1-0",
    "home_goals": 1,
    "away_goals": 0,
    "most_likely_score_probability": 0.1029,
    "match_resolution": "regulation",
    "predicted_winner": "Deportivo",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.249,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "1-0",
        "probability": 0.1029
      },
      {
        "score": "1-1",
        "probability": 0.1182
      },
      {
        "score": "2-1",
        "probability": 0.0947
      },
      {
        "score": "2-0",
        "probability": 0.0839
      },
      {
        "score": "0-1",
        "probability": 0.0716
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0652,
      "0-1": 0.0716,
      "0-2": 0.0409,
      "0-3": 0.0154,
      "0-4": 0.0043,
      "0-5": 0.001,
      "1-0": 0.1029,
      "1-1": 0.1182,
      "1-2": 0.0662,
      "1-3": 0.0249,
      "1-4": 0.007,
      "1-5": 0.0016,
      "2-0": 0.0839,
      "2-1": 0.0947,
      "2-2": 0.0535,
      "2-3": 0.0201,
      "2-4": 0.0057,
      "2-5": 0.0013,
      "3-0": 0.0452,
      "3-1": 0.051,
      "3-2": 0.0288,
      "3-3": 0.0108,
      "3-4": 0.0031,
      "3-5": 0.0007,
      "4-0": 0.0183,
      "4-1": 0.0206,
      "4-2": 0.0116,
      "4-3": 0.0044,
      "4-4": 0.0012,
      "5-0": 0.0059,
      "5-1": 0.0067,
      "5-2": 0.0038,
      "5-3": 0.0014,
      "6-0": 0.0016,
      "6-1": 0.0018,
      "6-2": 0.001
    },
    "outcome": {
      "home_win": 0.4858,
      "draw": 0.249,
      "away_win": 0.2652
    },
    "markets": {
      "over_2_5_goals": 0.5173,
      "under_2_5_goals": 0.4827,
      "btts_yes": 0.5432,
      "btts_no": 0.4568,
      "home_clean_sheet": 0.3234,
      "away_clean_sheet": 0.1987
    },
    "home_ratings": {
      "DR": 6.61,
      "MCR": 6.81,
      "ATR": 6.89,
      "GK": 7.03
    },
    "away_ratings": {
      "DR": 6.87,
      "MCR": 7.15,
      "ATR": 7.02,
      "GK": 7.35
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Deportivo vs Real Betis. Most likely scoreline: 1-0. Lambdas derived from 6 home and 6 away individual player duels.",
      "key_player": "Projected scorer(s): Adama Traoré",
      "tactical_analysis": "Tactical parity between 3-5-2 and 3-5-2. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Marc Casadó vs Abdessamad Ezzalzouli will be the pivotal duel. Total antagonist xG — Home: 0.38, Away: 0.68. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Central Mid vs Defensive Mid — Pressing/Creation Duel."
    },
    "confidence": 0.59,
    "home_lambda": 1.616,
    "away_lambda": 1.129,
    "modal_scoreline": "1-1",
    "modal_scoreline_probability": 0.1182,
    "headline_policy": "decisive_score_substitution"
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.4858,
      "draw": 0.249,
      "away_win": 0.2652
    },
    "favorite": "Deportivo",
    "favorite_win_probability": 0.4858,
    "fair_spread": 0.487,
    "fair_total": 2.745,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Deportivo",
        "estimate": 1.616,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Real Betis",
        "estimate": 1.129,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.5173,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.5432,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Deportivo",
        "estimate": 1.0,
        "probability": 0.3234,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Real Betis",
        "estimate": 1.0,
        "probability": 0.1987,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Adama Traoré (Deportivo)",
        "estimate": 0.2798,
        "probability": 0.2968,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Troy Parrott (Real Betis)",
        "estimate": 0.2138,
        "probability": 0.0,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Angeliño (Deportivo)",
        "estimate": 0.13,
        "probability": 0.2651,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Antony (Real Betis)",
        "estimate": 0.1495,
        "probability": 0.0,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 2.745,
      "expected_total_shots": 24,
      "expected_total_passes": 700,
      "expected_pressing_actions_per_90": 13.9,
      "possession_home_pct": 48.6,
      "possession_away_pct": 51.4,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Deportivo",
      "favorite_win_probability": 0.4858,
      "script": "Deportivo is the fair winner side, but the baseline remains narrow: fair spread +0.49 goals and fair total 2.75.",
      "first_half": "Expect balanced tempo while both sides test the matchup thesis; shot baseline is about 12 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Real Betis must keep the match inside one goal.",
      "late_game": "A Deportivo lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Real Betis chance creation leans on Antony against Lorenzo Amatucci in Central Mid vs Defensive Mid — Pressing/Creation Duel; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Deportivo: starters carry the main goal usage through Adama Traoré; bench watchlist: Jonathan Asp Jensen, Bil Nsongo.",
      "Real Betis: starters carry the main goal usage through the highest xG attackers; bench watchlist: Pablo García, Dani Ceballos, Álvaro Fidalgo.",
      "Assist usage should flow through Angeliño; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Deportivo tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects balanced tempo, about 12 total first-half shots, and 1.37 first-half xG pace.",
      "45-70: If the match is level, watch midfield control and the listed bench watchlists for usage changes.",
      "70-90: If Real Betis is chasing, transition and set-piece volume become the primary live deviation signal; a draw state keeps set pieces and transition chances live."
    ],
    "invalidation_triggers": [
      "Early red card, injury, or goalkeeper change for Deportivo.",
      "Real Betis wins the midfield/territory battle beyond the possession baseline.",
      "Pace collapses: first 25 minutes fall well below the shot and box-entry baseline.",
      "Set pieces, penalties, or second balls create more danger than the open-play matchup thesis."
    ],
    "top_3_risk_factors": [
      {
        "factor": "Low-event scoring variance",
        "impact": "One penalty, deflection, or missed big chance can overwhelm the fair win probability."
      },
      {
        "factor": "Late lineup or role change",
        "impact": "A pregame XI, injury, or tactical role shift can invalidate player prop and usage estimates."
      },
      {
        "factor": "Discipline and set-piece volatility",
        "impact": "Cards, fouls in dangerous zones, and corner volume can change the expected game script quickly."
      }
    ]
  },
  "teams": {
    "Deportivo": {
      "formation": "3-5-2",
      "players": {
        "Leo Román": {
          "player_id": 1131909,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 189,
          "market_value": 5800000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0893,
            "rating": 7.0272,
            "minutes": 89,
            "total_pass": 38,
            "accurate_pass": 29,
            "duels_won": 0,
            "total_long_balls": 14,
            "accurate_long_balls": 6,
            "touches": 45,
            "clearances": 0,
            "ball_recovery": 7,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 9.1723,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 28,
            "accurate_own_half_passes": 26,
            "expected_saves": 1.43,
            "high_pressure_saves": 0.54,
            "shots_faced": 3.1,
            "opponent_faced": "Antony, Troy Parrott",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 28,
                "ball_recovery": 7,
                "saves": 4,
                "goals_prevented": -0.5197
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0045,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 24,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": 0.5332
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 39,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": 0.3223
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 24,
                "clearances": 2,
                "ball_recovery": 7,
                "saves": 5,
                "goals_prevented": 0.538
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2271,
            "combined_rank_score": 830.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1570.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 7.0272,
            "source_file": "data/player_rankings.csv",
            "player_name": "Leo Román",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bafodé Diakité",
                  "ranking": 2266
                },
                {
                  "player_name": "Kwasi Sibo",
                  "ranking": 2267
                },
                {
                  "player_name": "Jordan Henderson",
                  "ranking": 2268
                },
                {
                  "player_name": "Andoni Gorosabel",
                  "ranking": 2269
                },
                {
                  "player_name": "Jeong-Yeon Wu",
                  "ranking": 2270
                }
              ],
              "lower": [
                {
                  "player_name": "Mathías Olivera",
                  "ranking": 2272
                },
                {
                  "player_name": "Luis Suárez",
                  "ranking": 2273
                },
                {
                  "player_name": "Calvin Bassey",
                  "ranking": 2274
                },
                {
                  "player_name": "Shahzod Akramov",
                  "ranking": 2275
                },
                {
                  "player_name": "Yves Bissouma",
                  "ranking": 2276
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "kilometersCovered",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "gk_coverage",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (G_service) evaluated 4 historical appearances across 3 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0901,
                "rating": 7.0867,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 29,
                "duels_won": 0,
                "total_long_balls": 14,
                "accurate_long_balls": 6,
                "touches": 46,
                "clearances": 0,
                "ball_recovery": 7,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 9.25,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:40.064367+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 113,
                    "rows": 393
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.3138,
                  "touches": 45.6156,
                  "totalOwnHalfPasses": 28.01,
                  "punches": 0.0,
                  "distribution_accuracy": 0.9185,
                  "accurateKeeperSweeper": 0.3138
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.8497769832611084,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0587
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0534
                      },
                      {
                        "name": "touches",
                        "importance": 0.0497
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.049
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": 2.9806,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.1304
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0347
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0306
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0281
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0213
                        }
                      ],
                      "others": 0.0449,
                      "total": 2.8498
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.09005806595087051,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.053
                      },
                      {
                        "name": "punches",
                        "importance": 0.051
                      },
                      {
                        "name": "touches",
                        "importance": 0.0482
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0468
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0432
                      }
                    ],
                    "decomposition": {
                      "base": -0.0536,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0443
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0439
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0335
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0316
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0239
                        }
                      ],
                      "others": 0.0813,
                      "total": 0.0901
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.08671760559082,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0593
                      },
                      {
                        "name": "touches",
                        "importance": 0.0495
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0484
                      },
                      {
                        "name": "savedShotsFromInsideTheBox",
                        "importance": 0.0468
                      },
                      {
                        "name": "punches",
                        "importance": 0.0464
                      }
                    ],
                    "decomposition": {
                      "base": 7.0716,
                      "items": [
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0807
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0653
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0378
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0359
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0313
                        }
                      ],
                      "others": -0.0297,
                      "total": 7.0867
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9916, quality 0.472)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0893,
                "rating": 7.0272,
                "minutes": 89,
                "total_pass": 38,
                "accurate_pass": 29,
                "duels_won": 0,
                "total_long_balls": 14,
                "accurate_long_balls": 6,
                "touches": 45,
                "clearances": 0,
                "ball_recovery": 7,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 9.1723,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9916
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0893,
                "rating": 7.0272,
                "minutes": 89,
                "total_pass": 38,
                "accurate_pass": 29,
                "duels_won": 0,
                "total_long_balls": 14,
                "accurate_long_balls": 6,
                "touches": 45,
                "clearances": 0,
                "ball_recovery": 7,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 9.1723,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0893,
                "rating": 7.0272,
                "minutes": 89,
                "total_pass": 38,
                "accurate_pass": 29,
                "duels_won": 0,
                "total_long_balls": 14,
                "accurate_long_balls": 6,
                "touches": 45,
                "clearances": 0,
                "ball_recovery": 7,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 9.1723,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "expected_saves": 1.43,
                "high_pressure_saves": 0.54,
                "shots_faced": 3.1,
                "opponent_faced": "Antony, Troy Parrott",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Antony, Troy Parrott",
                  "matchup_zone": "Goalkeeper shot-stopping context"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0893,
                "rating": 7.0272,
                "minutes": 89,
                "total_pass": 38,
                "accurate_pass": 29,
                "duels_won": 0,
                "total_long_balls": 14,
                "accurate_long_balls": 6,
                "touches": 45,
                "clearances": 0,
                "ball_recovery": 7,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 9.1723,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "expected_saves": 1.43,
                "high_pressure_saves": 0.54,
                "shots_faced": 3.1,
                "opponent_faced": "Antony, Troy Parrott",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 77.0)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0893,
                "rating": 7.0272,
                "minutes": 89,
                "total_pass": 38,
                "accurate_pass": 29,
                "duels_won": 0,
                "total_long_balls": 14,
                "accurate_long_balls": 6,
                "touches": 45,
                "clearances": 0,
                "ball_recovery": 7,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 9.1723,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "expected_saves": 1.43,
                "high_pressure_saves": 0.54,
                "shots_faced": 3.1,
                "opponent_faced": "Antony, Troy Parrott",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2271,
                "fifa_rank": 1570.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0893,
                "rating": 7.0272,
                "minutes": 89,
                "total_pass": 38,
                "accurate_pass": 29,
                "duels_won": 0,
                "total_long_balls": 14,
                "accurate_long_balls": 6,
                "touches": 45,
                "clearances": 0,
                "ball_recovery": 7,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 9.1723,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "expected_saves": 1.43,
                "high_pressure_saves": 0.54,
                "shots_faced": 3.1,
                "opponent_faced": "Antony, Troy Parrott",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 10.7802,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0893,
                "rating": 7.0272,
                "minutes": 89,
                "total_pass": 38,
                "accurate_pass": 29,
                "duels_won": 0,
                "total_long_balls": 14,
                "accurate_long_balls": 6,
                "touches": 45,
                "clearances": 0,
                "ball_recovery": 7,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 9.1723,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "expected_saves": 1.43,
                "high_pressure_saves": 0.54,
                "shots_faced": 3.1,
                "opponent_faced": "Antony, Troy Parrott",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 8.837,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            }
          ]
        },
        "José María Giménez": {
          "player_id": 325355,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 185,
          "market_value": 8600000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7484,
            "minutes": 34,
            "total_pass": 20,
            "accurate_pass": 18,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 27,
            "possession_lost": 3.0053,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.01,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 10,
            "total_progression": 20,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.697,
            "opponent_faced": "Troy Parrott",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0186,
            "projected_assists": 0,
            "assist_probability": 0.0075,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0141,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 32,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 4,
                "clearances": 5,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 11,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 823,
            "combined_rank_score": 393.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 374.0,
            "sofascore_rating": 6.9667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 412.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 6.7484,
            "source_file": "data/player_rankings.csv",
            "player_name": "José María Giménez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jan Kliment",
                  "ranking": 818
                },
                {
                  "player_name": "Michal Beran",
                  "ranking": 819
                },
                {
                  "player_name": "Kim Jisung",
                  "ranking": 820
                },
                {
                  "player_name": "Florian Thauvin",
                  "ranking": 821
                },
                {
                  "player_name": "Corentin Tolisso",
                  "ranking": 822
                }
              ],
              "lower": [
                {
                  "player_name": "Dean Henderson",
                  "ranking": 824
                },
                {
                  "player_name": "Palhinha",
                  "ranking": 825
                },
                {
                  "player_name": "Pape Gueye",
                  "ranking": 826
                },
                {
                  "player_name": "Caoimhin Kelleher",
                  "ranking": 827
                },
                {
                  "player_name": "Antonio Raíllo",
                  "ranking": 828
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0018,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7365,
                "minutes": 34,
                "total_pass": 20,
                "accurate_pass": 18,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 91.2245,
                  "accuratePass": 18.5355,
                  "possessionLostCtrl": 3.0496,
                  "totalClearance": 4.2653,
                  "totalClearance_p90": 11.6737
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.996860921382904,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0507
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0526
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0334
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0253
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0141
                        }
                      ],
                      "others": -0.0394,
                      "total": 0.9969
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2057336568832397,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0627
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0587
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0427
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0377
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0308
                        }
                      ],
                      "others": 0.083,
                      "total": 1.2057
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6773873567581177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1095
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0732
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0643
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0574
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0338
                        }
                      ],
                      "others": 0.0017,
                      "total": 0.6774
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.443347454071045,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4149
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.43
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2824
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.243
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2037
                        }
                      ],
                      "others": -0.1265,
                      "total": 4.4433
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.3109850883483887,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.069
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0591
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0509
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0403
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0355
                        }
                      ],
                      "others": 0.0231,
                      "total": 1.311
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.37000206112861633,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0354
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0327
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0316
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0254
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0185
                        }
                      ],
                      "others": -0.0712,
                      "total": 0.37
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.736539363861084,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0748
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.051
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0369
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0286
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0171
                        }
                      ],
                      "others": 0.0412,
                      "total": 6.7365
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0018, quality 0.506)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7484,
                "minutes": 34,
                "total_pass": 20,
                "accurate_pass": 18,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.0053,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 8600000,
                "quality_factor": 0.5059,
                "boost_factor": 1.0018
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7484,
                "minutes": 34,
                "total_pass": 20,
                "accurate_pass": 18,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.0053,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7484,
                "minutes": 34,
                "total_pass": 20,
                "accurate_pass": 18,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.0053,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Troy Parrott",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7484,
                "minutes": 34,
                "total_pass": 20,
                "accurate_pass": 18,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.0053,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 82.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7484,
                "minutes": 34,
                "total_pass": 20,
                "accurate_pass": 18,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.0053,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 823,
                "fifa_rank": 412.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7484,
                "minutes": 34,
                "total_pass": 20,
                "accurate_pass": 18,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.0053,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0186,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0186,
                "scorer_weight": 0.2001,
                "squad_weight_total": 10.7802,
                "weight_share": 0.0186,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7484,
                "minutes": 34,
                "total_pass": 20,
                "accurate_pass": 18,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 3.0053,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 20,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0186,
                "projected_assists": 0,
                "assist_probability": 0.0075,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0075,
                "provider_weight": 0.0662,
                "squad_weight_total": 8.837,
                "weight_share": 0.0075,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Giacomo Quagliata": {
          "player_id": 973300,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 177,
          "market_value": 2100000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.4902,
            "minutes": 88,
            "total_pass": 31,
            "accurate_pass": 25,
            "duels_won": 3,
            "total_long_balls": 4,
            "accurate_long_balls": 0,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 14,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 13.0013,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.1276,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 56,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.697,
            "opponent_faced": "Troy Parrott",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0139,
            "projected_assists": 0,
            "assist_probability": 0.03,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.0156,
                "expected_assists": 0.0537,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 26,
                "interceptions": 3,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_assists": 0.4268,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.049,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4186,
            "combined_rank_score": 2213.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3511.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "projected_match_rating": 6.4902,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giacomo Quagliata",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ștefan Baiaram",
                  "ranking": 4181
                },
                {
                  "player_name": "Ricardo Mangas",
                  "ranking": 4182
                },
                {
                  "player_name": "Brian Aguirre",
                  "ranking": 4183
                },
                {
                  "player_name": "Christian Fassnacht",
                  "ranking": 4184
                },
                {
                  "player_name": "Aliou Dieng",
                  "ranking": 4185
                }
              ],
              "lower": [
                {
                  "player_name": "Abdul Fatawu",
                  "ranking": 4187
                },
                {
                  "player_name": "Adama Boiro",
                  "ranking": 4188
                },
                {
                  "player_name": "Radek Vítek",
                  "ranking": 4189
                },
                {
                  "player_name": "Gonzalo",
                  "ranking": 4190
                },
                {
                  "player_name": "José Sosa",
                  "ranking": 4191
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6144,
                "minutes": 90,
                "total_pass": 32,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 14,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 13.25,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.13,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 57,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 54.0807,
                  "accuratePass": 25.9213,
                  "possessionLostCtrl": 12.9304,
                  "totalClearance": 2.1342,
                  "totalClearance_p90": 2.1342
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9154549241065979,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0419
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0285
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0186
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0119
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.011
                        }
                      ],
                      "others": 0.0224,
                      "total": 0.9155
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5622317790985107,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0891
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0909
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0625
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0527
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.038
                        }
                      ],
                      "others": 0.0747,
                      "total": 1.5622
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1376231908798218,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1982
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0884
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0584
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0543
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.054
                        }
                      ],
                      "others": 0.0416,
                      "total": 1.1376
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.0422396659851074,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4349
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3752
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2521
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.2598
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.149
                        }
                      ],
                      "others": 0.0862,
                      "total": 3.0422
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9782886505126953,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.1055
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0685
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.063
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.045
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0337
                        }
                      ],
                      "others": -0.0381,
                      "total": 0.9783
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.45682311058044434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": 0.1042
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0351
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0262
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0225
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.018
                        }
                      ],
                      "others": -0.072,
                      "total": 0.4568
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.614396095275879,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0419
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.031
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0265
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0226
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0197
                        }
                      ],
                      "others": 0.0088,
                      "total": 6.6144
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4902,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 3,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 14,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 13.0013,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 56,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4902,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 3,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 14,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 13.0013,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 56,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4902,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 3,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 14,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 13.0013,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 56,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Troy Parrott",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4902,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 3,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 14,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 13.0013,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 56,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 73.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4902,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 3,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 14,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 13.0013,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 56,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4186,
                "fifa_rank": 3511.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4902,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 3,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 14,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 13.0013,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 56,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0139,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0139,
                "scorer_weight": 0.1499,
                "squad_weight_total": 10.7802,
                "weight_share": 0.0139,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4902,
                "minutes": 88,
                "total_pass": 31,
                "accurate_pass": 25,
                "duels_won": 3,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 14,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 13.0013,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 56,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.697,
                "opponent_faced": "Troy Parrott",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0139,
                "projected_assists": 0,
                "assist_probability": 0.03,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.03,
                "provider_weight": 0.2649,
                "squad_weight_total": 8.837,
                "weight_share": 0.03,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Adrià Altimira": {
          "player_id": 980732,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 170,
          "market_value": 1700000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.5983,
            "minutes": 50,
            "total_pass": 9,
            "accurate_pass": 8,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 2.2863,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0196,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 2,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Troy Parrott",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0139,
            "projected_assists": 0,
            "assist_probability": 0.0082,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 20,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 62,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 71,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0487,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 689,
            "combined_rank_score": 360.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 385.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "projected_match_rating": 6.5983,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adrià Altimira",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Andraž Šporar",
                  "ranking": 684
                },
                {
                  "player_name": "Abdul Fatawu Issahaku",
                  "ranking": 685
                },
                {
                  "player_name": "Kahiser Lenis",
                  "ranking": 686
                },
                {
                  "player_name": "Oleksandr Zinchenko",
                  "ranking": 687
                },
                {
                  "player_name": "Germán Valera",
                  "ranking": 688
                }
              ],
              "lower": [
                {
                  "player_name": "Kepa Arrizabalaga",
                  "ranking": 690
                },
                {
                  "player_name": "Hugo Ancajima",
                  "ranking": 691
                },
                {
                  "player_name": "Andrew",
                  "ranking": 692
                },
                {
                  "player_name": "Joseph Lacey",
                  "ranking": 693
                },
                {
                  "player_name": "Eui-jeong Park",
                  "ranking": 694
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7245,
                "minutes": 51,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.33,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.02,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 2,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 37.101,
                  "accuratePass": 7.7328,
                  "possessionLostCtrl": 2.2721,
                  "totalClearance": 1.1079,
                  "totalClearance_p90": 3.9782
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8293355107307434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0454
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.044
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0181
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0166
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0382,
                      "total": 0.8293
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.9152124524116516,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "totalProgression",
                          "contribution": -0.1671
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0807
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0606
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0548
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.038
                        }
                      ],
                      "others": -0.0389,
                      "total": 0.9152
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5176147222518921,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "totalProgression",
                          "contribution": -0.1014
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0888
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.043
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0374
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0262
                        }
                      ],
                      "others": -0.0531,
                      "total": 0.5176
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.6286826133728027,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4265
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3476
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2999
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2767
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.1792
                        }
                      ],
                      "others": -0.3978,
                      "total": 2.6287
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.1166527271270752,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0617
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0547
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0439
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.038
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0376
                        }
                      ],
                      "others": -0.0881,
                      "total": 1.1167
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.343569815158844,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0487
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0347
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0232
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0188
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.018
                        }
                      ],
                      "others": -0.0386,
                      "total": 0.3436
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.724530220031738,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0765
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0723
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0338
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.027
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0202
                        }
                      ],
                      "others": 0.0526,
                      "total": 6.7245
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5983,
                "minutes": 50,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 2,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5983,
                "minutes": 50,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 2,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5983,
                "minutes": 50,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 2,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Troy Parrott",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5983,
                "minutes": 50,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 2,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 82.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5983,
                "minutes": 50,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 2,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 689,
                "fifa_rank": 385.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5983,
                "minutes": 50,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 2,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0139,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0139,
                "scorer_weight": 0.1499,
                "squad_weight_total": 10.7802,
                "weight_share": 0.0139,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5983,
                "minutes": 50,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.2863,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 2,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0139,
                "projected_assists": 0,
                "assist_probability": 0.0082,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0082,
                "provider_weight": 0.0725,
                "squad_weight_total": 8.837,
                "weight_share": 0.0082,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Marc Casadó": {
          "player_id": 1000483,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 17,
          "height": 172,
          "market_value": 17400000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0406,
            "assists": 0,
            "expected_goals": 0.1674,
            "shots_on_target": 0,
            "total_shots": 2,
            "rating": 6.81,
            "minutes": 25,
            "total_pass": 7,
            "accurate_pass": 6,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 1.0314,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 2,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.479,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Giovani Lo Celso",
            "opponent_faced": "Giovani Lo Celso",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.072,
            "projected_assists": 0,
            "assist_probability": 0.1262,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2842,
            "combined_rank_score": 962.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 678.0,
            "sofascore_rating": 6.72,
            "sofascore_appearances": 6.0,
            "fifa_rank": 1246.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "projected_match_rating": 6.81,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marc Casadó",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Shumaira Mheuka",
                  "ranking": 2837
                },
                {
                  "player_name": "Zaid Romero",
                  "ranking": 2838
                },
                {
                  "player_name": "Diego Carrasco",
                  "ranking": 2839
                },
                {
                  "player_name": "James Scanlon",
                  "ranking": 2840
                },
                {
                  "player_name": "Paulinho",
                  "ranking": 2841
                }
              ],
              "lower": [
                {
                  "player_name": "Maximilian Göppel",
                  "ranking": 2843
                },
                {
                  "player_name": "Yevgeniy Malashevich",
                  "ranking": 2844
                },
                {
                  "player_name": "Barrenetxea",
                  "ranking": 2845
                },
                {
                  "player_name": "Sergio Canales",
                  "ranking": 2846
                },
                {
                  "player_name": "Josip Šutalo",
                  "ranking": 2847
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0314,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 1 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0393,
                "assists": 0,
                "expected_goals": 0.0487,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6026,
                "minutes": 24,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.0,
                  "ballRecovery_p90": 3.75,
                  "progressiveBallCarriesCount": 0.0,
                  "expectedAssists": 0.0006,
                  "ballRecovery": 1.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9228206872940063,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0859
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0903
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0763
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0612
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.044
                        }
                      ],
                      "others": -0.1634,
                      "total": 0.9228
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03934692218899727,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0166
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0057
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0049
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.0393
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06724019348621368,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0074
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0052
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0048
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.003
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.0672
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.048674874007701874,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0248
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0089
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0075
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0055
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.0189,
                      "total": 0.0487
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22487954795360565,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0398
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0248
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0154
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0078
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0065
                        }
                      ],
                      "others": -0.0262,
                      "total": 0.2249
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8251838684082031,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1613
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0891
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0746
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0738
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0689
                        }
                      ],
                      "others": -0.0929,
                      "total": 0.8252
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.602550506591797,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.2556
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0494
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0363
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0222
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.062,
                      "total": 6.6026
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0314, quality 0.605)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0406,
                "assists": 0,
                "expected_goals": 0.0502,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.81,
                "minutes": 25,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.0314,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 17400000,
                "quality_factor": 0.6047,
                "boost_factor": 1.0314
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0406,
                "assists": 0,
                "expected_goals": 0.0502,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.81,
                "minutes": 25,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.0314,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0406,
                "assists": 0,
                "expected_goals": 0.0502,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.81,
                "minutes": 25,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.0314,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Giovani Lo Celso",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.479,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.8511,
                  "after": 1.7
                },
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0406,
                "assists": 0,
                "expected_goals": 0.1674,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.81,
                "minutes": 25,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.0314,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0502,
                  "after": 0.1674
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 78.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0406,
                "assists": 0,
                "expected_goals": 0.1674,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.81,
                "minutes": 25,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.0314,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2842,
                "fifa_rank": 1246.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0406,
                "assists": 0,
                "expected_goals": 0.1674,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.81,
                "minutes": 25,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.0314,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.072,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.072,
                "scorer_weight": 0.7761,
                "squad_weight_total": 10.7802,
                "weight_share": 0.072,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0406,
                "assists": 0,
                "expected_goals": 0.1674,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 6.81,
                "minutes": 25,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.0314,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 1,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.072,
                "projected_assists": 0,
                "assist_probability": 0.1262,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1262,
                "provider_weight": 1.1152,
                "squad_weight_total": 8.837,
                "weight_share": 0.1262,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Lorenzo Amatucci": {
          "player_id": 1100207,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 16,
          "height": 172,
          "market_value": 8199999,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0607,
            "assists": 0,
            "expected_goals": 0.1024,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8406,
            "minutes": 90,
            "total_pass": 54,
            "accurate_pass": 49,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 28,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 21,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 71,
            "possession_lost": 7.7525,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 3,
            "clearances": 4,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 25,
            "total_progression": 87,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "opponent_faced": "Abdessamad Ezzalzouli, Antony, Giovani Lo Celso",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0455,
            "projected_assists": 0,
            "assist_probability": 0.1427,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0398,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 43,
                "key_pass": 2,
                "tackles": 5,
                "interceptions": 3,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.017,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 45,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 4,
                "duels_won": 9,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_assists": 0.0125,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 55,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 1,
                "expected_assists": 0.0256,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3910,
            "combined_rank_score": 1893.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3530.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 6.8406,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lorenzo Amatucci",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Simon Sohm",
                  "ranking": 3905
                },
                {
                  "player_name": "Arkadiusz Milik",
                  "ranking": 3906
                },
                {
                  "player_name": "Pietro Terracciano",
                  "ranking": 3907
                },
                {
                  "player_name": "Hugo Rodallega",
                  "ranking": 3908
                },
                {
                  "player_name": "Marc-Oliver Kempf",
                  "ranking": 3909
                }
              ],
              "lower": [
                {
                  "player_name": "Juan Iturbe",
                  "ranking": 3911
                },
                {
                  "player_name": "Adrià Pedrosa",
                  "ranking": 3912
                },
                {
                  "player_name": "Pedraza",
                  "ranking": 3913
                },
                {
                  "player_name": "Erick Sánchez",
                  "ranking": 3914
                },
                {
                  "player_name": "Keinan Davis",
                  "ranking": 3915
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0003,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0607,
                "assists": 0,
                "expected_goals": 0.0307,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8384,
                "minutes": 90,
                "total_pass": 54,
                "accurate_pass": 49,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 70,
                "possession_lost": 7.75,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 4,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 87,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.0,
                  "ballRecovery_p90": 3.7803,
                  "progressiveBallCarriesCount": 0.4595,
                  "expectedAssists": 0.0248,
                  "ballRecovery": 3.7803
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8762134909629822,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0645
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.044
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0266
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0231
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0232
                        }
                      ],
                      "others": -0.1453,
                      "total": 0.8762
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06066427379846573,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0176
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0058
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0088,
                      "total": 0.0607
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0792243629693985,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0057
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0039
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0039
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0036
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0115,
                      "total": 0.0792
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.030707482248544693,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0262
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0111
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0094
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0059
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0052
                        }
                      ],
                      "others": -0.0202,
                      "total": 0.0307
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22473236918449402,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0362
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0291
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0185
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0082
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0059
                        }
                      ],
                      "others": -0.0262,
                      "total": 0.2247
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7131537795066833,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "history_matches",
                          "contribution": 0.1283
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.122
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0799
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.062
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0559
                        }
                      ],
                      "others": -0.2777,
                      "total": 0.7132
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.838407039642334,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.023
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0206
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0164
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0135
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0119
                        }
                      ],
                      "others": 0.0084,
                      "total": 6.8384
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0003, quality 0.501)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0607,
                "assists": 0,
                "expected_goals": 0.0307,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8406,
                "minutes": 90,
                "total_pass": 54,
                "accurate_pass": 49,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 7.7525,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 4,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 87,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 1.0003
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0607,
                "assists": 0,
                "expected_goals": 0.0307,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8406,
                "minutes": 90,
                "total_pass": 54,
                "accurate_pass": 49,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 7.7525,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 4,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 87,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0607,
                "assists": 0,
                "expected_goals": 0.0307,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8406,
                "minutes": 90,
                "total_pass": 54,
                "accurate_pass": 49,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 7.7525,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 4,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 87,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Abdessamad Ezzalzouli, Antony, Giovani Lo Celso",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Abdessamad Ezzalzouli, Antony, Giovani Lo Celso",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0607,
                "assists": 0,
                "expected_goals": 0.1024,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8406,
                "minutes": 90,
                "total_pass": 54,
                "accurate_pass": 49,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 7.7525,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 4,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 87,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Abdessamad Ezzalzouli, Antony, Giovani Lo Celso",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0307,
                  "after": 0.1024
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 73.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0607,
                "assists": 0,
                "expected_goals": 0.1024,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8406,
                "minutes": 90,
                "total_pass": 54,
                "accurate_pass": 49,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 7.7525,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 4,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 87,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Abdessamad Ezzalzouli, Antony, Giovani Lo Celso",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3910,
                "fifa_rank": 3530.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0607,
                "assists": 0,
                "expected_goals": 0.1024,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8406,
                "minutes": 90,
                "total_pass": 54,
                "accurate_pass": 49,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 7.7525,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 4,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 87,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Abdessamad Ezzalzouli, Antony, Giovani Lo Celso",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0455,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0455,
                "scorer_weight": 0.4909,
                "squad_weight_total": 10.7802,
                "weight_share": 0.0455,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0607,
                "assists": 0,
                "expected_goals": 0.1024,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8406,
                "minutes": 90,
                "total_pass": 54,
                "accurate_pass": 49,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 3,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 71,
                "possession_lost": 7.7525,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 3,
                "clearances": 4,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 87,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Abdessamad Ezzalzouli, Antony, Giovani Lo Celso",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0455,
                "projected_assists": 0,
                "assist_probability": 0.1427,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1427,
                "provider_weight": 1.2613,
                "squad_weight_total": 8.837,
                "weight_share": 0.1427,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Mario Soriano": {
          "player_id": 984622,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 21,
          "height": 163,
          "market_value": 4600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0557,
            "assists": 0,
            "expected_goals": 0.1137,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8409,
            "minutes": 73,
            "total_pass": 47,
            "accurate_pass": 44,
            "duels_won": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 24,
            "accurate_own_half_passes": 23,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 21,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 56,
            "possession_lost": 6.6634,
            "dispossessed": 1.9743,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 19,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.339,
            "pressing_faced": "LOW",
            "matchup_zone": "LWB vs RWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Fornals",
            "opponent_faced": "Pablo Fornals",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0481,
            "projected_assists": 0,
            "assist_probability": 0.1375,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0287,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 42,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 73,
                "rating": 7.3,
                "assists": 1,
                "expected_goals": 0.0158,
                "expected_assists": 0.3162,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 57,
                "accurate_pass": 55,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 85,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0291,
                "expected_assists": 0.0122,
                "total_shots": 1,
                "total_pass": 47,
                "accurate_pass": 43,
                "tackles": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 71,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.0427,
                "expected_assists": 0.0145,
                "total_shots": 1,
                "total_pass": 42,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3373,
            "combined_rank_score": 1333.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2409.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "projected_match_rating": 6.8409,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mario Soriano",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Maxime Estève",
                  "ranking": 3368
                },
                {
                  "player_name": "Fotis Ioannidis",
                  "ranking": 3369
                },
                {
                  "player_name": "Álvaro Rodriguez",
                  "ranking": 3370
                },
                {
                  "player_name": "Franjo Ivanović",
                  "ranking": 3371
                },
                {
                  "player_name": "Mika Biereth",
                  "ranking": 3372
                }
              ],
              "lower": [
                {
                  "player_name": "Ernest Poku",
                  "ranking": 3374
                },
                {
                  "player_name": "Dilane Bakwa",
                  "ranking": 3375
                },
                {
                  "player_name": "Martin Erlić",
                  "ranking": 3376
                },
                {
                  "player_name": "Atakan Karazor",
                  "ranking": 3377
                },
                {
                  "player_name": "Lesley Ugochukwu",
                  "ranking": 3378
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9872,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0564,
                "assists": 0,
                "expected_goals": 0.0346,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9298,
                "minutes": 74,
                "total_pass": 48,
                "accurate_pass": 44,
                "duels_won": 2,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 6.75,
                "dispossessed": 2.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.6862,
                  "ballRecovery_p90": 4.6127,
                  "progressiveBallCarriesCount": 0.2267,
                  "expectedAssists": 0.0989,
                  "ballRecovery": 3.8282
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0863428115844727,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0893
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0576
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0576
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0453
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0319
                        }
                      ],
                      "others": -0.1007,
                      "total": 1.0863
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.056414712220430374,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0185
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0046
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0039
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.003
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0028
                        }
                      ],
                      "others": -0.0093,
                      "total": 0.0564
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07604210823774338,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0055
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0038
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0036
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0028
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0019
                        }
                      ],
                      "others": -0.0114,
                      "total": 0.076
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.034569088369607925,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0219
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0125
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0087
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0067
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0059
                        }
                      ],
                      "others": -0.0184,
                      "total": 0.0346
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.225967675447464,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0313
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0263
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0173
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0093
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0319,
                      "total": 0.226
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8279477953910828,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "history_matches",
                          "contribution": 0.1163
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0874
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0754
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0611
                        }
                      ],
                      "others": -0.2939,
                      "total": 0.8279
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.929764270782471,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0283
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0186
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0182
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0177
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0163
                        }
                      ],
                      "others": -0.0011,
                      "total": 6.9298
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9872, quality 0.457)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0557,
                "assists": 0,
                "expected_goals": 0.0341,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8409,
                "minutes": 73,
                "total_pass": 47,
                "accurate_pass": 44,
                "duels_won": 2,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 6.6634,
                "dispossessed": 1.9743,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.9872
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0557,
                "assists": 0,
                "expected_goals": 0.0341,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8409,
                "minutes": 73,
                "total_pass": 47,
                "accurate_pass": 44,
                "duels_won": 2,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 6.6634,
                "dispossessed": 1.9743,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0557,
                "assists": 0,
                "expected_goals": 0.0341,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8409,
                "minutes": 73,
                "total_pass": 47,
                "accurate_pass": 44,
                "duels_won": 2,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 6.6634,
                "dispossessed": 1.9743,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Fornals",
                  "matchup_zone": "LWB vs RWB",
                  "duel_win_rate": 0.339,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.6
                },
                {
                  "stat": "totalShots",
                  "before": 0.8174,
                  "after": 0.9
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0557,
                "assists": 0,
                "expected_goals": 0.1137,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8409,
                "minutes": 73,
                "total_pass": 47,
                "accurate_pass": 44,
                "duels_won": 2,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 6.6634,
                "dispossessed": 1.9743,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0341,
                  "after": 0.1137
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 75.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0557,
                "assists": 0,
                "expected_goals": 0.1137,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8409,
                "minutes": 73,
                "total_pass": 47,
                "accurate_pass": 44,
                "duels_won": 2,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 6.6634,
                "dispossessed": 1.9743,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3373,
                "fifa_rank": 2409.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0557,
                "assists": 0,
                "expected_goals": 0.1137,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8409,
                "minutes": 73,
                "total_pass": 47,
                "accurate_pass": 44,
                "duels_won": 2,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 6.6634,
                "dispossessed": 1.9743,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0481,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0481,
                "scorer_weight": 0.5182,
                "squad_weight_total": 10.7802,
                "weight_share": 0.0481,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0557,
                "assists": 0,
                "expected_goals": 0.1137,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8409,
                "minutes": 73,
                "total_pass": 47,
                "accurate_pass": 44,
                "duels_won": 2,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 6.6634,
                "dispossessed": 1.9743,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 19,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Fornals",
                "opponent_faced": "Pablo Fornals",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0481,
                "projected_assists": 0,
                "assist_probability": 0.1375,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1375,
                "provider_weight": 1.215,
                "squad_weight_total": 8.837,
                "weight_share": 0.1375,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "David Mella": {
          "player_id": 1146312,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 11,
          "height": 169,
          "market_value": 4500000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0546,
            "assists": 0,
            "expected_goals": 0.1961,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6801,
            "minutes": 23,
            "total_pass": 5,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 4.934,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 17,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.331,
            "pressing_faced": "LOW",
            "matchup_zone": "RWB vs LWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Nelson Deossa",
            "opponent_faced": "Nelson Deossa",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0707,
            "projected_assists": 0,
            "assist_probability": 0.13,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 28,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0055,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 19,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2555,
            "combined_rank_score": 1059.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1204.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "projected_match_rating": 6.6801,
            "source_file": "data/player_rankings.csv",
            "player_name": "David Mella",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Adam Bugarija",
                  "ranking": 2550
                },
                {
                  "player_name": "Beom-hwan Kim",
                  "ranking": 2551
                },
                {
                  "player_name": "Myles Beerman",
                  "ranking": 2552
                },
                {
                  "player_name": "Yoon-hwan Lee",
                  "ranking": 2553
                },
                {
                  "player_name": "Tokhirbek Tukhtasinov",
                  "ranking": 2554
                }
              ],
              "lower": [
                {
                  "player_name": "José Luis Pérez",
                  "ranking": 2556
                },
                {
                  "player_name": "Sultanboy Ismoilov",
                  "ranking": 2557
                },
                {
                  "player_name": "Gerald Taylor",
                  "ranking": 2558
                },
                {
                  "player_name": "Felipe Villagrán",
                  "ranking": 2559
                },
                {
                  "player_name": "Danilo Catalán",
                  "ranking": 2560
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9868,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 2 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0553,
                "assists": 0,
                "expected_goals": 0.0596,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7694,
                "minutes": 24,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.0,
                  "ballRecovery_p90": 10.0041,
                  "progressiveBallCarriesCount": 0.5405,
                  "expectedAssists": 0.0048,
                  "ballRecovery": 2.4595
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7143909931182861,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0688
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0651
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0637
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.052
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0245
                        }
                      ],
                      "others": -0.1108,
                      "total": 0.7144
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05532281473278999,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.016
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0099
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0089
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0068
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0239,
                      "total": 0.0553
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07987534999847412,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0081
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0053
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0033
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0034
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0031
                        }
                      ],
                      "others": -0.0121,
                      "total": 0.0799
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.059552524238824844,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0167
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0123
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0095
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.006
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0118,
                      "total": 0.0596
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3248709440231323,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0481
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0229
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0213
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0167
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.012
                        }
                      ],
                      "others": -0.0161,
                      "total": 0.3249
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0282928943634033,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.136
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1119
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0843
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0635
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0463
                        }
                      ],
                      "others": -0.1075,
                      "total": 1.0283
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7693915367126465,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.025
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0247
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0241
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0175
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0168
                        }
                      ],
                      "others": -0.0375,
                      "total": 6.7694
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9868, quality 0.456)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0546,
                "assists": 0,
                "expected_goals": 0.0588,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6801,
                "minutes": 23,
                "total_pass": 5,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.934,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 4500000,
                "quality_factor": 0.456,
                "boost_factor": 0.9868
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0546,
                "assists": 0,
                "expected_goals": 0.0588,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6801,
                "minutes": 23,
                "total_pass": 5,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.934,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0546,
                "assists": 0,
                "expected_goals": 0.0588,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6801,
                "minutes": 23,
                "total_pass": 5,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.934,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.331,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Nelson Deossa",
                  "matchup_zone": "RWB vs LWB",
                  "duel_win_rate": 0.331,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0546,
                "assists": 0,
                "expected_goals": 0.1961,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6801,
                "minutes": 23,
                "total_pass": 5,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.934,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.331,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0588,
                  "after": 0.1961
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 78.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0546,
                "assists": 0,
                "expected_goals": 0.1961,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6801,
                "minutes": 23,
                "total_pass": 5,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.934,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.331,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2555,
                "fifa_rank": 1204.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0546,
                "assists": 0,
                "expected_goals": 0.1961,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6801,
                "minutes": 23,
                "total_pass": 5,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.934,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.331,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0707,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0707,
                "scorer_weight": 0.7623,
                "squad_weight_total": 10.7802,
                "weight_share": 0.0707,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0546,
                "assists": 0,
                "expected_goals": 0.1961,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6801,
                "minutes": 23,
                "total_pass": 5,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 4.934,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.331,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Nelson Deossa",
                "opponent_faced": "Nelson Deossa",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0707,
                "projected_assists": 0,
                "assist_probability": 0.13,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.13,
                "provider_weight": 1.1492,
                "squad_weight_total": 8.837,
                "weight_share": 0.13,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Angeliño": {
          "player_id": 848355,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 24,
          "height": 171,
          "market_value": 4200000,
          "stats": {
            "key_pass": 2,
            "assists": 1,
            "expected_assists": 0.13,
            "expected_goals": 0.2768,
            "total_shots": 2,
            "total_pass": 50,
            "accurate_pass": 40,
            "ball_recovery": 5,
            "duels_won": 6,
            "rating": 6.9,
            "minutes": 90,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 14,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 66,
            "possession_lost": 8.2,
            "dispossessed": 0.8,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 4,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "goal_rate": 0.07,
            "goals": 0,
            "shots_on_target": 1,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.055,
            "ball_carries": 29,
            "total_progression": 76,
            "progressive_carries": 7,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.406,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Giovani Lo Celso",
            "opponent_faced": "Giovani Lo Celso",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1423,
            "projected_assists": 1,
            "assist_probability": 0.2651,
            "fifa_overall": 78.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 1704,
            "combined_rank_score": 690.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 1185.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Angeliño",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Arthur Theate",
                  "ranking": 1699
                },
                {
                  "player_name": "Javokhir Kakhramonov",
                  "ranking": 1700
                },
                {
                  "player_name": "Wilson Odobert",
                  "ranking": 1701
                },
                {
                  "player_name": "Aitor Paredes",
                  "ranking": 1702
                },
                {
                  "player_name": "Danny Welbeck",
                  "ranking": 1703
                }
              ],
              "lower": [
                {
                  "player_name": "Park Kyu-Min",
                  "ranking": 1705
                },
                {
                  "player_name": "Valentín Vidal",
                  "ranking": 1706
                },
                {
                  "player_name": "Tyler Adams",
                  "ranking": 1707
                },
                {
                  "player_name": "Ryu Jun-sun",
                  "ranking": 1708
                },
                {
                  "player_name": "Dan Burn",
                  "ranking": 1709
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "M_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "market_value_adjustment": 0.4523,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€4,200,000) applied for position M (quality factor 0.45)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.45)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.13,
                "expected_goals": 0.083,
                "total_shots": 1,
                "total_pass": 50,
                "accurate_pass": 40,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 14,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 66,
                "possession_lost": 8.2,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.055,
                "ball_carries": 29,
                "total_progression": 76,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 4200000,
                "quality_factor": 0.4523
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.13,
                "expected_goals": 0.083,
                "total_shots": 1,
                "total_pass": 50,
                "accurate_pass": 40,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 14,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 66,
                "possession_lost": 8.2,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.055,
                "ball_carries": 29,
                "total_progression": 76,
                "progressive_carries": 7
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.13,
                "expected_goals": 0.083,
                "total_shots": 2,
                "total_pass": 50,
                "accurate_pass": 40,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 14,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 66,
                "possession_lost": 8.2,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.055,
                "ball_carries": 29,
                "total_progression": 76,
                "progressive_carries": 7,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Giovani Lo Celso",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.406,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.2,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 1.3,
                  "after": 1.6
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.13,
                "expected_goals": 0.2768,
                "total_shots": 2,
                "total_pass": 50,
                "accurate_pass": 40,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 14,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 66,
                "possession_lost": 8.2,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.055,
                "ball_carries": 29,
                "total_progression": 76,
                "progressive_carries": 7,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.083,
                  "after": 0.2768
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 78.0)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.13,
                "expected_goals": 0.2768,
                "total_shots": 2,
                "total_pass": 50,
                "accurate_pass": 40,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 14,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 66,
                "possession_lost": 8.2,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.055,
                "ball_carries": 29,
                "total_progression": 76,
                "progressive_carries": 7,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1704,
                "fifa_rank": 1185.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.13,
                "expected_goals": 0.2768,
                "total_shots": 2,
                "total_pass": 50,
                "accurate_pass": 40,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 14,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 66,
                "possession_lost": 8.2,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.055,
                "ball_carries": 29,
                "total_progression": 76,
                "progressive_carries": 7,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1423,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1423,
                "scorer_weight": 1.5341,
                "squad_weight_total": 10.7802,
                "weight_share": 0.1423,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 2,
                "assists": 1,
                "expected_assists": 0.13,
                "expected_goals": 0.2768,
                "total_shots": 2,
                "total_pass": 50,
                "accurate_pass": 40,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 14,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 66,
                "possession_lost": 8.2,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.055,
                "ball_carries": 29,
                "total_progression": 76,
                "progressive_carries": 7,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giovani Lo Celso",
                "opponent_faced": "Giovani Lo Celso",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1423,
                "projected_assists": 1,
                "assist_probability": 0.2651,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2651,
                "provider_weight": 2.3424,
                "squad_weight_total": 8.837,
                "weight_share": 0.2651,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Yeremay Hernández": {
          "player_id": 1096950,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 169,
          "market_value": 23000000,
          "stats": {
            "expected_goals": 0.2515,
            "goal_rate": 0.1784,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.048,
            "key_pass": 1,
            "rating": 6.9872,
            "minutes": 24,
            "total_pass": 8,
            "accurate_pass": 5,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 5.2393,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 22,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Natan, Valentín Gómez",
            "opponent_faced": "Natan, Valentín Gómez",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2782,
            "projected_assists": 0,
            "assist_probability": 0.0775,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 36,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0812,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 17,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 17,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0623,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2211,
            "combined_rank_score": 1041.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1260.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 6.9872,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yeremay Hernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sebastien Thill",
                  "ranking": 2206
                },
                {
                  "player_name": "Darko Velkovski",
                  "ranking": 2207
                },
                {
                  "player_name": "Sandro Wieser",
                  "ranking": 2208
                },
                {
                  "player_name": "Zafar Sadullayev",
                  "ranking": 2209
                },
                {
                  "player_name": "Tyrell Malacia",
                  "ranking": 2210
                }
              ],
              "lower": [
                {
                  "player_name": "Carles Aleñá",
                  "ranking": 2212
                },
                {
                  "player_name": "Jorge Cestero",
                  "ranking": 2213
                },
                {
                  "player_name": "Wallace Yan",
                  "ranking": 2214
                },
                {
                  "player_name": "Behruz Uktamov",
                  "ranking": 2215
                },
                {
                  "player_name": "Ilkhomzhon Kenzhaev",
                  "ranking": 2216
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0479,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 3 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1116,
                "goal_rate": 0.1703,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0458,
                "key_pass": 1,
                "rating": 6.6681,
                "minutes": 23,
                "total_pass": 7,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 5.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 21,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "minutesPlayed": 24.3858,
                  "totalShots": 0.3887,
                  "onTargetScoringAttempt": 0.0,
                  "touches": 14.896,
                  "dribbleValueNormalized": 0.0691
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11157399415969849,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0665
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0293
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0208
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0166
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0776,
                      "total": 0.1116
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17027729749679565,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": -0.053
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0423
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.025
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0206
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0208
                        }
                      ],
                      "others": -0.0963,
                      "total": 0.1703
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5154864192008972,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0395
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.033
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0283
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0255
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0203
                        }
                      ],
                      "others": -0.0878,
                      "total": 0.5155
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.491443395614624,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2831
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1073
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0699
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0603
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0326
                        }
                      ],
                      "others": -0.313,
                      "total": 1.4914
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04577675461769104,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.01
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0043
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0034
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0028
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0028
                        }
                      ],
                      "others": 0.0,
                      "total": 0.0458
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7227885127067566,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1748
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.077
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0585
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0422
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0291
                        }
                      ],
                      "others": -0.0451,
                      "total": 0.7228
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.668107509613037,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0427
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0408
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0268
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0261
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0233
                        }
                      ],
                      "others": 0.0676,
                      "total": 6.6681
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0479, quality 0.660)",
              "stats": {
                "expected_goals": 0.1169,
                "goal_rate": 0.1784,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.048,
                "key_pass": 1,
                "rating": 6.9872,
                "minutes": 24,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 5.2393,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 23000000,
                "quality_factor": 0.6595,
                "boost_factor": 1.0479
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1169,
                "goal_rate": 0.1784,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.048,
                "key_pass": 1,
                "rating": 6.9872,
                "minutes": 24,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 5.2393,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.0754,
                "goal_rate": 0.1784,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.048,
                "key_pass": 1,
                "rating": 6.9872,
                "minutes": 24,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 5.2393,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Natan, Valentín Gómez",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_override": 0.0754
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.5629,
                  "after": 2.0
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1169,
                  "after": 0.0754
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "expected_goals": 0.2515,
                "goal_rate": 0.1784,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.048,
                "key_pass": 1,
                "rating": 6.9872,
                "minutes": 24,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 5.2393,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0754,
                  "after": 0.2515
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 78.0)",
              "stats": {
                "expected_goals": 0.2515,
                "goal_rate": 0.1784,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.048,
                "key_pass": 1,
                "rating": 6.9872,
                "minutes": 24,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 5.2393,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2211,
                "fifa_rank": 1260.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.2515,
                "goal_rate": 0.1784,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.048,
                "key_pass": 1,
                "rating": 6.9872,
                "minutes": 24,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 5.2393,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2782,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2782,
                "scorer_weight": 2.999,
                "squad_weight_total": 10.7802,
                "weight_share": 0.2782,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.2515,
                "goal_rate": 0.1784,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.048,
                "key_pass": 1,
                "rating": 6.9872,
                "minutes": 24,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 5.2393,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 22,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2782,
                "projected_assists": 0,
                "assist_probability": 0.0775,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0775,
                "provider_weight": 0.6852,
                "squad_weight_total": 8.837,
                "weight_share": 0.0775,
                "position_multiplier": 0.85
              }
            }
          ]
        },
        "Adama Traoré": {
          "player_id": 286165,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 55,
          "height": 178,
          "market_value": 5700000,
          "stats": {
            "expected_goals": 0.2798,
            "goal_rate": 0.2034,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0494,
            "key_pass": 1,
            "rating": 6.7956,
            "minutes": 24,
            "total_pass": 11,
            "accurate_pass": 10,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 4,
            "crosses_accurate": 0,
            "touches": 24,
            "possession_lost": 7.9299,
            "dispossessed": 0.9912,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 144,
            "progressive_carries": 5,
            "shots_off_target": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Natan, Valentín Gómez",
            "opponent_faced": "Natan, Valentín Gómez",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.2968,
            "projected_assists": 0,
            "assist_probability": 0.0753,
            "fifa_overall": 68.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.1,
                "assists": 0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 6326,
            "combined_rank_score": 4631.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 910.0,
            "sofascore_rating": 6.5095,
            "sofascore_appearances": 24.0,
            "fifa_rank": 8353.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 6.7956,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adama Traoré",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ermal Krasniqi",
                  "ranking": 6321
                },
                {
                  "player_name": "Piris da Motta",
                  "ranking": 6322
                },
                {
                  "player_name": "Eugenio Raggio",
                  "ranking": 6323
                },
                {
                  "player_name": "David Akintola",
                  "ranking": 6324
                },
                {
                  "player_name": "João Rêgo",
                  "ranking": 6325
                }
              ],
              "lower": [
                {
                  "player_name": "Esteban Matus",
                  "ranking": 6327
                },
                {
                  "player_name": "Cameron Humphreys",
                  "ranking": 6328
                },
                {
                  "player_name": "Brandon Austin",
                  "ranking": 6329
                },
                {
                  "player_name": "Javier García",
                  "ranking": 6330
                },
                {
                  "player_name": "Alexis Zapata",
                  "ranking": 6331
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9912,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 1 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1313,
                "goal_rate": 0.2052,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0498,
                "key_pass": 1,
                "rating": 6.8557,
                "minutes": 24,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 8.0,
                "dispossessed": 1.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 145,
                "progressive_carries": 5,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.1
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "minutesPlayed": 24.0,
                  "totalShots": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "touches": 24.0,
                  "dribbleValueNormalized": 0.28
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1313215047121048,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0662
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0177
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0162
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0153
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.014
                        }
                      ],
                      "others": -0.0474,
                      "total": 0.1313
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.20518659055233002,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0747
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0538
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0237
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0148
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0159
                        }
                      ],
                      "others": -0.0188,
                      "total": 0.2052
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6442211866378784,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0441
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0425
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0367
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0315
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0286
                        }
                      ],
                      "others": -0.0299,
                      "total": 0.6442
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.7095109224319458,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3049
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1487
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.1079
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0927
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0766
                        }
                      ],
                      "others": -0.0391,
                      "total": 1.7095
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.049795910716056824,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0114
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0047
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0023
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0024
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0023
                        }
                      ],
                      "others": 0.001,
                      "total": 0.0498
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7886548042297363,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0936
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0579
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.03
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0243
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0159
                        }
                      ],
                      "others": 0.0245,
                      "total": 0.7887
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8557329177856445,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": -0.0747
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0514
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0429
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0313
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0301
                        }
                      ],
                      "others": 0.1213,
                      "total": 6.8557
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9912, quality 0.471)",
              "stats": {
                "expected_goals": 0.1302,
                "goal_rate": 0.2034,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0494,
                "key_pass": 1,
                "rating": 6.7956,
                "minutes": 24,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.9299,
                "dispossessed": 0.9912,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 144,
                "progressive_carries": 5,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 5700000,
                "quality_factor": 0.4708,
                "boost_factor": 0.9912
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1302,
                "goal_rate": 0.2034,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0494,
                "key_pass": 1,
                "rating": 6.7956,
                "minutes": 24,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.9299,
                "dispossessed": 0.9912,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 144,
                "progressive_carries": 5,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.0839,
                "goal_rate": 0.2034,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0494,
                "key_pass": 1,
                "rating": 6.7956,
                "minutes": 24,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.9299,
                "dispossessed": 0.9912,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 144,
                "progressive_carries": 5,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Natan, Valentín Gómez",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_override": 0.0839
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.6946,
                  "after": 2.0
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1302,
                  "after": 0.0839
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "expected_goals": 0.2798,
                "goal_rate": 0.2034,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0494,
                "key_pass": 1,
                "rating": 6.7956,
                "minutes": 24,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.9299,
                "dispossessed": 0.9912,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 144,
                "progressive_carries": 5,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0839,
                  "after": 0.2798
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 68.0)",
              "stats": {
                "expected_goals": 0.2798,
                "goal_rate": 0.2034,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0494,
                "key_pass": 1,
                "rating": 6.7956,
                "minutes": 24,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.9299,
                "dispossessed": 0.9912,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 144,
                "progressive_carries": 5,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 68.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6326,
                "fifa_rank": 8353.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 68.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.2798,
                "goal_rate": 0.2034,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0494,
                "key_pass": 1,
                "rating": 6.7956,
                "minutes": 24,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.9299,
                "dispossessed": 0.9912,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 144,
                "progressive_carries": 5,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2968,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.2968,
                "scorer_weight": 3.1999,
                "squad_weight_total": 10.7802,
                "weight_share": 0.2968,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.2798,
                "goal_rate": 0.2034,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0494,
                "key_pass": 1,
                "rating": 6.7956,
                "minutes": 24,
                "total_pass": 11,
                "accurate_pass": 10,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 2,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 6,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 7.9299,
                "dispossessed": 0.9912,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 144,
                "progressive_carries": 5,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Valentín Gómez",
                "opponent_faced": "Natan, Valentín Gómez",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2968,
                "projected_assists": 0,
                "assist_probability": 0.0753,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0753,
                "provider_weight": 0.6651,
                "squad_weight_total": 8.837,
                "weight_share": 0.0753,
                "position_multiplier": 0.85
              }
            }
          ]
        }
      },
      "bench_players": {
        "Álvaro Ferllo": {
          "player_id": 852412,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 186,
          "market_value": 2100000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.417,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3585,
            "combined_rank_score": 1550.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 2885.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Ferllo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Callum McGregor",
                  "ranking": 3580
                },
                {
                  "player_name": "Costinha",
                  "ranking": 3581
                },
                {
                  "player_name": "Gayà",
                  "ranking": 3582
                },
                {
                  "player_name": "Alisson Santos",
                  "ranking": 3583
                },
                {
                  "player_name": "Dakonam Djené",
                  "ranking": 3584
                }
              ],
              "lower": [
                {
                  "player_name": "Sivera",
                  "ranking": 3586
                },
                {
                  "player_name": "Kike García",
                  "ranking": 3587
                },
                {
                  "player_name": "Ephron Mason-Clark",
                  "ranking": 3588
                },
                {
                  "player_name": "Zubeldia",
                  "ranking": 3589
                },
                {
                  "player_name": "Hugo Rincón",
                  "ranking": 3590
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€2,100,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90,
                "total_pass": 27,
                "accurate_pass": 20,
                "total_long_balls": 8,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 0,
                "punches": 0.3,
                "aerial_won": 1,
                "sweeper_actions": 1,
                "sweeper_accurate": 1,
                "saves_inside_box": 1,
                "possession_lost": 2.4,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 74.0)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0146,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1171,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3585,
                "fifa_rank": 2885.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Lucas Noubi": {
          "player_id": 1127337,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 184,
          "market_value": 1500000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.4145,
            "minutes": 14,
            "total_pass": 7,
            "accurate_pass": 6,
            "duels_won": 0,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 1.2948,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 9,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.417,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 42,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 39,
                "interceptions": 3,
                "clearances": 7,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 38,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 5,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0049,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 44,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4136,
            "combined_rank_score": 2133.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3521.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.4145,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Noubi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marcus Pedersen",
                  "ranking": 4131
                },
                {
                  "player_name": "Tyrique George",
                  "ranking": 4132
                },
                {
                  "player_name": "Yunus Musah",
                  "ranking": 4133
                },
                {
                  "player_name": "Florent Muslija",
                  "ranking": 4134
                },
                {
                  "player_name": "Darnell Furlong",
                  "ranking": 4135
                }
              ],
              "lower": [
                {
                  "player_name": "Marcão",
                  "ranking": 4137
                },
                {
                  "player_name": "Nicolás Valentini",
                  "ranking": 4138
                },
                {
                  "player_name": "Borna Sosa",
                  "ranking": 4139
                },
                {
                  "player_name": "Nathan Broadhead",
                  "ranking": 4140
                },
                {
                  "player_name": "Fábio Cardoso",
                  "ranking": 4141
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (4 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5372,
                "minutes": 90,
                "total_pass": 48,
                "accurate_pass": 41,
                "duels_won": 3,
                "total_long_balls": 11,
                "accurate_long_balls": 6,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 32,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 62,
                "possession_lost": 8.75,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 60,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "touches_p90": 62.82,
                  "accuratePass": 40.6783,
                  "possessionLostCtrl": 8.9736,
                  "totalClearance": 6.1611,
                  "totalClearance_p90": 6.1611
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6993574500083923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2477
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0274
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.02
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0141
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0134,
                      "total": 0.6994
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2815561294555664,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": -0.0769
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0565
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0332
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0305
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.028
                        }
                      ],
                      "others": 0.0344,
                      "total": 1.2816
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6545403003692627,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.144
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0637
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0467
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0364
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0295
                        }
                      ],
                      "others": 0.0483,
                      "total": 0.6545
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.1461124420166016,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.7748
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.3754
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1413
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1449
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0781
                        }
                      ],
                      "others": -0.0658,
                      "total": 2.1461
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9059813022613525,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.36
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0556
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0555
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0371
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0275
                        }
                      ],
                      "others": -0.0406,
                      "total": 0.906
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3008798360824585,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1118
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0697
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0275
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0166
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0149
                        }
                      ],
                      "others": -0.0542,
                      "total": 0.3009
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.537208557128906,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0714
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0532
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.049
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.038
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.025
                        }
                      ],
                      "others": 0.0611,
                      "total": 6.5372
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4145,
                "minutes": 88,
                "total_pass": 48,
                "accurate_pass": 40,
                "duels_won": 3,
                "total_long_balls": 11,
                "accurate_long_balls": 6,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 61,
                "possession_lost": 8.5858,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 59,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4145,
                "minutes": 14,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 0,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 1.2948,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4145,
                "minutes": 14,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 0,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 1.2948,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 73.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4145,
                "minutes": 14,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 0,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 1.2948,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4136,
                "fifa_rank": 3521.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            }
          ]
        },
        "Dani Barcia": {
          "player_id": 1100590,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 5,
          "height": 186,
          "market_value": 1300000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "duels_won": 1,
            "total_pass": 6,
            "accurate_pass": 5,
            "expected_goals": 0.0024,
            "rating": 6.8,
            "minutes": 14,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 0.935,
            "dispossessed": 0.4,
            "duels_lost": 0,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_assists": 0.0068,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0018,
            "key_pass": 0,
            "ball_carries": 3,
            "total_progression": 8,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.417,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 71.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 4555,
            "combined_rank_score": 2630.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 5037.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Barcia",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Abel Ruíz",
                  "ranking": 4550
                },
                {
                  "player_name": "Enzo Copetti",
                  "ranking": 4551
                },
                {
                  "player_name": "Milutin Osmajić",
                  "ranking": 4552
                },
                {
                  "player_name": "Alain Baroja",
                  "ranking": 4553
                },
                {
                  "player_name": "Omar Fernández",
                  "ranking": 4554
                }
              ],
              "lower": [
                {
                  "player_name": "Dimitrios Pelkas",
                  "ranking": 4556
                },
                {
                  "player_name": "Mohamed Elyounoussi",
                  "ranking": 4557
                },
                {
                  "player_name": "Nicklas Røjkjær",
                  "ranking": 4558
                },
                {
                  "player_name": "Felix Beijmo",
                  "ranking": 4559
                },
                {
                  "player_name": "Elías Rafn Ólafsson",
                  "ranking": 4560
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "D_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€1,300,000) scaled to 13.6 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.44)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 33,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.045,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 0,
                "ball_carries": 19,
                "total_progression": 56,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 1300000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "aerial_lost": 2,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 8,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "aerial_lost": 2,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 8,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 18, fifa_overall 71.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "aerial_lost": 2,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 8,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 71.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4555,
                "fifa_rank": 5037.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 71.0
              }
            }
          ]
        },
        "Luismi Cruz": {
          "player_id": 966526,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 166,
          "market_value": 2100000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0201,
            "assists": 0,
            "expected_goals": 0.0086,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7152,
            "minutes": 22,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 2.2159,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 9,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.417,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.1947,
                "expected_assists": 0.0615,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 16,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 73,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0405,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 73,
                "rating": 6.9,
                "assists": 1,
                "expected_goals": 0.0067,
                "expected_assists": 0.356,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 3,
                "tackles": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 19,
                "rating": 6.4,
                "assists": 0,
                "expected_goals": 0.107,
                "expected_assists": 0.0047,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 5,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3835,
            "combined_rank_score": 1833.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2922.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 6.7152,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luismi Cruz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jordan Lefort",
                  "ranking": 3830
                },
                {
                  "player_name": "Rasmus Nicolaisen",
                  "ranking": 3831
                },
                {
                  "player_name": "Marin Pongračić",
                  "ranking": 3832
                },
                {
                  "player_name": "Yehvann Diouf",
                  "ranking": 3833
                },
                {
                  "player_name": "Hugo Magnetti",
                  "ranking": 3834
                }
              ],
              "lower": [
                {
                  "player_name": "Sofiane Diop",
                  "ranking": 3836
                },
                {
                  "player_name": "Adam Karabec",
                  "ranking": 3837
                },
                {
                  "player_name": "Oso",
                  "ranking": 3838
                },
                {
                  "player_name": "David López",
                  "ranking": 3839
                },
                {
                  "player_name": "Mohammed Salisu",
                  "ranking": 3840
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0838,
                "assists": 0,
                "expected_goals": 0.0359,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8436,
                "minutes": 60,
                "total_pass": 21,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 9.25,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 36,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7333,
                  "ballRecovery_p90": 3.6591,
                  "progressiveBallCarriesCount": 1.1211,
                  "expectedAssists": 0.1117,
                  "ballRecovery": 3.0495
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9047834873199463,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.166
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0597
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.041
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0327
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0267
                        }
                      ],
                      "others": -0.0584,
                      "total": 0.9048
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08377673476934433,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0157
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0135
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0063
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0048
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.0838
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1019274964928627,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0075
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0065
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0052
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0035
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0027
                        }
                      ],
                      "others": 0.0043,
                      "total": 0.1019
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.035939864814281464,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0292
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0171
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0123
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0071
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.0359
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2579536437988281,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0447
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0231
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0146
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0086
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0089
                        }
                      ],
                      "others": -0.0095,
                      "total": 0.258
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7878405451774597,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2742
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.1152
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0935
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0367
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0354
                        }
                      ],
                      "others": -0.0902,
                      "total": 0.7878
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.843620300292969,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0746
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0215
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.016
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0158
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0153
                        }
                      ],
                      "others": 0.0178,
                      "total": 6.8436
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0822,
                "assists": 0,
                "expected_goals": 0.0353,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7152,
                "minutes": 59,
                "total_pass": 21,
                "accurate_pass": 17,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 9.0764,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 35,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0201,
                "assists": 0,
                "expected_goals": 0.0086,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7152,
                "minutes": 22,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.2159,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.499
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0201,
                "assists": 0,
                "expected_goals": 0.0086,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7152,
                "minutes": 22,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.2159,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 74.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0201,
                "assists": 0,
                "expected_goals": 0.0086,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7152,
                "minutes": 22,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.2159,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3835,
                "fifa_rank": 2922.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Riki Rodríguez": {
          "player_id": 950110,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 175,
          "market_value": 1400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0103,
            "assists": 0,
            "expected_goals": 0.0066,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6468,
            "minutes": 22,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 7,
            "possession_lost": 1.4373,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 4,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.417,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 54,
                "rating": 6.1,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 64,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0189,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 31,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2803,
            "combined_rank_score": 1265.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1572.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 6.6468,
            "source_file": "data/player_rankings.csv",
            "player_name": "Riki Rodríguez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fabio Wolfinger",
                  "ranking": 2798
                },
                {
                  "player_name": "Andrin Netzer",
                  "ranking": 2799
                },
                {
                  "player_name": "Kim Gyeol",
                  "ranking": 2800
                },
                {
                  "player_name": "Brede Moe",
                  "ranking": 2801
                },
                {
                  "player_name": "Jamaal Lascelles",
                  "ranking": 2802
                }
              ],
              "lower": [
                {
                  "player_name": "Juan Carlos Arana",
                  "ranking": 2804
                },
                {
                  "player_name": "Gnangoro Bouaré",
                  "ranking": 2805
                },
                {
                  "player_name": "Marc Santos",
                  "ranking": 2806
                },
                {
                  "player_name": "Juan Quintero",
                  "ranking": 2807
                },
                {
                  "player_name": "Junior Paredes",
                  "ranking": 2808
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (2 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0431,
                "assists": 0,
                "expected_goals": 0.0276,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7739,
                "minutes": 59,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 28,
                "possession_lost": 6.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 18,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0,
                  "ballRecovery_p90": 2.8392,
                  "progressiveBallCarriesCount": 0.0,
                  "expectedAssists": 0.0101,
                  "ballRecovery": 1.9189
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.550359308719635,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2094
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.055
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0389
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0233
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0219
                        }
                      ],
                      "others": -0.0702,
                      "total": 0.5504
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.043069593608379364,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0173
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0094
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0053
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0048
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0186,
                      "total": 0.0431
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07436884194612503,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.007
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0051
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0045
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0041
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.0744
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.027572952210903168,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0282
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.017
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0093
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0076
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.0276
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.24158373475074768,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0556
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0301
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.022
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0101
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0084
                        }
                      ],
                      "others": -0.0416,
                      "total": 0.2416
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3420688211917877,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2434
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1442
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0704
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0454
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0405
                        }
                      ],
                      "others": -0.2534,
                      "total": 0.3421
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.773935794830322,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0641
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0224
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0166
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0141
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0116
                        }
                      ],
                      "others": 0.0095,
                      "total": 6.7739
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0423,
                "assists": 0,
                "expected_goals": 0.0271,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6468,
                "minutes": 58,
                "total_pass": 24,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 5.8874,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 18,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 1400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.0066,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6468,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.4373,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.499
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.0066,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6468,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.4373,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 77.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.0066,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6468,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.4373,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2803,
                "fifa_rank": 1572.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Jonathan Asp Jensen": {
          "player_id": 1146545,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 182,
          "market_value": 3900000,
          "stats": {
            "expected_goals": 0.1061,
            "goal_rate": 0.039,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0061,
            "key_pass": 0,
            "rating": 6.5937,
            "minutes": 25,
            "total_pass": 2,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.561,
            "bench_expected_minutes": 25.34,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.417,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0328,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 62,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.0302,
                "expected_assists": 0.0184,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 12,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 60,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5662,
            "combined_rank_score": 3934.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6954.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "projected_match_rating": 6.5937,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonathan Asp Jensen",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Oleksandr Svatok",
                  "ranking": 5657
                },
                {
                  "player_name": "Dimitar Mitov",
                  "ranking": 5658
                },
                {
                  "player_name": "Víctor Dávila",
                  "ranking": 5659
                },
                {
                  "player_name": "Ulrik Saltnes",
                  "ranking": 5660
                },
                {
                  "player_name": "Kareem Tunde",
                  "ranking": 5661
                }
              ],
              "lower": [
                {
                  "player_name": "Wes Burns",
                  "ranking": 5663
                },
                {
                  "player_name": "Rodrigo Morínigo",
                  "ranking": 5664
                },
                {
                  "player_name": "Nicolás Lodeiro",
                  "ranking": 5665
                },
                {
                  "player_name": "Kalvin Phillips",
                  "ranking": 5666
                },
                {
                  "player_name": "Filip Krastev",
                  "ranking": 5667
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.33644058998921,
            "bench_appearance_prob": 0.5607472995449642,
            "market_value_adjustment": 0.9846,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1147,
                "goal_rate": 0.1407,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 1,
                "expected_assists": 0.0219,
                "key_pass": 0,
                "rating": 6.697,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 41.6132,
                  "totalShots": 1.0,
                  "onTargetScoringAttempt": 0.7191,
                  "touches": 13.3333,
                  "dribbleValueNormalized": 0.082
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11472064256668091,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0616
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0394
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0197
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0157
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0076
                        }
                      ],
                      "others": -0.0564,
                      "total": 0.1147
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14065974950790405,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0542
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0453
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0299
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0188
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0149
                        }
                      ],
                      "others": -0.0417,
                      "total": 0.1407
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5139478445053101,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0416
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0202
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0175
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0127
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0118
                        }
                      ],
                      "others": -0.0642,
                      "total": 0.5139
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8049896359443665,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2444
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1614
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0415
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0298
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0291
                        }
                      ],
                      "others": -0.2198,
                      "total": 0.805
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.021901464089751244,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.009
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0046
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0034
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0112,
                      "total": 0.0219
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3693397641181946,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1722
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0474
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.043
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0359
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0292
                        }
                      ],
                      "others": -0.0807,
                      "total": 0.3693
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.697011470794678,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0544
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0468
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0397
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0335
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0315
                        }
                      ],
                      "others": 0.0805,
                      "total": 6.697
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9846, quality 0.449)",
              "stats": {
                "expected_goals": 0.113,
                "goal_rate": 0.1385,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 1,
                "expected_assists": 0.0216,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486,
                "boost_factor": 0.9846
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0318,
                "goal_rate": 0.039,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0061,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.34
              },
              "params": {
                "expected_minutes": 25.34,
                "appearance_probability": 0.561
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0318,
                "goal_rate": 0.039,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0061,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.34
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "expected_goals": 0.1061,
                "goal_rate": 0.039,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0061,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.34,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0318,
                  "after": 0.1061
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 69.0)",
              "stats": {
                "expected_goals": 0.1061,
                "goal_rate": 0.039,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0061,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.34,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5662,
                "fifa_rank": 6954.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Bil Nsongo": {
          "player_id": 2335487,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 32,
          "height": 182,
          "market_value": 3200000,
          "stats": {
            "expected_goals": 0.1221,
            "goal_rate": 0.0546,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0091,
            "key_pass": 0,
            "rating": 6.6106,
            "minutes": 25,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 2.6226,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.3,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.417,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 7.2,
                "assists": 0,
                "expected_goals": 0.0244,
                "expected_assists": 0.0048,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 83,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.2769,
                "expected_assists": 0.0462,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 60,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0104,
                "expected_assists": 0.0086,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5567,
            "combined_rank_score": 3769.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6960.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "projected_match_rating": 6.6106,
            "source_file": "data/player_rankings.csv",
            "player_name": "Bil Nsongo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Guilherme Bissoli",
                  "ranking": 5562
                },
                {
                  "player_name": "Caio Vidal",
                  "ranking": 5563
                },
                {
                  "player_name": "Erick Marcus",
                  "ranking": 5564
                },
                {
                  "player_name": "Kwadwo Duah",
                  "ranking": 5565
                },
                {
                  "player_name": "Mateusz Skrzypczak",
                  "ranking": 5566
                }
              ],
              "lower": [
                {
                  "player_name": "Einar Galilea",
                  "ranking": 5568
                },
                {
                  "player_name": "Ashley Barnes",
                  "ranking": 5569
                },
                {
                  "player_name": "Deian Sorescu",
                  "ranking": 5570
                },
                {
                  "player_name": "Vasilije Adžić",
                  "ranking": 5571
                },
                {
                  "player_name": "Luca De La Torre",
                  "ranking": 5572
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.30206294284004,
            "bench_appearance_prob": 0.5591846792200018,
            "market_value_adjustment": 0.982,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1325,
                "goal_rate": 0.1979,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0328,
                "key_pass": 1,
                "rating": 6.732,
                "minutes": 54,
                "total_pass": 14,
                "accurate_pass": 10,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 9.5,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 11,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 56.4547,
                  "totalShots": 1.04,
                  "onTargetScoringAttempt": 0.1927,
                  "touches": 30.9697,
                  "dribbleValueNormalized": 0.1103
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13254673779010773,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0575
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0236
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0185
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0154
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0128
                        }
                      ],
                      "others": -0.0524,
                      "total": 0.1325
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1978786438703537,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.075
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0485
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0255
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0222
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0203
                        }
                      ],
                      "others": -0.0411,
                      "total": 0.1979
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5450507402420044,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "topSpeed",
                          "contribution": 0.0369
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0359
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.03
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0214
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0171
                        }
                      ],
                      "others": -0.0803,
                      "total": 0.5451
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.093973159790039,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.141
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1343
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0533
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0456
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0438
                        }
                      ],
                      "others": -0.2132,
                      "total": 1.094
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03280279412865639,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": -0.0058
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0044
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0037
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0027
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0328
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5068106651306152,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0968
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0342
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0305
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0246
                        }
                      ],
                      "others": -0.0203,
                      "total": 0.5068
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.731954574584961,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0443
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0349
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0261
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0204
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0197
                        }
                      ],
                      "others": 0.0546,
                      "total": 6.732
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9820, quality 0.440)",
              "stats": {
                "expected_goals": 0.1302,
                "goal_rate": 0.1943,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0322,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 54,
                "total_pass": 14,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 9.3288,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.982
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0366,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 25,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.6226,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.3
              },
              "params": {
                "expected_minutes": 25.3,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0366,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 25,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.6226,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.3
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "expected_goals": 0.1221,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 25,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.6226,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.3,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0366,
                  "after": 0.1221
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 69.0)",
              "stats": {
                "expected_goals": 0.1221,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 25,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.6226,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.3,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5567,
                "fifa_rank": 6960.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 69.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Jonathan Asp Jensen": {
          "player_id": 1146545,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 182,
          "market_value": 3900000,
          "stats": {
            "expected_goals": 0.1061,
            "goal_rate": 0.039,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0061,
            "key_pass": 0,
            "rating": 6.5937,
            "minutes": 25,
            "total_pass": 2,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.561,
            "bench_expected_minutes": 25.34,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.417,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0328,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 62,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.0302,
                "expected_assists": 0.0184,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 12,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 60,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5662,
            "combined_rank_score": 3934.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6954.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "projected_match_rating": 6.5937,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonathan Asp Jensen",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Oleksandr Svatok",
                  "ranking": 5657
                },
                {
                  "player_name": "Dimitar Mitov",
                  "ranking": 5658
                },
                {
                  "player_name": "Víctor Dávila",
                  "ranking": 5659
                },
                {
                  "player_name": "Ulrik Saltnes",
                  "ranking": 5660
                },
                {
                  "player_name": "Kareem Tunde",
                  "ranking": 5661
                }
              ],
              "lower": [
                {
                  "player_name": "Wes Burns",
                  "ranking": 5663
                },
                {
                  "player_name": "Rodrigo Morínigo",
                  "ranking": 5664
                },
                {
                  "player_name": "Nicolás Lodeiro",
                  "ranking": 5665
                },
                {
                  "player_name": "Kalvin Phillips",
                  "ranking": 5666
                },
                {
                  "player_name": "Filip Krastev",
                  "ranking": 5667
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.33644058998921,
            "bench_appearance_prob": 0.5607472995449642,
            "market_value_adjustment": 0.9846,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1147,
                "goal_rate": 0.1407,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 1,
                "expected_assists": 0.0219,
                "key_pass": 0,
                "rating": 6.697,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 41.6132,
                  "totalShots": 1.0,
                  "onTargetScoringAttempt": 0.7191,
                  "touches": 13.3333,
                  "dribbleValueNormalized": 0.082
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11472064256668091,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0616
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0394
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0197
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0157
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0076
                        }
                      ],
                      "others": -0.0564,
                      "total": 0.1147
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14065974950790405,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0542
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0453
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0299
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0188
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0149
                        }
                      ],
                      "others": -0.0417,
                      "total": 0.1407
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5139478445053101,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0416
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0202
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0175
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0127
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0118
                        }
                      ],
                      "others": -0.0642,
                      "total": 0.5139
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8049896359443665,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2444
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1614
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0415
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0298
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0291
                        }
                      ],
                      "others": -0.2198,
                      "total": 0.805
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.021901464089751244,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.009
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0046
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0034
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0112,
                      "total": 0.0219
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3693397641181946,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1722
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0474
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.043
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0359
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0292
                        }
                      ],
                      "others": -0.0807,
                      "total": 0.3693
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.697011470794678,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0544
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0468
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0397
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0335
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0315
                        }
                      ],
                      "others": 0.0805,
                      "total": 6.697
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9846, quality 0.449)",
              "stats": {
                "expected_goals": 0.113,
                "goal_rate": 0.1385,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 1,
                "expected_assists": 0.0216,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 44,
                "total_pass": 8,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486,
                "boost_factor": 0.9846
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0318,
                "goal_rate": 0.039,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0061,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.34
              },
              "params": {
                "expected_minutes": 25.34,
                "appearance_probability": 0.561
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0318,
                "goal_rate": 0.039,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0061,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.34
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "expected_goals": 0.1061,
                "goal_rate": 0.039,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0061,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.34,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0318,
                  "after": 0.1061
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 69.0)",
              "stats": {
                "expected_goals": 0.1061,
                "goal_rate": 0.039,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0061,
                "key_pass": 0,
                "rating": 6.5937,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.34,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5662,
                "fifa_rank": 6954.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Bil Nsongo": {
          "player_id": 2335487,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 32,
          "height": 182,
          "market_value": 3200000,
          "stats": {
            "expected_goals": 0.1221,
            "goal_rate": 0.0546,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0091,
            "key_pass": 0,
            "rating": 6.6106,
            "minutes": 25,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 2.6226,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.3,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.417,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416326.0,
              "match_date": "2026-09-13 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Getafe",
              "away_team": "Deportivo",
              "home_score_current": 1.0,
              "away_score_current": 1.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Deportivo",
              "opponent": "Getafe",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416324.0,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 7.2,
                "assists": 0,
                "expected_goals": 0.0244,
                "expected_assists": 0.0048,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291.0,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 83,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.2769,
                "expected_assists": 0.0462,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307.0,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050.0,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 60,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0104,
                "expected_assists": 0.0086,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5567,
            "combined_rank_score": 3769.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6960.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "projected_match_rating": 6.6106,
            "source_file": "data/player_rankings.csv",
            "player_name": "Bil Nsongo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Guilherme Bissoli",
                  "ranking": 5562
                },
                {
                  "player_name": "Caio Vidal",
                  "ranking": 5563
                },
                {
                  "player_name": "Erick Marcus",
                  "ranking": 5564
                },
                {
                  "player_name": "Kwadwo Duah",
                  "ranking": 5565
                },
                {
                  "player_name": "Mateusz Skrzypczak",
                  "ranking": 5566
                }
              ],
              "lower": [
                {
                  "player_name": "Einar Galilea",
                  "ranking": 5568
                },
                {
                  "player_name": "Ashley Barnes",
                  "ranking": 5569
                },
                {
                  "player_name": "Deian Sorescu",
                  "ranking": 5570
                },
                {
                  "player_name": "Vasilije Adžić",
                  "ranking": 5571
                },
                {
                  "player_name": "Luca De La Torre",
                  "ranking": 5572
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.30206294284004,
            "bench_appearance_prob": 0.5591846792200018,
            "market_value_adjustment": 0.982,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1325,
                "goal_rate": 0.1979,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0328,
                "key_pass": 1,
                "rating": 6.732,
                "minutes": 54,
                "total_pass": 14,
                "accurate_pass": 10,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 30,
                "possession_lost": 9.5,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 11,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 56.4547,
                  "totalShots": 1.04,
                  "onTargetScoringAttempt": 0.1927,
                  "touches": 30.9697,
                  "dribbleValueNormalized": 0.1103
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13254673779010773,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0575
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0236
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0185
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0154
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0128
                        }
                      ],
                      "others": -0.0524,
                      "total": 0.1325
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1978786438703537,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.075
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0485
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0255
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0222
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0203
                        }
                      ],
                      "others": -0.0411,
                      "total": 0.1979
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5450507402420044,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "topSpeed",
                          "contribution": 0.0369
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0359
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.03
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0214
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0171
                        }
                      ],
                      "others": -0.0803,
                      "total": 0.5451
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.093973159790039,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.141
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1343
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0533
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0456
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0438
                        }
                      ],
                      "others": -0.2132,
                      "total": 1.094
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03280279412865639,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": -0.0058
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0044
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0037
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0027
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0328
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5068106651306152,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0968
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0342
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0305
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0246
                        }
                      ],
                      "others": -0.0203,
                      "total": 0.5068
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.731954574584961,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0443
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0349
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0261
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0204
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0197
                        }
                      ],
                      "others": 0.0546,
                      "total": 6.732
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9820, quality 0.440)",
              "stats": {
                "expected_goals": 0.1302,
                "goal_rate": 0.1943,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0322,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 54,
                "total_pass": 14,
                "accurate_pass": 10,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 29,
                "possession_lost": 9.3288,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 7,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.982
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0366,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 25,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.6226,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.3
              },
              "params": {
                "expected_minutes": 25.3,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0366,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 25,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.6226,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.3
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.62 (squad xG sum 0.4845, xG scale 3.3354)",
              "stats": {
                "expected_goals": 0.1221,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 25,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.6226,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.3,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.616,
                "squad_xg_sum": 0.4845,
                "xg_scale": 3.3354,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0366,
                  "after": 0.1221
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 69.0)",
              "stats": {
                "expected_goals": 0.1221,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0091,
                "key_pass": 0,
                "rating": 6.6106,
                "minutes": 25,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 2.6226,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 3,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.3,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.417,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5567,
                "fifa_rank": 6960.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 69.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.62,
        "expected_assists": 0.61,
        "total_shots": 11,
        "shots_on_target": 3,
        "total_passes": 286,
        "interceptions": 4,
        "tackles": 10,
        "avg_rating": 6.79,
        "possession_estimated_pct": 48.6,
        "pressing_actions_per_90": 6.6
      }
    },
    "Real Betis": {
      "formation": "3-5-2",
      "players": {
        "Álvaro Valles": {
          "player_id": 964983,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 192,
          "market_value": 6500000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.3266,
            "rating": 7.3492,
            "minutes": 89,
            "total_pass": 25,
            "accurate_pass": 17,
            "duels_won": 0,
            "total_long_balls": 12,
            "accurate_long_balls": 4,
            "touches": 38,
            "clearances": 0,
            "ball_recovery": 9,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 3,
            "possession_lost": 7.7048,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 1.67,
            "shotsOnTargetAgainst": 5.0,
            "cleanSheets": 0.6667,
            "interceptions": 0,
            "tackles_won": 0,
            "crosses_total": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "penaltySave": 0.0,
            "ownGoals": 0.0,
            "savePct": 66.7,
            "cleanSheetPct": 66.7,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "expected_saves": 0.79,
            "high_pressure_saves": 0.3,
            "shots_faced": 1.7,
            "opponent_faced": "Adama Traoré, Angeliño",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 10.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 11,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 9,
                "saves": 6,
                "goals_prevented": 2.9806
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 19,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": -0.583
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": 1.1262
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 21,
                "clearances": 3,
                "ball_recovery": 14,
                "saves": 3,
                "goals_prevented": 0.5213
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2143,
            "combined_rank_score": 808.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 50.0,
            "sofascore_rating": 7.7333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1567.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "projected_match_rating": 7.3492,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Valles",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vlatko Stojanovski",
                  "ranking": 2138
                },
                {
                  "player_name": "Islom Tukhtakhuzhaev",
                  "ranking": 2139
                },
                {
                  "player_name": "Juan Figueroa",
                  "ranking": 2140
                },
                {
                  "player_name": "Kaito Taniguchi",
                  "ranking": 2141
                },
                {
                  "player_name": "Seok-jun Hong",
                  "ranking": 2142
                }
              ],
              "lower": [
                {
                  "player_name": "Lazar Samardžić",
                  "ranking": 2144
                },
                {
                  "player_name": "Giovanny Avalos",
                  "ranking": 2145
                },
                {
                  "player_name": "Nahuel Tenaglia",
                  "ranking": 2146
                },
                {
                  "player_name": "Breel Embolo",
                  "ranking": 2147
                },
                {
                  "player_name": "Sergi Cardona",
                  "ranking": 2148
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.53,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "kilometersCovered",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "gk_coverage",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.53,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9942,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (G_service) evaluated 4 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3285,
                "rating": 7.3923,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.75,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 14
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:40.064367+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 113,
                    "rows": 393
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.8049,
                  "touches": 37.6558,
                  "totalOwnHalfPasses": 14.955,
                  "punches": 0.5405,
                  "distribution_accuracy": 0.9017,
                  "accurateKeeperSweeper": 1.6122
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.499781608581543,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0587
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0534
                      },
                      {
                        "name": "touches",
                        "importance": 0.0497
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.049
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": 2.9806,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.3195
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0645
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0618
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0474
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0423
                        }
                      ],
                      "others": 0.2921,
                      "total": 3.4998
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.32851865887641907,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.053
                      },
                      {
                        "name": "punches",
                        "importance": 0.051
                      },
                      {
                        "name": "touches",
                        "importance": 0.0482
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0468
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0432
                      }
                    ],
                    "decomposition": {
                      "base": -0.0536,
                      "items": [
                        {
                          "name": "commanding_index",
                          "contribution": 0.1775
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.1155
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0551
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": -0.0289
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0207
                        }
                      ],
                      "others": 0.0836,
                      "total": 0.3285
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.39232063293457,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0593
                      },
                      {
                        "name": "touches",
                        "importance": 0.0495
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0484
                      },
                      {
                        "name": "savedShotsFromInsideTheBox",
                        "importance": 0.0468
                      },
                      {
                        "name": "punches",
                        "importance": 0.0464
                      }
                    ],
                    "decomposition": {
                      "base": 7.0716,
                      "items": [
                        {
                          "name": "commanding_index",
                          "contribution": 0.1204
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0845
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0733
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": 0.0311
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0289
                        }
                      ],
                      "others": -0.0175,
                      "total": 7.3923
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9942, quality 0.481)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9942
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.33
              },
              "params": {
                "blend_weight": 0.0722,
                "history_matches": 4,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 3.4794,
                  "after": 3.4689
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.79,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Adama Traoré, Angeliño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Adama Traoré, Angeliño",
                  "matchup_zone": "Goalkeeper shot-stopping context"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.79,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Adama Traoré, Angeliño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 77.0)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.79,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Adama Traoré, Angeliño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2143,
                "fifa_rank": 1567.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.79,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Adama Traoré, Angeliño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 10.774,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.3266,
                "rating": 7.3492,
                "minutes": 89,
                "total_pass": 25,
                "accurate_pass": 17,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "touches": 38,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 2,
                "sweeper_accurate": 2,
                "saves_inside_box": 3,
                "possession_lost": 7.7048,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.6667,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 66.7,
                "cleanSheetPct": 66.7,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "expected_saves": 0.79,
                "high_pressure_saves": 0.3,
                "shots_faced": 1.7,
                "opponent_faced": "Adama Traoré, Angeliño",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 11.1347,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            }
          ]
        },
        "Natan": {
          "player_id": 1015287,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 188,
          "market_value": 26000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 7.1418,
            "minutes": 95,
            "total_pass": 55,
            "accurate_pass": 51,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "total_own_half_passes": 32,
            "accurate_own_half_passes": 31,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 4.5714,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0106,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 42,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.5,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 66.7,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.2,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Yeremay Hernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 30,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0118,
                "expected_assists": 0.0122,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 66,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 11,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 48,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 7,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1452,
            "combined_rank_score": 599.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 229.0,
            "sofascore_rating": 7.15,
            "sofascore_appearances": 2.0,
            "fifa_rank": 969.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 7.1418,
            "source_file": "data/player_rankings.csv",
            "player_name": "Natan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kuvonch Abraev",
                  "ranking": 1447
                },
                {
                  "player_name": "César Dutra",
                  "ranking": 1448
                },
                {
                  "player_name": "Samed Baždar",
                  "ranking": 1449
                },
                {
                  "player_name": "Curtis Jones",
                  "ranking": 1450
                },
                {
                  "player_name": "Álvaro García",
                  "ranking": 1451
                }
              ],
              "lower": [
                {
                  "player_name": "Ayoze Pérez",
                  "ranking": 1453
                },
                {
                  "player_name": "Mike Penders",
                  "ranking": 1454
                },
                {
                  "player_name": "Jarrad Branthwaite",
                  "ranking": 1455
                },
                {
                  "player_name": "Leonardo Valencia",
                  "ranking": 1456
                },
                {
                  "player_name": "Gulyamkhaydar Gulyamov",
                  "ranking": 1457
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.457,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.457,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0558,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.5,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "total_shots": 0,
                "rating": 6.7647,
                "minutes": 90,
                "total_pass": 52,
                "accurate_pass": 48,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 31,
                "accurate_own_half_passes": 30,
                "total_opp_half_passes": 21,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 4.33,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 40,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 63.1535,
                  "accuratePass": 46.9504,
                  "possessionLostCtrl": 4.1059,
                  "totalClearance": 7.9329,
                  "totalClearance_p90": 7.9329
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.956912100315094,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0479
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0261
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0238
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0195
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.006,
                      "total": 0.9569
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2389463186264038,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0739
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0578
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0503
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0287
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0268
                        }
                      ],
                      "others": 0.0675,
                      "total": 1.2389
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7509892582893372,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0792
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0517
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0467
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0408
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0328
                        }
                      ],
                      "others": 0.0313,
                      "total": 0.751
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.492661952972412,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4079
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4061
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3086
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2799
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.2232
                        }
                      ],
                      "others": 0.4638,
                      "total": 5.4927
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.6252468824386597,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.0831
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0771
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0759
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0697
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0487
                        }
                      ],
                      "others": 0.0286,
                      "total": 1.6252
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4254685640335083,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0338
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0302
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0239
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0229
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0223
                        }
                      ],
                      "others": -0.011,
                      "total": 0.4255
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.764686107635498,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.042
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0363
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.029
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0257
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.021
                        }
                      ],
                      "others": 0.074,
                      "total": 6.7647
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0558, quality 0.686)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "total_shots": 0,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 26000000,
                "quality_factor": 0.6858,
                "boost_factor": 1.0558
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0542)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "total_shots": 0,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": -1.0
              },
              "params": {
                "blend_weight": 0.0542,
                "history_matches": 3,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7929,
                  "after": 0.8583
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0103,
                  "after": 0.9556
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "total_shots": 0,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "total_shots": 0,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Yeremay Hernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "total_shots": 0,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "total_shots": 0,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1452,
                "fifa_rank": 969.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "total_shots": 0,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.4687,
                "squad_weight_total": 10.774,
                "weight_share": 0.0435,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 2,
                "total_shots": 0,
                "rating": 7.1418,
                "minutes": 95,
                "total_pass": 55,
                "accurate_pass": 51,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 1,
                "total_own_half_passes": 32,
                "accurate_own_half_passes": 31,
                "total_opp_half_passes": 23,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 4.5714,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0106,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 42,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 66.7,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.2,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0966,
                "squad_weight_total": 11.1347,
                "weight_share": 0.0087,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Valentín Gómez": {
          "player_id": 1186010,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 16,
          "height": 181,
          "market_value": 11200000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7389,
            "minutes": 91,
            "total_pass": 63,
            "accurate_pass": 59,
            "duels_won": 6,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 42,
            "accurate_own_half_passes": 42,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 82,
            "possession_lost": 6.0656,
            "dispossessed": 1.0109,
            "duels_lost": 5,
            "aerial_lost": 2,
            "total_contest": 2,
            "won_contest": 2,
            "ball_recovery": 3,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0101,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 35,
            "progressive_carries": 0,
            "key_pass": 1,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 33.3,
            "pointsPerMatch": 3.0,
            "netGoalDifferencePer90": 1.0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.1,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Yeremay Hernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.0083,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 58,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 9,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3105,
            "combined_rank_score": 1070.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1984.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 6.7389,
            "source_file": "data/player_rankings.csv",
            "player_name": "Valentín Gómez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alexander Prass",
                  "ranking": 3100
                },
                {
                  "player_name": "Darwin Núñez",
                  "ranking": 3101
                },
                {
                  "player_name": "Fran Beltrán",
                  "ranking": 3102
                },
                {
                  "player_name": "Archie Gray",
                  "ranking": 3103
                },
                {
                  "player_name": "Rico Lewis",
                  "ranking": 3104
                }
              ],
              "lower": [
                {
                  "player_name": "Leandro Barreiro",
                  "ranking": 3106
                },
                {
                  "player_name": "Mattias Svanberg",
                  "ranking": 3107
                },
                {
                  "player_name": "Zakaria El Ouahdi",
                  "ranking": 3108
                },
                {
                  "player_name": "Haris Tabaković",
                  "ranking": 3109
                },
                {
                  "player_name": "Guus Til",
                  "ranking": 3110
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.323,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.323,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0109,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "minutes": 90.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "XGBoost regressor (D_service) evaluated 1 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.07, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.666,
                "minutes": 90,
                "total_pass": 62,
                "accurate_pass": 58,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 6.0,
                "dispossessed": 1.0,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 81.0,
                  "accuratePass": 58.0,
                  "possessionLostCtrl": 6.0,
                  "totalClearance": 9.0,
                  "totalClearance_p90": 9.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0991535186767578,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0571
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0539
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0519
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0453
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0253
                        }
                      ],
                      "others": -0.0451,
                      "total": 1.0992
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3325060606002808,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0926
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0608
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0478
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0472
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0366
                        }
                      ],
                      "others": -0.0174,
                      "total": 1.3325
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7691228985786438,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0694
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0641
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.045
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0355
                        }
                      ],
                      "others": -0.0561,
                      "total": 0.7691
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.974861145019531,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4107
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3319
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2691
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2036
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2117
                        }
                      ],
                      "others": 0.1447,
                      "total": 4.9749
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.3936847448349,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.1091
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0774
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0687
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0651
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0529
                        }
                      ],
                      "others": 0.039,
                      "total": 1.3937
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5412428975105286,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0375
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0328
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0245
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0222
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0171
                        }
                      ],
                      "others": 0.0341,
                      "total": 0.5412
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.666048049926758,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.033
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0267
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0253
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0236
                        }
                      ],
                      "others": 0.0483,
                      "total": 6.666
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0109, quality 0.536)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 11200000,
                "quality_factor": 0.5365,
                "boost_factor": 1.0109
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0361)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0
              },
              "params": {
                "blend_weight": 0.0361,
                "history_matches": 1,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7775,
                  "after": 0.8578
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1112,
                  "after": 1.1433
                },
                {
                  "stat": "totalShots",
                  "before": 0.5472,
                  "after": 0.5274
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Yeremay Hernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 76.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3105,
                "fifa_rank": 1984.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.2137,
                "squad_weight_total": 10.774,
                "weight_share": 0.0198,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.7389,
                "minutes": 91,
                "total_pass": 63,
                "accurate_pass": 59,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 1,
                "total_own_half_passes": 42,
                "accurate_own_half_passes": 42,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 6.0656,
                "dispossessed": 1.0109,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 3,
                "challenges_lost": 2,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0101,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 35,
                "progressive_carries": 0,
                "key_pass": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 33.3,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 1.0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.3123,
                "squad_weight_total": 11.1347,
                "weight_share": 0.028,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Fran García": {
          "player_id": 851271,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 11,
          "height": 170,
          "market_value": 9200000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7203,
            "minutes": 76,
            "total_pass": 37,
            "accurate_pass": 33,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 17,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 10.541,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 6,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0803,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 74,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.4167,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 78.5,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "opponent_faced": "Yeremay Hernández",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_assists": 0.0178,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 31,
                "tackles": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assists": 0,
                "expected_assists": 0.2033,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 50,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 31,
                "rating": 7.1,
                "assists": 1,
                "expected_assists": 0.0314,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.058,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 11
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3196,
            "combined_rank_score": 1155.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1565.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "projected_match_rating": 6.7203,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fran García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Samson Baidoo",
                  "ranking": 3191
                },
                {
                  "player_name": "Guéla Doué",
                  "ranking": 3192
                },
                {
                  "player_name": "Amar Dedić",
                  "ranking": 3193
                },
                {
                  "player_name": "Taylor Harwood-Bellis",
                  "ranking": 3194
                },
                {
                  "player_name": "Saïd El Mala",
                  "ranking": 3195
                }
              ],
              "lower": [
                {
                  "player_name": "Rômulo",
                  "ranking": 3197
                },
                {
                  "player_name": "David Zima",
                  "ranking": 3198
                },
                {
                  "player_name": "Juan Iglesias",
                  "ranking": 3199
                },
                {
                  "player_name": "Thierno Barry",
                  "ranking": 3200
                },
                {
                  "player_name": "Tiago Palacios",
                  "ranking": 3201
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.524,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.524,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0039,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 212.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4166666666666667,
              "shots_per90": 0.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.16, gls/90: 0.0, ast/90: 0.4166666666666667)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.6941,
                "minutes": 75,
                "total_pass": 37,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.5,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.08,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "touches_p90": 63.9499,
                  "accuratePass": 32.8825,
                  "possessionLostCtrl": 10.2622,
                  "totalClearance": 0.8473,
                  "totalClearance_p90": 0.8473
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8291765451431274,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0252
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0242
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0234
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0155
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0143
                        }
                      ],
                      "others": -0.0294,
                      "total": 0.8292
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3076037168502808,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": -0.0552
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0524
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0312
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0268
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0195
                        }
                      ],
                      "others": 0.0838,
                      "total": 1.3076
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9866820573806763,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0556
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0422
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0389
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0325
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0335
                        }
                      ],
                      "others": 0.1121,
                      "total": 0.9867
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.3625831604003906,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.388
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.2519
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2491
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2276
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.1815
                        }
                      ],
                      "others": -0.6037,
                      "total": 2.3626
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9920127987861633,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.0899
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0564
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0504
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0423
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0278
                        }
                      ],
                      "others": -0.0679,
                      "total": 0.992
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.29486799240112305,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0329
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0251
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0244
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.022
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0191
                        }
                      ],
                      "others": -0.1036,
                      "total": 0.2949
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.694127559661865,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0358
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0259
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0257
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0244
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0197
                        }
                      ],
                      "others": 0.0109,
                      "total": 6.6941
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0039, quality 0.513)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0803,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 9200000,
                "quality_factor": 0.513,
                "boost_factor": 1.0039
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0578)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0803,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.42
              },
              "params": {
                "blend_weight": 0.0578,
                "history_matches": 4,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 3.2627,
                  "after": 3.339
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8324,
                  "after": 0.8565
                },
                {
                  "stat": "totalShots",
                  "before": 0.2961,
                  "after": 0.279
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9905,
                  "after": 1.0055
                },
                {
                  "stat": "goalAssist",
                  "before": 0.251,
                  "after": 0.2606
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0803,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0803,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Yeremay Hernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Yeremay Hernández",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0803,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Yeremay Hernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 77.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0803,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Yeremay Hernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3196,
                "fifa_rank": 1565.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0803,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Yeremay Hernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.1551,
                "squad_weight_total": 10.774,
                "weight_share": 0.0144,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7203,
                "minutes": 76,
                "total_pass": 37,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 10.541,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 6,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0803,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 74,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.4167,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 78.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "opponent_faced": "Yeremay Hernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.1937,
                "squad_weight_total": 11.1347,
                "weight_share": 0.0174,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Abdessamad Ezzalzouli": {
          "player_id": 1011375,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 177,
          "market_value": 43000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1152,
            "assists": 0,
            "expected_goals": 0.1033,
            "shots_on_target": 0,
            "total_shots": 2,
            "rating": 7.4588,
            "minutes": 17,
            "total_pass": 14,
            "accurate_pass": 14,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 11,
            "crosses_total": 5,
            "crosses_accurate": 0,
            "touches": 24,
            "possession_lost": 6.5322,
            "dispossessed": 1.0887,
            "duels_lost": 1,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 35,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.603,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Lorenzo Amatucci",
            "opponent_faced": "Lorenzo Amatucci",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0064,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 13,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 207,
            "combined_rank_score": 125.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 158.0,
            "sofascore_rating": 7.2931,
            "sofascore_appearances": 29.0,
            "fifa_rank": 93.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 7.4588,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abdessamad Ezzalzouli",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Guillermo Maripán",
                  "ranking": 202
                },
                {
                  "player_name": "Emil Tîmbur",
                  "ranking": 203
                },
                {
                  "player_name": "Matvii Ponomarenko",
                  "ranking": 204
                },
                {
                  "player_name": "Kim In-sung",
                  "ranking": 205
                },
                {
                  "player_name": "Marco Carnesecchi",
                  "ranking": 206
                }
              ],
              "lower": [
                {
                  "player_name": "Dávid Hancko",
                  "ranking": 208
                },
                {
                  "player_name": "Dae-han Park",
                  "ranking": 209
                },
                {
                  "player_name": "Vladimir Jovović",
                  "ranking": 210
                },
                {
                  "player_name": "Kenan Yıldız",
                  "ranking": 211
                },
                {
                  "player_name": "Ruslanbek Jiyanov",
                  "ranking": 212
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0887,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 1 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1058,
                "assists": 0,
                "expected_goals": 0.0641,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8511,
                "minutes": 16,
                "total_pass": 13,
                "accurate_pass": 13,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 10,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 6.0,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 32,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.0,
                  "ballRecovery_p90": 0.0,
                  "progressiveBallCarriesCount": 1.0,
                  "expectedAssists": 0.0064,
                  "ballRecovery": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9241610169410706,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0843
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0677
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0424
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0226
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0194
                        }
                      ],
                      "others": 0.0173,
                      "total": 0.9242
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10581552982330322,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.014
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0136
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0129
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0117
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0065
                        }
                      ],
                      "others": -0.007,
                      "total": 0.1058
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08076383173465729,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0067
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0057
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.004
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0033
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0023
                        }
                      ],
                      "others": 0.0006,
                      "total": 0.0808
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06412696838378906,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.018
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0122
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.012
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0106
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0087
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.0641
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22530502080917358,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0744
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0168
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0143
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0068
                        }
                      ],
                      "others": 0.0018,
                      "total": 0.2253
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0628975629806519,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.1146
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1146
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0957
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.069
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0476
                        }
                      ],
                      "others": -0.2456,
                      "total": 1.0629
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.851072311401367,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0244
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0235
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0221
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0178
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0162
                        }
                      ],
                      "others": 0.0435,
                      "total": 6.8511
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0887, quality 0.796)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.0698,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 43000000,
                "quality_factor": 0.7957,
                "boost_factor": 1.0887
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.0698,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.0698,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.603,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lorenzo Amatucci",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.603,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 1.1572,
                  "after": 2.0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.1033,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.603,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0698,
                  "after": 0.1033
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 86.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.1033,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.603,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 207,
                "fifa_rank": 93.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.1033,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.603,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.6129,
                "squad_weight_total": 10.774,
                "weight_share": 0.0569,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1152,
                "assists": 0,
                "expected_goals": 0.1033,
                "shots_on_target": 0,
                "total_shots": 2,
                "rating": 7.4588,
                "minutes": 17,
                "total_pass": 14,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 6.5322,
                "dispossessed": 1.0887,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 35,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.603,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 1.5877,
                "squad_weight_total": 11.1347,
                "weight_share": 0.1426,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Antony": {
          "player_id": 958380,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 172,
          "market_value": 37000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.1495,
            "assists": 0,
            "expected_goals": 0.2111,
            "shots_on_target": 1,
            "total_shots": 3,
            "rating": 7.5047,
            "minutes": 94,
            "total_pass": 48,
            "accurate_pass": 42,
            "duels_won": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 35,
            "accurate_opp_half_passes": 30,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 69,
            "possession_lost": 12.9509,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 4,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3993,
            "ball_carries": 26,
            "total_progression": 155,
            "progressive_carries": 6,
            "shots_off_target": 2,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.5,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.568,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Lorenzo Amatucci",
            "opponent_faced": "Lorenzo Amatucci",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 77,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0656,
                "expected_assists": 0.1047,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 32,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.3736,
                "expected_assists": 0.1311,
                "total_shots": 6,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 48,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 2,
                "aerial_won": 1,
                "duels_won": 10,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.0805,
                "expected_assists": 0.1214,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assists": 0,
                "expected_goals": 0.3575,
                "expected_assists": 0.4688,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 40,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 764,
            "combined_rank_score": 368.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 3.0,
            "fifa_rank": 579.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "projected_match_rating": 7.5047,
            "source_file": "data/player_rankings.csv",
            "player_name": "Antony",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jay O'Shea",
                  "ranking": 759
                },
                {
                  "player_name": "Chan-hee Han",
                  "ranking": 760
                },
                {
                  "player_name": "Abdullokh Yuldashev",
                  "ranking": 761
                },
                {
                  "player_name": "Min-woo Kim",
                  "ranking": 762
                },
                {
                  "player_name": "Joey Veerman",
                  "ranking": 763
                }
              ],
              "lower": [
                {
                  "player_name": "Marko Bugarin",
                  "ranking": 765
                },
                {
                  "player_name": "Maximiliano Araújo",
                  "ranking": 766
                },
                {
                  "player_name": "Han Tae-Hee",
                  "ranking": 767
                },
                {
                  "player_name": "Stanislav Lobotka",
                  "ranking": 768
                },
                {
                  "player_name": "Pierre-Emile Højbjerg",
                  "ranking": 769
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.53,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.53,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0792,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 5.0,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1385,
                "assists": 0,
                "expected_goals": 0.1322,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 6.9537,
                "minutes": 87,
                "total_pass": 44,
                "accurate_pass": 39,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 33,
                "accurate_opp_half_passes": 28,
                "crosses_total": 2,
                "crosses_accurate": 0,
                "touches": 64,
                "possession_lost": 12.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.37,
                "ball_carries": 24,
                "total_progression": 144,
                "progressive_carries": 6,
                "shots_off_target": 2
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 8.3
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 4.7262,
                  "ballRecovery_p90": 3.9526,
                  "progressiveBallCarriesCount": 5.6909,
                  "expectedAssists": 0.1857,
                  "ballRecovery": 3.6347
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.68365478515625,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1175
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0769
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0684
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0658
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0588
                        }
                      ],
                      "others": 0.3272,
                      "total": 1.6837
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.13852356374263763,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0062
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0063
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0066
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0066
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0066
                        }
                      ],
                      "others": 0.0133,
                      "total": 0.1385
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12533411383628845,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0173
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0183
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0064
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0058
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0009,
                      "total": 0.1253
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13221168518066406,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0165
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0138
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0065
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0062
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0056
                        }
                      ],
                      "others": 0.0149,
                      "total": 0.1322
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6655554175376892,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0565
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0579
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0313
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0332
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0242
                        }
                      ],
                      "others": 0.1301,
                      "total": 0.6656
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.2401821613311768,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3327
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.2447
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1858
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0763
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0733
                        }
                      ],
                      "others": 0.269,
                      "total": 2.2402
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.953722953796387,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "totalProgression",
                          "contribution": -0.0286
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0243
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0237
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0227
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.022
                        }
                      ],
                      "others": 0.0578,
                      "total": 6.9537
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0792, quality 0.764)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.1427,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "shots_off_target": 2
              },
              "params": {
                "market_value_eur": 37000000,
                "quality_factor": 0.7641,
                "boost_factor": 1.0792
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.1427,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "shots_off_target": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.33
              },
              "params": {
                "blend_weight": 0.0722,
                "history_matches": 4,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4177,
                  "after": 2.6042
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.1444
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7183,
                  "after": 0.787
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "totalCross",
                  "before": 2.6981,
                  "after": 2.7199
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1353,
                  "after": 0.1255
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.1427,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "shots_off_target": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.1427,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "shots_off_target": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.568,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lorenzo Amatucci",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.568,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 2.6042,
                  "after": 2.4864
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.2111,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "shots_off_target": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.568,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1427,
                  "after": 0.2111
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 81.0)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.2111,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "shots_off_target": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.568,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 764,
                "fifa_rank": 579.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.2111,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "shots_off_target": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.568,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 1.6683,
                "squad_weight_total": 10.774,
                "weight_share": 0.1548,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1495,
                "assists": 0,
                "expected_goals": 0.2111,
                "shots_on_target": 1,
                "total_shots": 3,
                "rating": 7.5047,
                "minutes": 94,
                "total_pass": 48,
                "accurate_pass": 42,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 35,
                "accurate_opp_half_passes": 30,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 12.9509,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 4,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.3993,
                "ball_carries": 26,
                "total_progression": 155,
                "progressive_carries": 6,
                "shots_off_target": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.568,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 2.5341,
                "squad_weight_total": 11.1347,
                "weight_share": 0.2276,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Nelson Deossa": {
          "player_id": 1129401,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 185,
          "market_value": 9800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0457,
            "assists": 0,
            "expected_goals": 0.0741,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9006,
            "minutes": 36,
            "total_pass": 23,
            "accurate_pass": 20,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 32,
            "possession_lost": 5.2817,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 9,
            "total_progression": 18,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 16.7,
            "shotConversion": 0.0,
            "minutesPct": 46.3,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 2.4,
            "duel_win_rate": 0.509,
            "pressing_faced": "LOW",
            "matchup_zone": "LWB vs RWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "David Mella",
            "opponent_faced": "David Mella",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 22,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.0523,
                "expected_assists": 0.0047,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 10,
                "accurate_pass": 7,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0104,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0965,
                "expected_assists": 0.026,
                "total_shots": 4,
                "shots_off_target": 3,
                "total_pass": 59,
                "accurate_pass": 54,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 5,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 10,
                "rating": 7.0,
                "assists": 0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0626,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3441,
            "combined_rank_score": 1430.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2416.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "projected_match_rating": 6.9006,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nelson Deossa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lorenzo Melgarejo",
                  "ranking": 3436
                },
                {
                  "player_name": "Tomáš Chorý",
                  "ranking": 3437
                },
                {
                  "player_name": "Ferran Jutglà",
                  "ranking": 3438
                },
                {
                  "player_name": "César Tárrega",
                  "ranking": 3439
                },
                {
                  "player_name": "Lucas Stassin",
                  "ranking": 3440
                }
              ],
              "lower": [
                {
                  "player_name": "Filip Jörgensen",
                  "ranking": 3442
                },
                {
                  "player_name": "Luis Muriel",
                  "ranking": 3443
                },
                {
                  "player_name": "Ethan Nwaneri",
                  "ranking": 3444
                },
                {
                  "player_name": "Lucas Martínez Quarta",
                  "ranking": 3445
                },
                {
                  "player_name": "Ben Davies",
                  "ranking": 3446
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.514,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.514,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.006,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 125.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 4.32,
              "shots_on_target_pct": 16.7,
              "prior_reliability": 0.0933
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.09, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0454,
                "assists": 0,
                "expected_goals": 0.0498,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8593,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.25,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 17,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.994,
                  "ballRecovery_p90": 7.6103,
                  "progressiveBallCarriesCount": 0.4535,
                  "expectedAssists": 0.0222,
                  "ballRecovery": 2.7798
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.78661048412323,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0768
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0633
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0612
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0439
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0253
                        }
                      ],
                      "others": -0.1264,
                      "total": 0.7866
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04540756717324257,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.022
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0065
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0036
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0454
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08289753645658493,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0068
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0058
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0046
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0035
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.003
                        }
                      ],
                      "others": -0.002,
                      "total": 0.0829
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.049774426966905594,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0186
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0129
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0099
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0078
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0077
                        }
                      ],
                      "others": -0.0176,
                      "total": 0.0498
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.29670149087905884,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0597
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.056
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0142
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.011
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0105
                        }
                      ],
                      "others": -0.0173,
                      "total": 0.2967
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9746434688568115,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1689
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0771
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0607
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0581
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0527
                        }
                      ],
                      "others": -0.2745,
                      "total": 0.9746
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.859265327453613,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0252
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0209
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0196
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0192
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0158
                        }
                      ],
                      "others": 0.019,
                      "total": 6.8593
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0060, quality 0.520)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0501,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 9800000,
                "quality_factor": 0.5201,
                "boost_factor": 1.006
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0337)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0501,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.72
              },
              "params": {
                "blend_weight": 0.0337,
                "history_matches": 4,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.9805,
                  "after": 1.093
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2985,
                  "after": 0.3127
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0501,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0501,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.509,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Mella",
                "opponent_faced": "David Mella",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "David Mella",
                  "matchup_zone": "LWB vs RWB",
                  "duel_win_rate": 0.509,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 1.093,
                  "after": 1.1
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0741,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.509,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Mella",
                "opponent_faced": "David Mella",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0501,
                  "after": 0.0741
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 75.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0741,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.509,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Mella",
                "opponent_faced": "David Mella",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3441,
                "fifa_rank": 2416.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0741,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.509,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Mella",
                "opponent_faced": "David Mella",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.4097,
                "squad_weight_total": 10.774,
                "weight_share": 0.038,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0457,
                "assists": 0,
                "expected_goals": 0.0741,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9006,
                "minutes": 36,
                "total_pass": 23,
                "accurate_pass": 20,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "possession_lost": 5.2817,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 18,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 16.7,
                "shotConversion": 0.0,
                "minutesPct": 46.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.4,
                "duel_win_rate": 0.509,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "David Mella",
                "opponent_faced": "David Mella",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 1.1416,
                "squad_weight_total": 11.1347,
                "weight_share": 0.1025,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Pablo Fornals": {
          "player_id": 816763,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 178,
          "market_value": 8400000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.122,
            "assists": 0,
            "expected_goals": 0.1124,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9848,
            "minutes": 73,
            "total_pass": 56,
            "accurate_pass": 47,
            "duels_won": 4,
            "total_long_balls": 6,
            "accurate_long_balls": 0,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 38,
            "accurate_opp_half_passes": 32,
            "crosses_total": 4,
            "crosses_accurate": 0,
            "touches": 72,
            "possession_lost": 15.2659,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 25,
            "total_progression": 65,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 74.8,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 2.3,
            "duel_win_rate": 0.501,
            "pressing_faced": "LOW",
            "matchup_zone": "RWB vs LWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Mario Soriano",
            "opponent_faced": "Mario Soriano",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0843,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 48,
                "key_pass": 3,
                "tackles": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 33,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0269,
                "expected_assists": 0.0194,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 35,
                "accurate_pass": 28,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 79,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.118,
                "expected_assists": 0.0698,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 76,
                "accurate_pass": 65,
                "key_pass": 3,
                "ball_recovery": 11
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.1081,
                "expected_assists": 0.2178,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 56,
                "accurate_pass": 48,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 4,
                "duels_won": 1,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 379,
            "combined_rank_score": 196.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 243.0,
            "sofascore_rating": 7.1243,
            "sofascore_appearances": 37.0,
            "fifa_rank": 149.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 6.9848,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Fornals",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dilshod Komilov",
                  "ranking": 374
                },
                {
                  "player_name": "Agustín Rossi",
                  "ranking": 375
                },
                {
                  "player_name": "Bo-sang Yun",
                  "ranking": 376
                },
                {
                  "player_name": "David Alaba",
                  "ranking": 377
                },
                {
                  "player_name": "Felix Nmecha",
                  "ranking": 378
                }
              ],
              "lower": [
                {
                  "player_name": "Bashar Resan",
                  "ranking": 380
                },
                {
                  "player_name": "Casemiro",
                  "ranking": 381
                },
                {
                  "player_name": "Waldemar Anton",
                  "ranking": 382
                },
                {
                  "player_name": "Alfie McCalmont",
                  "ranking": 383
                },
                {
                  "player_name": "Jurriën Timber",
                  "ranking": 384
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.522,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.522,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.001,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 202.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.15, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1218,
                "assists": 0,
                "expected_goals": 0.0759,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9775,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.25,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 24,
                "total_progression": 65,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.3324,
                  "ballRecovery_p90": 8.1133,
                  "progressiveBallCarriesCount": 0.4194,
                  "expectedAssists": 0.0894,
                  "ballRecovery": 5.9231
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.227601408958435,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0511
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0421
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0366
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0352
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0359
                        }
                      ],
                      "others": 0.0576,
                      "total": 1.2276
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12182708084583282,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0103
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0111
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0077
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0057
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0052
                        }
                      ],
                      "others": 0.0107,
                      "total": 0.1218
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09965251386165619,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.005
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0042
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0044
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0044
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.001,
                      "total": 0.0997
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0759221687912941,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "intensity_index",
                          "contribution": -0.0186
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0089
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0083
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.009
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0086
                        }
                      ],
                      "others": -0.014,
                      "total": 0.0759
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2438826858997345,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0445
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0172
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0099
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0085
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0077
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.2439
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.907278299331665,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0787
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0707
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0576
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0556
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0553
                        }
                      ],
                      "others": -0.1012,
                      "total": 0.9073
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.977508544921875,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0282
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.022
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0213
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0179
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0169
                        }
                      ],
                      "others": 0.0394,
                      "total": 6.9775
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0010, quality 0.503)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.076,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 1.001
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0530)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.076,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.45
              },
              "params": {
                "blend_weight": 0.053,
                "history_matches": 4,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "totalShots",
                  "before": 0.9082,
                  "after": 1.0015
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0482
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "totalCross",
                  "before": 4.2544,
                  "after": 4.2698
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2441,
                  "after": 0.2312
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0998,
                  "after": 0.0945
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.076,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.076,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.501,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Soriano",
                "opponent_faced": "Mario Soriano",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Mario Soriano",
                  "matchup_zone": "RWB vs LWB",
                  "duel_win_rate": 0.501,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 1.0015,
                  "after": 1.1
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.1124,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.501,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Soriano",
                "opponent_faced": "Mario Soriano",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.076,
                  "after": 0.1124
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 85.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.1124,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.501,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Soriano",
                "opponent_faced": "Mario Soriano",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 379,
                "fifa_rank": 149.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.1124,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.501,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Soriano",
                "opponent_faced": "Mario Soriano",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.5208,
                "squad_weight_total": 10.774,
                "weight_share": 0.0483,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.122,
                "assists": 0,
                "expected_goals": 0.1124,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9848,
                "minutes": 73,
                "total_pass": 56,
                "accurate_pass": 47,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 32,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 15.2659,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 65,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 74.8,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 2.3,
                "duel_win_rate": 0.501,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Mario Soriano",
                "opponent_faced": "Mario Soriano",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 1.5968,
                "squad_weight_total": 11.1347,
                "weight_share": 0.1434,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Giovani Lo Celso": {
          "player_id": 798835,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 177,
          "market_value": 7800000,
          "stats": {
            "key_pass": 2,
            "assists": 0,
            "expected_assists": 0.139,
            "expected_goals": 0.1317,
            "total_shots": 1,
            "total_pass": 52,
            "accurate_pass": 42,
            "ball_recovery": 5,
            "duels_won": 6,
            "rating": 6.9,
            "minutes": 90,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 15,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 67,
            "possession_lost": 8.5,
            "dispossessed": 0.8,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 4,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "goal_rate": 0.07,
            "goals": 0,
            "shots_on_target": 1,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.06,
            "ball_carries": 30,
            "total_progression": 80,
            "progressive_carries": 7,
            "opponent_faced": "Angeliño, Marc Casadó, Lorenzo Amatucci",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 80.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 1287,
            "combined_rank_score": 558.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 363.0,
            "sofascore_rating": 6.975,
            "sofascore_appearances": 24.0,
            "fifa_rank": 753.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giovani Lo Celso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alex Meret",
                  "ranking": 1282
                },
                {
                  "player_name": "Enzo Le Fée",
                  "ranking": 1283
                },
                {
                  "player_name": "Osvaldo González",
                  "ranking": 1284
                },
                {
                  "player_name": "Jae-seong Park",
                  "ranking": 1285
                },
                {
                  "player_name": "Mario Hermoso",
                  "ranking": 1286
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Torreira",
                  "ranking": 1288
                },
                {
                  "player_name": "Diego Ulloa",
                  "ranking": 1289
                },
                {
                  "player_name": "David Neres",
                  "ranking": 1290
                },
                {
                  "player_name": "Juan Foyth",
                  "ranking": 1291
                },
                {
                  "player_name": "Patrick Berg",
                  "ranking": 1292
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "M_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "market_value_adjustment": 0.4963,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€7,800,000) applied for position M (quality factor 0.50)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.50)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 7800000,
                "quality_factor": 0.4963
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Angeliño, Marc Casadó, Lorenzo Amatucci",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Angeliño, Marc Casadó, Lorenzo Amatucci",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.1317,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Angeliño, Marc Casadó, Lorenzo Amatucci",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.089,
                  "after": 0.1317
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 80.0)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.1317,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Angeliño, Marc Casadó, Lorenzo Amatucci",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1287,
                "fifa_rank": 753.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.1317,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Angeliño, Marc Casadó, Lorenzo Amatucci",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 1.0372,
                "squad_weight_total": 10.774,
                "weight_share": 0.0963,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.139,
                "expected_goals": 0.1317,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.5,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.06,
                "ball_carries": 30,
                "total_progression": 80,
                "progressive_carries": 7,
                "opponent_faced": "Angeliño, Marc Casadó, Lorenzo Amatucci",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 2.4063,
                "squad_weight_total": 11.1347,
                "weight_share": 0.2161,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Troy Parrott": {
          "player_id": 966555,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 185,
          "market_value": 23000000,
          "stats": {
            "expected_goals": 0.2138,
            "goal_rate": 0.1774,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0293,
            "key_pass": 1,
            "rating": 7.1361,
            "minutes": 34,
            "total_pass": 7,
            "accurate_pass": 6,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 4.5372,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 17,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 28.1,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.303,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "José María Giménez, Giacomo Quagliata",
            "opponent_faced": "José María Giménez, Giacomo Quagliata",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 22,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.7686,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 3,
                "accurate_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 57,
                "rating": 5.9,
                "assists": 0,
                "expected_goals": 0.3679,
                "expected_assists": 0.0788,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 10,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0997,
                "expected_assists": 0.0064,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1404,
            "combined_rank_score": 580.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 87.0,
            "sofascore_rating": 7.52,
            "sofascore_appearances": 5.0,
            "fifa_rank": 1074.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 7.1361,
            "source_file": "data/player_rankings.csv",
            "player_name": "Troy Parrott",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jerome Abbey",
                  "ranking": 1399
                },
                {
                  "player_name": "Rayan",
                  "ranking": 1400
                },
                {
                  "player_name": "Amir Rrahmani",
                  "ranking": 1401
                },
                {
                  "player_name": "Josep Chavarría",
                  "ranking": 1402
                },
                {
                  "player_name": "Abde",
                  "ranking": 1403
                }
              ],
              "lower": [
                {
                  "player_name": "Anan Khalaili",
                  "ranking": 1405
                },
                {
                  "player_name": "Guillermo May",
                  "ranking": 1406
                },
                {
                  "player_name": "Pubill",
                  "ranking": 1407
                },
                {
                  "player_name": "Bozhidar Kraev",
                  "ranking": 1408
                },
                {
                  "player_name": "Aïssa Mandi",
                  "ranking": 1409
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.445,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.445,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0479,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 76.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.55,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "XGBoost regressor (F_service) evaluated 3 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.05, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.167,
                "goal_rate": 0.173,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.028,
                "key_pass": 1,
                "rating": 6.8102,
                "minutes": 33,
                "total_pass": 7,
                "accurate_pass": 5,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 4.33,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "minutesPlayed": 32.7221,
                  "totalShots": 1.3304,
                  "onTargetScoringAttempt": 0.3887,
                  "touches": 14.2546,
                  "dribbleValueNormalized": 0.1111
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16703853011131287,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.061
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0269
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.027
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0246
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0144
                        }
                      ],
                      "others": -0.0626,
                      "total": 0.167
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17300742864608765,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.1291
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0807
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.065
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0354
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0201
                        }
                      ],
                      "others": -0.1004,
                      "total": 0.173
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5889948010444641,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0889
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0528
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0296
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0253
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0198
                        }
                      ],
                      "others": -0.0559,
                      "total": 0.589
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.4902900457382202,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2199
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.217
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1102
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0638
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0622
                        }
                      ],
                      "others": -0.2414,
                      "total": 1.4903
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02800510637462139,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0103
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0051
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0037
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.003
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.028
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6624076962471008,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.173
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0649
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0529
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0318
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0271
                        }
                      ],
                      "others": -0.0168,
                      "total": 0.6624
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.810199737548828,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.1413
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0512
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0472
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0367
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0323
                        }
                      ],
                      "others": 0.0283,
                      "total": 6.8102
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0479, quality 0.660)",
              "stats": {
                "expected_goals": 0.175,
                "goal_rate": 0.1813,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.5372,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 23000000,
                "quality_factor": 0.6595,
                "boost_factor": 1.0479
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0217)",
              "stats": {
                "expected_goals": 0.175,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.5372,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0217,
                "history_matches": 3,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0812
                },
                {
                  "stat": "totalShots",
                  "before": 1.5616,
                  "after": 1.6047
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6172,
                  "after": 0.6038
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.175,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.5372,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.1445,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.5372,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.303,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "José María Giménez, Giacomo Quagliata",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.303,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_override": 0.1445
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.6047,
                  "after": 2.5
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.175,
                  "after": 0.1445
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "expected_goals": 0.2138,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.5372,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.303,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1445,
                  "after": 0.2138
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 78.0)",
              "stats": {
                "expected_goals": 0.2138,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.5372,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.303,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1404,
                "fifa_rank": 1074.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.2138,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.5372,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.303,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 2.7875,
                "squad_weight_total": 10.774,
                "weight_share": 0.2587,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.2138,
                "goal_rate": 0.1774,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0293,
                "key_pass": 1,
                "rating": 7.1361,
                "minutes": 34,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 4.5372,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 2,
                "total_progression": 17,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 28.1,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.303,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.6256,
                "squad_weight_total": 11.1347,
                "weight_share": 0.0562,
                "position_multiplier": 0.85
              }
            }
          ]
        },
        "Cucho Hernández": {
          "player_id": 887055,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 175,
          "market_value": 16500000,
          "stats": {
            "expected_goals": 0.1963,
            "goal_rate": 0.2373,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0352,
            "key_pass": 1,
            "rating": 6.9032,
            "minutes": 65,
            "total_pass": 16,
            "accurate_pass": 12,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 26,
            "possession_lost": 8.4859,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 9,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.234,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "José María Giménez, Giacomo Quagliata",
            "opponent_faced": "José María Giménez, Giacomo Quagliata",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 68,
                "rating": 6.4,
                "assists": 0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0401,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 8,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 33,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0191,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0441,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 80,
                "rating": 6.8,
                "assists": 1,
                "expected_goals": 0.1215,
                "expected_assists": 0.1305,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1878,
            "combined_rank_score": 727.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 493.0,
            "sofascore_rating": 6.8625,
            "sofascore_appearances": 32.0,
            "fifa_rank": 961.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 6.9032,
            "source_file": "data/player_rankings.csv",
            "player_name": "Cucho Hernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Calebe Gonçalves",
                  "ranking": 1873
                },
                {
                  "player_name": "Jack Hinshelwood",
                  "ranking": 1874
                },
                {
                  "player_name": "David Retamal",
                  "ranking": 1875
                },
                {
                  "player_name": "Xaver Schlager",
                  "ranking": 1876
                },
                {
                  "player_name": "Fernando Muslera",
                  "ranking": 1877
                }
              ],
              "lower": [
                {
                  "player_name": "Evanilson",
                  "ranking": 1879
                },
                {
                  "player_name": "Vanja Milinković-Savić",
                  "ranking": 1880
                },
                {
                  "player_name": "Abdülkerim Bardakcı",
                  "ranking": 1881
                },
                {
                  "player_name": "Mauro Arambarri",
                  "ranking": 1882
                },
                {
                  "player_name": "Kim Hyeon-Jun",
                  "ranking": 1883
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0286,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1781,
                "goal_rate": 0.2307,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0342,
                "key_pass": 1,
                "rating": 6.7113,
                "minutes": 63,
                "total_pass": 15,
                "accurate_pass": 11,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 25,
                "possession_lost": 8.25,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "minutesPlayed": 61.6569,
                  "totalShots": 0.6993,
                  "onTargetScoringAttempt": 0.1927,
                  "touches": 24.0636,
                  "dribbleValueNormalized": 0.2083
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17813555896282196,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0347
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0333
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0172
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0157
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0128
                        }
                      ],
                      "others": -0.0761,
                      "total": 0.1781
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.23068401217460632,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0526
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0333
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0257
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0224
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0179
                        }
                      ],
                      "others": -0.0077,
                      "total": 0.2307
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5495277047157288,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0444
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0351
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0261
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0199
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0086
                        }
                      ],
                      "others": -0.0413,
                      "total": 0.5495
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2976975440979004,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2534
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1355
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0934
                        },
                        {
                          "name": "speed_threat",
                          "contribution": -0.0633
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0551
                        }
                      ],
                      "others": -0.1394,
                      "total": 1.2977
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03423933684825897,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0059
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.005
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0042
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0037
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0027
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0342
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5474061965942383,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1094
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0725
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0314
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0278
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0204
                        }
                      ],
                      "others": -0.0928,
                      "total": 0.5474
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.711346626281738,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0406
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0341
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0287
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0275
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0265
                        }
                      ],
                      "others": 0.0319,
                      "total": 6.7113
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0286, quality 0.595)",
              "stats": {
                "expected_goals": 0.1832,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 16500000,
                "quality_factor": 0.5953,
                "boost_factor": 1.0286
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1832,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.1327,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "José María Giménez, Giacomo Quagliata",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.234,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_override": 0.1327
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.3348,
                  "after": 2.2
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1832,
                  "after": 0.1327
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "expected_goals": 0.1963,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1327,
                  "after": 0.1963
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.1963,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1878,
                "fifa_rank": 961.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1963,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 2.9001,
                "squad_weight_total": 10.774,
                "weight_share": 0.2692,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1963,
                "goal_rate": 0.2373,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0352,
                "key_pass": 1,
                "rating": 6.9032,
                "minutes": 65,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 26,
                "possession_lost": 8.4859,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 8,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.4,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Giacomo Quagliata",
                "opponent_faced": "José María Giménez, Giacomo Quagliata",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.64,
                "squad_weight_total": 11.1347,
                "weight_share": 0.0575,
                "position_multiplier": 0.85
              }
            }
          ]
        }
      },
      "bench_players": {
        "Diego Conde": {
          "player_id": 951008,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 188,
          "market_value": 3200000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0147,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1174,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 76.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3128,
            "combined_rank_score": 1089.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 1974.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Diego Conde",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mykola Shaparenko",
                  "ranking": 3123
                },
                {
                  "player_name": "Kostas Tsimikas",
                  "ranking": 3124
                },
                {
                  "player_name": "Kepa",
                  "ranking": 3125
                },
                {
                  "player_name": "Nahuel Molina",
                  "ranking": 3126
                },
                {
                  "player_name": "Václav Jemelka",
                  "ranking": 3127
                }
              ],
              "lower": [
                {
                  "player_name": "Lawrence Shankland",
                  "ranking": 3129
                },
                {
                  "player_name": "Cameron Carter-Vickers",
                  "ranking": 3130
                },
                {
                  "player_name": "Patrick Wimmer",
                  "ranking": 3131
                },
                {
                  "player_name": "Thomas Lemar",
                  "ranking": 3132
                },
                {
                  "player_name": "Robert Navarro",
                  "ranking": 3133
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.40206294284004,
            "bench_appearance_prob": 0.10918467922000183,
            "market_value_adjustment": 0.4399,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€3,200,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90,
                "total_pass": 27,
                "accurate_pass": 20,
                "total_long_balls": 9,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 1,
                "punches": 0.3,
                "aerial_won": 1,
                "sweeper_actions": 1,
                "sweeper_accurate": 1,
                "saves_inside_box": 1,
                "possession_lost": 2.4,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1174,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "expected_minutes": 4.4,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1174,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 18, fifa_overall 76.0)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1174,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3128,
                "fifa_rank": 1974.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Angel Ortiz": {
          "player_id": 1152139,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 12,
          "height": 167,
          "market_value": 4400000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.4308,
            "minutes": 14,
            "total_pass": 5,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 1.1961,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.003,
            "expected_assists": 0.0015,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 25.9,
            "pointsPerMatch": 3.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.218,
            "bench_expected_minutes": 13.64,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 71,
                "rating": 7.3,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.0115,
                "total_shots": 1,
                "total_pass": 36,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 2,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4946,
            "combined_rank_score": 3037.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5918.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.4308,
            "source_file": "data/player_rankings.csv",
            "player_name": "Angel Ortiz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Efraín Álvarez",
                  "ranking": 4941
                },
                {
                  "player_name": "Milton Giménez",
                  "ranking": 4942
                },
                {
                  "player_name": "Kevin Castañeda",
                  "ranking": 4943
                },
                {
                  "player_name": "Carlos Moreno",
                  "ranking": 4944
                },
                {
                  "player_name": "Brian Gutiérrez",
                  "ranking": 4945
                }
              ],
              "lower": [
                {
                  "player_name": "Kevin Mier",
                  "ranking": 4947
                },
                {
                  "player_name": "Jeremy Sarmiento",
                  "ranking": 4948
                },
                {
                  "player_name": "Mohammed Kanno",
                  "ranking": 4949
                },
                {
                  "player_name": "Pedro Rebocho",
                  "ranking": 4950
                },
                {
                  "player_name": "Martín Cauteruccio",
                  "ranking": 4951
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.32,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.32,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.64092577102457,
            "bench_appearance_prob": 0.218,
            "market_value_adjustment": 0.9864,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "Bench projection scaled from XGBoost D_service (1 historical appearances) to 13.6 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.5193,
                "minutes": 71,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 61,
                "possession_lost": 8.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 3,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.02,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 26,
                "progressive_carries": 1,
                "key_pass": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:03.814313+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "touches_p90": 77.3239,
                  "accuratePass": 33.0,
                  "possessionLostCtrl": 8.0,
                  "totalClearance": 2.0,
                  "totalClearance_p90": 2.5352
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.5575404167175293,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0944
                      },
                      {
                        "name": "duel_win_rate",
                        "importance": 0.0353
                      },
                      {
                        "name": "duelWon_p90",
                        "importance": 0.0341
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0326
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.9108,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2637
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0167
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0155
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0097
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0383,
                      "total": 0.5575
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.4084053039550781,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0588
                      },
                      {
                        "name": "duelLost",
                        "importance": 0.0461
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0446
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0406
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0401
                      }
                    ],
                    "decomposition": {
                      "base": 1.3553,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1165
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0821
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0502
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0417
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0318
                        }
                      ],
                      "others": 0.0788,
                      "total": 1.4084
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8040722608566284,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "history_matches",
                        "importance": 0.0565
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0432
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0353
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0347
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0329
                      }
                    ],
                    "decomposition": {
                      "base": 0.8675,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1666
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0611
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0459
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0437
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0405
                        }
                      ],
                      "others": 0.0804,
                      "total": 0.8041
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.00184965133667,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.11
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0506
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0425
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0417
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0343
                      }
                    ],
                    "decomposition": {
                      "base": 3.4032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.8094
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1555
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1265
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0725
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0532
                        }
                      ],
                      "others": -0.1843,
                      "total": 1.0018
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7863270044326782,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0798
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0597
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0439
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0426
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0411
                      }
                    ],
                    "decomposition": {
                      "base": 1.2421,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3172
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0343
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0265
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0249
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0187
                        }
                      ],
                      "others": -0.0716,
                      "total": 0.7863
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4296429455280304,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0413
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0408
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0371
                      },
                      {
                        "name": "duelWon",
                        "importance": 0.0364
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.4562,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.219
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.1414
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0363
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0305
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.028
                        }
                      ],
                      "others": 0.0122,
                      "total": 0.4296
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.519285202026367,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches_p90",
                        "importance": 0.0708
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0705
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0537
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0518
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0478
                      }
                    ],
                    "decomposition": {
                      "base": 6.6627,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0763
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0456
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0249
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0227
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0194
                        }
                      ],
                      "others": 0.0001,
                      "total": 6.5193
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9864, quality 0.455)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4308,
                "minutes": 70,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 7.8915,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 3,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0197,
                "expected_assists": 0.0099,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 25,
                "progressive_carries": 1,
                "key_pass": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 4400000,
                "quality_factor": 0.4548,
                "boost_factor": 0.9864
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0289)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.4308,
                "minutes": 70,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 15,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 7.8915,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 0,
                "blocks": 3,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0197,
                "expected_assists": 0.0099,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 25,
                "progressive_carries": 1,
                "key_pass": 1,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 25.9,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0289,
                "history_matches": 1,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7932,
                  "after": 0.8425
                },
                {
                  "stat": "totalShots",
                  "before": 0.4238,
                  "after": 0.4488
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.55,
                  "after": 0.5341
                },
                {
                  "stat": "fouls",
                  "before": 0.9864,
                  "after": 0.994
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4308,
                "minutes": 14,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 1.1961,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.003,
                "expected_assists": 0.0015,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 25.9,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.218,
                "bench_expected_minutes": 13.64
              },
              "params": {
                "expected_minutes": 13.64,
                "appearance_probability": 0.218
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4308,
                "minutes": 14,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 1.1961,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.003,
                "expected_assists": 0.0015,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 25.9,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.218,
                "bench_expected_minutes": 13.64
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 70.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.4308,
                "minutes": 14,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 2,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 1.1961,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.003,
                "expected_assists": 0.0015,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 25.9,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.218,
                "bench_expected_minutes": 13.64,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4946,
                "fifa_rank": 5918.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Aitor Ruibal": {
          "player_id": 893062,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 176,
          "market_value": 3900000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "duels_won": 1,
            "total_pass": 6,
            "accurate_pass": 5,
            "expected_goals": 0.0024,
            "rating": 6.8,
            "minutes": 14,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 0.938,
            "dispossessed": 0.4,
            "duels_lost": 0,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_assists": 0.007,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0018,
            "key_pass": 0,
            "ball_carries": 3,
            "total_progression": 9,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.301,
            "bench_expected_minutes": 13.62,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3081,
            "combined_rank_score": 1048.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 539.0,
            "sofascore_rating": 6.8259,
            "sofascore_appearances": 27.0,
            "fifa_rank": 1558.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Ruibal",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Leopold Querfeld",
                  "ranking": 3076
                },
                {
                  "player_name": "Daizen Maeda",
                  "ranking": 3077
                },
                {
                  "player_name": "Javi Galán",
                  "ranking": 3078
                },
                {
                  "player_name": "Matt O'Riley",
                  "ranking": 3079
                },
                {
                  "player_name": "Joshua King",
                  "ranking": 3080
                }
              ],
              "lower": [
                {
                  "player_name": "Artem Bondarenko",
                  "ranking": 3082
                },
                {
                  "player_name": "Igor Jesus",
                  "ranking": 3083
                },
                {
                  "player_name": "Luis Rioja",
                  "ranking": 3084
                },
                {
                  "player_name": "Roberto Alvarado",
                  "ranking": 3085
                },
                {
                  "player_name": "Callum Wilson",
                  "ranking": 3086
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "D_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 13.61644058998921,
            "bench_appearance_prob": 0.30074729954496415,
            "market_value_adjustment": 0.4486,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€3,900,000) scaled to 13.6 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.45)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "total_pass": 42,
                "accurate_pass": 34,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3,
                "aerial_lost": 2,
                "total_contest": 4,
                "won_contest": 2,
                "ball_recovery": 5,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.046,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.012,
                "key_pass": 1,
                "ball_carries": 19,
                "total_progression": 57,
                "progressive_carries": 4
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.938,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "aerial_lost": 2,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62
              },
              "params": {
                "expected_minutes": 13.62,
                "appearance_probability": 0.301
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.938,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "aerial_lost": 2,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 77.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 14,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 0.938,
                "dispossessed": 0.4,
                "duels_lost": 0,
                "aerial_lost": 2,
                "total_contest": 1,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0018,
                "key_pass": 0,
                "ball_carries": 3,
                "total_progression": 9,
                "progressive_carries": 1,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3081,
                "fifa_rank": 1558.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Dani Ceballos": {
          "player_id": 547838,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 0,
          "height": 179,
          "market_value": 7400000,
          "stats": {
            "key_pass": 0,
            "assists": 0,
            "expected_assists": 0.034,
            "expected_goals": 0.0324,
            "total_shots": 0,
            "total_pass": 13,
            "accurate_pass": 10,
            "ball_recovery": 1,
            "duels_won": 2,
            "rating": 6.9,
            "minutes": 22,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 2.0707,
            "dispossessed": 0.8,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0173,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0145,
            "ball_carries": 7,
            "total_progression": 19,
            "progressive_carries": 2,
            "bench_appearance_probability": 0.508,
            "bench_expected_minutes": 22.19,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 81.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 963,
            "combined_rank_score": 481.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 16.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Ceballos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gerónimo Rulli",
                  "ranking": 958
                },
                {
                  "player_name": "Mohamed Simakan",
                  "ranking": 959
                },
                {
                  "player_name": "Nico González",
                  "ranking": 960
                },
                {
                  "player_name": "Gonçalo Guedes",
                  "ranking": 961
                },
                {
                  "player_name": "Samuel Klein",
                  "ranking": 962
                }
              ],
              "lower": [
                {
                  "player_name": "Han-been Yang",
                  "ranking": 964
                },
                {
                  "player_name": "Alexsey Kozlov",
                  "ranking": 965
                },
                {
                  "player_name": "Ji-hun Cho",
                  "ranking": 966
                },
                {
                  "player_name": "Park Gi-hyun",
                  "ranking": 967
                },
                {
                  "player_name": "Alexander Satariano",
                  "ranking": 968
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "M_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 22.18617755459381,
            "bench_appearance_prob": 0.5084626161179004,
            "market_value_adjustment": 0.4915,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€7,400,000) scaled to 22.2 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.49)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.138,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.059,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 7400000,
                "quality_factor": 0.4915
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.2 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0219,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "expected_minutes": 22.19,
                "appearance_probability": 0.508
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0219,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0324,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0219,
                  "after": 0.0324
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 81.0)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0324,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 963,
                "fifa_rank": 517.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 81.0
              }
            }
          ]
        },
        "Álvaro Fidalgo": {
          "player_id": 838629,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 174,
          "market_value": 6500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0103,
            "assists": 0,
            "expected_goals": 0.0089,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6066,
            "minutes": 22,
            "total_pass": 3,
            "accurate_pass": 3,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.4892,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 3,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 14,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.506,
            "bench_expected_minutes": 22.14,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1509,
            "combined_rank_score": 783.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 622.0,
            "sofascore_rating": 6.7667,
            "sofascore_appearances": 9.0,
            "fifa_rank": 945.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "projected_match_rating": 6.6066,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Fidalgo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jeison Fuentealba",
                  "ranking": 1504
                },
                {
                  "player_name": "Manuel Rivera",
                  "ranking": 1505
                },
                {
                  "player_name": "Dong-hyun Kang",
                  "ranking": 1506
                },
                {
                  "player_name": "Hwang Seok-ki",
                  "ranking": 1507
                },
                {
                  "player_name": "Ollabergan Karimov",
                  "ranking": 1508
                }
              ],
              "lower": [
                {
                  "player_name": "Max Dowman",
                  "ranking": 1510
                },
                {
                  "player_name": "Lucas Evangelista",
                  "ranking": 1511
                },
                {
                  "player_name": "Fábio",
                  "ranking": 1512
                },
                {
                  "player_name": "Mukhammadaziz Ibrakhimov",
                  "ranking": 1513
                },
                {
                  "player_name": "Igor Golban",
                  "ranking": 1514
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.14294752708981,
            "bench_appearance_prob": 0.5064976148677187,
            "market_value_adjustment": 0.9942,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost M_service (1 historical appearances) to 22.1 expected mins (appearance prob 0.51); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.042,
                "assists": 0,
                "expected_goals": 0.0246,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6453,
                "minutes": 30,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 56,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0,
                  "ballRecovery_p90": 0.0,
                  "progressiveBallCarriesCount": 1.0,
                  "expectedAssists": 0.0068,
                  "ballRecovery": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6103215217590332,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2562
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0557
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0437
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0192
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0171
                        }
                      ],
                      "others": -0.0011,
                      "total": 0.6103
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0420164056122303,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0196
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0124
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0046
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0041
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0067,
                      "total": 0.042
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06798774003982544,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0062
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.005
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.004
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.0116,
                      "total": 0.068
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.024574801325798035,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0328
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0183
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0096
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0052
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0246
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2179321050643921,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0623
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0209
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0156
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0089
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.006
                        }
                      ],
                      "others": -0.0008,
                      "total": 0.2179
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.356667160987854,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3517
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.149
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0527
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0503
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0409
                        }
                      ],
                      "others": -0.1625,
                      "total": 0.3567
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.645349979400635,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.2402
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.1234
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0542
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0521
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0439
                        }
                      ],
                      "others": -0.0278,
                      "total": 6.6454
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9942, quality 0.481)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0418,
                "assists": 0,
                "expected_goals": 0.0244,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 30,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 1.9883,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 55,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9942
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0418,
                "assists": 0,
                "expected_goals": 0.0244,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 30,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 1.9883,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 55,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "blend_weight": 0.0,
                "history_matches": 1,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Real Betis"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.1 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.006,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14
              },
              "params": {
                "expected_minutes": 22.14,
                "appearance_probability": 0.506
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.006,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.0089,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.0089,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1509,
                "fifa_rank": 945.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Pablo García": {
          "player_id": 1893910,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 33,
          "height": 175,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.045,
            "goal_rate": 0.0373,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0092,
            "key_pass": 0,
            "rating": 6.7989,
            "minutes": 21,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 6,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 1.6667,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.33,
            "minutesPct": 20.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.724,
            "bench_expected_minutes": 21.39,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416328.0,
              "match_date": "2026-09-12 12:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "R. Racing Club",
              "away_team": "Alavés",
              "home_score_current": 2.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "R. Racing Club",
              "opponent": "Alavés",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.1417,
                "expected_assists": 0.0041,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.0894,
                "expected_assists": 0.007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.2814,
                "expected_assists": 0.0023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 17,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0317,
                "expected_assists": 0.0322,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5059,
            "combined_rank_score": 3247.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5917.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "projected_match_rating": 6.7989,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Philippe Sandler",
                  "ranking": 5054
                },
                {
                  "player_name": "Jordan Lotomba",
                  "ranking": 5055
                },
                {
                  "player_name": "Jhon Córdoba",
                  "ranking": 5056
                },
                {
                  "player_name": "Jari De Busser",
                  "ranking": 5057
                },
                {
                  "player_name": "Gijs Smal",
                  "ranking": 5058
                }
              ],
              "lower": [
                {
                  "player_name": "Jacob Trenskow",
                  "ranking": 5060
                },
                {
                  "player_name": "Virgil Ghiță",
                  "ranking": 5061
                },
                {
                  "player_name": "Daan Rots",
                  "ranking": 5062
                },
                {
                  "player_name": "Thomas Beelen",
                  "ranking": 5063
                },
                {
                  "player_name": "Alexandre Penetra",
                  "ranking": 5064
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.506,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.506,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 21.39,
            "bench_appearance_prob": 0.724,
            "market_value_adjustment": 1.0003,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "sub_appearances": 3.0,
              "minutes_per_sub": 18.0,
              "goals_per90": 1.6666666666666667,
              "assists_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 21.4 expected mins (appearance prob 0.72); FBref playing time empirical prior: 3.0 sub appearances, 18.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.1349,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7967,
                "minutes": 35,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 27,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 39.8345,
                  "totalShots": 1.6276,
                  "onTargetScoringAttempt": 0.8544,
                  "touches": 16.6766,
                  "dribbleValueNormalized": 0.158
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12789754569530487,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0527
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0361
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0249
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0173
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0147
                        }
                      ],
                      "others": -0.0519,
                      "total": 0.1279
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13487832248210907,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0724
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0434
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0342
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0141
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.036,
                      "total": 0.1349
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6494281888008118,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0469
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0412
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0405
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0235
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0207
                        }
                      ],
                      "others": -0.0155,
                      "total": 0.6494
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2581959962844849,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.161
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1398
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.068
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0672
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0666
                        }
                      ],
                      "others": -0.1738,
                      "total": 1.2582
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03885127231478691,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0087
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0058
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0041
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0026
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.0389
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5371828079223633,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1794
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.032
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.028
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0288
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0259
                        }
                      ],
                      "others": -0.017,
                      "total": 0.5372
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7967000007629395,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0478
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0454
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0333
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0299
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0271
                        }
                      ],
                      "others": 0.1402,
                      "total": 6.7967
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0003, quality 0.501)",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.1349,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7989,
                "minutes": 35,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 27,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 1.0003
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0144)",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.157,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7989,
                "minutes": 35,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 27,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -1.67
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 4,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "wasFouled",
                  "before": 1.7506,
                  "after": 1.8216
                },
                {
                  "stat": "totalShots",
                  "before": 1.2586,
                  "after": 1.3126
                },
                {
                  "stat": "goals",
                  "before": 0.1349,
                  "after": 0.157
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6496,
                  "after": 0.6643
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 21.4 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0304,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39
              },
              "params": {
                "expected_minutes": 21.39,
                "appearance_probability": 0.724
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0304,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "expected_goals": 0.045,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0304,
                  "after": 0.045
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.045,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5059,
                "fifa_rank": 5917.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Facundo Bernal": {
          "player_id": 1177404,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 187,
          "market_value": 5800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0092,
            "assists": 0,
            "expected_goals": 0.0072,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7579,
            "minutes": 22,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 1.1571,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 6,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.0,
            "minutesPct": 81.5,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.31,
            "bench_expected_minutes": 22.11,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416333.0,
              "match_date": "2026-09-14 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "home_score_current": 1.0,
              "away_score_current": 2.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 68,
                "rating": 7.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 29,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 74,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.1051,
                "expected_assists": 0.0236,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 33,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.0097,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 46,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 58,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0327,
                "expected_assists": 0.0119,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 32,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3724,
            "combined_rank_score": 1703.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 490.0,
            "sofascore_rating": 6.8667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2916.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 6.7579,
            "source_file": "data/player_rankings.csv",
            "player_name": "Facundo Bernal",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Andreas Tetteh",
                  "ranking": 3719
                },
                {
                  "player_name": "Kiril Despodov",
                  "ranking": 3720
                },
                {
                  "player_name": "Lamare Bogarde",
                  "ranking": 3721
                },
                {
                  "player_name": "Darius Olaru",
                  "ranking": 3722
                },
                {
                  "player_name": "Jairo Concha",
                  "ranking": 3723
                }
              ],
              "lower": [
                {
                  "player_name": "Roberto Fernández",
                  "ranking": 3725
                },
                {
                  "player_name": "Veljko Birmančević",
                  "ranking": 3726
                },
                {
                  "player_name": "Jay DaSilva",
                  "ranking": 3727
                },
                {
                  "player_name": "Oskar Pietuszewski",
                  "ranking": 3728
                },
                {
                  "player_name": "Honest Ahanor",
                  "ranking": 3729
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.524,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.524,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.109104686408813,
            "bench_appearance_prob": 0.31,
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.16
            },
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 22.1 expected mins (appearance prob 0.31); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0377,
                "assists": 0,
                "expected_goals": 0.0297,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8152,
                "minutes": 72,
                "total_pass": 40,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 4.75,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 2,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 25,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7262,
                  "ballRecovery_p90": 6.1323,
                  "progressiveBallCarriesCount": 0.0,
                  "expectedAssists": 0.013,
                  "ballRecovery": 4.92
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6191199421882629,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1698
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0523
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0222
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0622,
                      "total": 0.6191
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03770378232002258,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0203
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0116
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0045
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0034
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0033
                        }
                      ],
                      "others": -0.0187,
                      "total": 0.0377
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06988852471113205,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0063
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0044
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0039
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0023
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0112,
                      "total": 0.0699
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.029719628393650055,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0232
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0179
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0094
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0072
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0058
                        }
                      ],
                      "others": -0.0155,
                      "total": 0.0297
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2157386690378189,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0426
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0259
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0185
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0129
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0062
                        }
                      ],
                      "others": -0.0106,
                      "total": 0.2157
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.46295011043548584,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2151
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1395
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.1241
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0429
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0415
                        }
                      ],
                      "others": -0.2805,
                      "total": 0.463
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.815164089202881,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0581
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0218
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0179
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0156
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0143
                        }
                      ],
                      "others": 0.0077,
                      "total": 6.8152
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9916, quality 0.472)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0374,
                "assists": 0,
                "expected_goals": 0.0295,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7579,
                "minutes": 72,
                "total_pass": 39,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 4.7101,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 2,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 25,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9916
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0578)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0374,
                "assists": 0,
                "expected_goals": 0.0295,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7579,
                "minutes": 72,
                "total_pass": 39,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 4.7101,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 2,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 25,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 81.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -0.41
              },
              "params": {
                "blend_weight": 0.0578,
                "history_matches": 4,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "totalShots",
                  "before": 0.4591,
                  "after": 0.5036
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.7353,
                  "after": 1.7554
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2139,
                  "after": 0.2252
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.1 expected minutes (appearance prob 0.31)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0092,
                "assists": 0,
                "expected_goals": 0.0072,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7579,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.1571,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 81.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 22.11
              },
              "params": {
                "expected_minutes": 22.11,
                "appearance_probability": 0.31
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0092,
                "assists": 0,
                "expected_goals": 0.0072,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7579,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.1571,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 81.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 22.11
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 74.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0092,
                "assists": 0,
                "expected_goals": 0.0072,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7579,
                "minutes": 22,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 1.1571,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.0,
                "minutesPct": 81.5,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 22.11,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3724,
                "fifa_rank": 2916.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Pablo García": {
          "player_id": 1893910,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 33,
          "height": 175,
          "market_value": 8199999,
          "stats": {
            "expected_goals": 0.045,
            "goal_rate": 0.0373,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0092,
            "key_pass": 0,
            "rating": 6.7989,
            "minutes": 21,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 6,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "yellowCards": 1.6667,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.33,
            "minutesPct": 20.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.724,
            "bench_expected_minutes": 21.39,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416328.0,
              "match_date": "2026-09-12 12:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8.0,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268.0,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "R. Racing Club",
              "away_team": "Alavés",
              "home_score_current": 2.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "R. Racing Club",
              "opponent": "Alavés",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416321.0,
              "match_date": "2026-09-05",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Racing Club",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Racing Club",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.1417,
                "expected_assists": 0.0041,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309.0,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.0894,
                "expected_assists": 0.007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049.0,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.2814,
                "expected_assists": 0.0023,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293.0,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 17,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0317,
                "expected_assists": 0.0322,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5059,
            "combined_rank_score": 3247.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5917.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "projected_match_rating": 6.7989,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Philippe Sandler",
                  "ranking": 5054
                },
                {
                  "player_name": "Jordan Lotomba",
                  "ranking": 5055
                },
                {
                  "player_name": "Jhon Córdoba",
                  "ranking": 5056
                },
                {
                  "player_name": "Jari De Busser",
                  "ranking": 5057
                },
                {
                  "player_name": "Gijs Smal",
                  "ranking": 5058
                }
              ],
              "lower": [
                {
                  "player_name": "Jacob Trenskow",
                  "ranking": 5060
                },
                {
                  "player_name": "Virgil Ghiță",
                  "ranking": 5061
                },
                {
                  "player_name": "Daan Rots",
                  "ranking": 5062
                },
                {
                  "player_name": "Thomas Beelen",
                  "ranking": 5063
                },
                {
                  "player_name": "Alexandre Penetra",
                  "ranking": 5064
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.506,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.506,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 21.39,
            "bench_appearance_prob": 0.724,
            "market_value_adjustment": 1.0003,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "sub_appearances": 3.0,
              "minutes_per_sub": 18.0,
              "goals_per90": 1.6666666666666667,
              "assists_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 21.4 expected mins (appearance prob 0.72); FBref playing time empirical prior: 3.0 sub appearances, 18.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.1349,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7967,
                "minutes": 35,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 27,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:14.946589+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "minutesPlayed": 39.8345,
                  "totalShots": 1.6276,
                  "onTargetScoringAttempt": 0.8544,
                  "touches": 16.6766,
                  "dribbleValueNormalized": 0.158
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12789754569530487,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.093
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0745
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0545
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.043
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0314
                      }
                    ],
                    "decomposition": {
                      "base": 0.2757,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0527
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0361
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0249
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0173
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0147
                        }
                      ],
                      "others": -0.0519,
                      "total": 0.1279
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13487832248210907,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0715
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0371
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0298
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.3455,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0724
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0434
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0342
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0141
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.036,
                      "total": 0.1349
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6494281888008118,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0703
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0486
                      },
                      {
                        "name": "touches",
                        "importance": 0.0401
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 0.6329,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0469
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0412
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0405
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0235
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.0207
                        }
                      ],
                      "others": -0.0155,
                      "total": 0.6494
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2581959962844849,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0896
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.062
                      },
                      {
                        "name": "shotOffTarget",
                        "importance": 0.0522
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0517
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0408
                      }
                    ],
                    "decomposition": {
                      "base": 1.531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.161
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1398
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.068
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0672
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0666
                        }
                      ],
                      "others": -0.1738,
                      "total": 1.2582
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03885127231478691,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0802
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0621
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0547
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0537
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0397
                      }
                    ],
                    "decomposition": {
                      "base": 0.0579,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0087
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0058
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0041
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0026
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.0389
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5371828079223633,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0738
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0657
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0615
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0458
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0313
                      }
                    ],
                    "decomposition": {
                      "base": 0.6829,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1794
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.032
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.028
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0288
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0259
                        }
                      ],
                      "others": -0.017,
                      "total": 0.5372
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7967000007629395,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "speed_threat",
                        "importance": 0.0598
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0489
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0439
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0404
                      }
                    ],
                    "decomposition": {
                      "base": 6.7136,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0478
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0454
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0333
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0299
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0271
                        }
                      ],
                      "others": 0.1402,
                      "total": 6.7967
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0003, quality 0.501)",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.1349,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7989,
                "minutes": 35,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 27,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 1.0003
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0144)",
              "stats": {
                "expected_goals": 0.1279,
                "goal_rate": 0.157,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0389,
                "key_pass": 1,
                "rating": 6.7989,
                "minutes": 35,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 27,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": -1.67
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 4,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "wasFouled",
                  "before": 1.7506,
                  "after": 1.8216
                },
                {
                  "stat": "totalShots",
                  "before": 1.2586,
                  "after": 1.3126
                },
                {
                  "stat": "goals",
                  "before": 0.1349,
                  "after": 0.157
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6496,
                  "after": 0.6643
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 21.4 expected minutes (appearance prob 0.72)",
              "stats": {
                "expected_goals": 0.0304,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39
              },
              "params": {
                "expected_minutes": 21.39,
                "appearance_probability": 0.724
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0304,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "expected_goals": 0.045,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0304,
                  "after": 0.045
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 70.0)",
              "stats": {
                "expected_goals": 0.045,
                "goal_rate": 0.0373,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0092,
                "key_pass": 0,
                "rating": 6.7989,
                "minutes": 21,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 6,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "yellowCards": 1.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 20.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.724,
                "bench_expected_minutes": 21.39,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5059,
                "fifa_rank": 5917.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Dani Ceballos": {
          "player_id": 547838,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 0,
          "height": 179,
          "market_value": 7400000,
          "stats": {
            "key_pass": 0,
            "assists": 0,
            "expected_assists": 0.034,
            "expected_goals": 0.0324,
            "total_shots": 0,
            "total_pass": 13,
            "accurate_pass": 10,
            "ball_recovery": 1,
            "duels_won": 2,
            "rating": 6.9,
            "minutes": 22,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 2.0707,
            "dispossessed": 0.8,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0173,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0145,
            "ball_carries": 7,
            "total_progression": 19,
            "progressive_carries": 2,
            "bench_appearance_probability": 0.508,
            "bench_expected_minutes": 22.19,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 81.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 963,
            "combined_rank_score": 481.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 16.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Ceballos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gerónimo Rulli",
                  "ranking": 958
                },
                {
                  "player_name": "Mohamed Simakan",
                  "ranking": 959
                },
                {
                  "player_name": "Nico González",
                  "ranking": 960
                },
                {
                  "player_name": "Gonçalo Guedes",
                  "ranking": 961
                },
                {
                  "player_name": "Samuel Klein",
                  "ranking": 962
                }
              ],
              "lower": [
                {
                  "player_name": "Han-been Yang",
                  "ranking": 964
                },
                {
                  "player_name": "Alexsey Kozlov",
                  "ranking": 965
                },
                {
                  "player_name": "Ji-hun Cho",
                  "ranking": 966
                },
                {
                  "player_name": "Park Gi-hyun",
                  "ranking": 967
                },
                {
                  "player_name": "Alexander Satariano",
                  "ranking": 968
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "M_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 22.18617755459381,
            "bench_appearance_prob": 0.5084626161179004,
            "market_value_adjustment": 0.4915,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€7,400,000) scaled to 22.2 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.49)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.138,
                "expected_goals": 0.089,
                "total_shots": 1,
                "total_pass": 52,
                "accurate_pass": 42,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 6.9,
                "minutes": 90,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 67,
                "possession_lost": 8.4,
                "dispossessed": 0.8,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 4,
                "won_contest": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.07,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.059,
                "ball_carries": 30,
                "total_progression": 79,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 7400000,
                "quality_factor": 0.4915
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.2 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0219,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "expected_minutes": 22.19,
                "appearance_probability": 0.508
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0219,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0324,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0219,
                  "after": 0.0324
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 81.0)",
              "stats": {
                "key_pass": 0,
                "assists": 0,
                "expected_assists": 0.034,
                "expected_goals": 0.0324,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1,
                "duels_won": 2,
                "rating": 6.9,
                "minutes": 22,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0707,
                "dispossessed": 0.8,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0173,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0145,
                "ball_carries": 7,
                "total_progression": 19,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 963,
                "fifa_rank": 517.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 81.0
              }
            }
          ]
        },
        "Álvaro Fidalgo": {
          "player_id": 838629,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 174,
          "market_value": 6500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0103,
            "assists": 0,
            "expected_goals": 0.0089,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6066,
            "minutes": 22,
            "total_pass": 3,
            "accurate_pass": 3,
            "duels_won": 0,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 0.4892,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 3,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 14,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.506,
            "bench_expected_minutes": 22.14,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.349,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416315.0,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1509,
            "combined_rank_score": 783.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 622.0,
            "sofascore_rating": 6.7667,
            "sofascore_appearances": 9.0,
            "fifa_rank": 945.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "projected_match_rating": 6.6066,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Fidalgo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jeison Fuentealba",
                  "ranking": 1504
                },
                {
                  "player_name": "Manuel Rivera",
                  "ranking": 1505
                },
                {
                  "player_name": "Dong-hyun Kang",
                  "ranking": 1506
                },
                {
                  "player_name": "Hwang Seok-ki",
                  "ranking": 1507
                },
                {
                  "player_name": "Ollabergan Karimov",
                  "ranking": 1508
                }
              ],
              "lower": [
                {
                  "player_name": "Max Dowman",
                  "ranking": 1510
                },
                {
                  "player_name": "Lucas Evangelista",
                  "ranking": 1511
                },
                {
                  "player_name": "Fábio",
                  "ranking": 1512
                },
                {
                  "player_name": "Mukhammadaziz Ibrakhimov",
                  "ranking": 1513
                },
                {
                  "player_name": "Igor Golban",
                  "ranking": 1514
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "numberOfSprints",
              "kilometersCovered",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "intensity_index",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.14294752708981,
            "bench_appearance_prob": 0.5064976148677187,
            "market_value_adjustment": 0.9942,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost M_service (1 historical appearances) to 22.1 expected mins (appearance prob 0.51); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 7 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.042,
                "assists": 0,
                "expected_goals": 0.0246,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6453,
                "minutes": 30,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 2.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 56,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 4,
                  "trained_at": "2026-09-20T13:11:10.419138+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0,
                  "ballRecovery_p90": 0.0,
                  "progressiveBallCarriesCount": 1.0,
                  "expectedAssists": 0.0068,
                  "ballRecovery": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6103215217590332,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.0551
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0393
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.035
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0319
                      }
                    ],
                    "decomposition": {
                      "base": 0.9691,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2562
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0557
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0437
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0192
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0171
                        }
                      ],
                      "others": -0.0011,
                      "total": 0.6103
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0420164056122303,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0714
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0375
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0361
                      },
                      {
                        "name": "accurateCross",
                        "importance": 0.0356
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0345
                      }
                    ],
                    "decomposition": {
                      "base": 0.0929,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0196
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0124
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0046
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0041
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0067,
                      "total": 0.042
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06798774003982544,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0378
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0368
                      },
                      {
                        "name": "cross_accuracy",
                        "importance": 0.036
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 0.0956,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0062
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.005
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.004
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0036
                        }
                      ],
                      "others": -0.0116,
                      "total": 0.068
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.024574801325798035,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.077
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0622
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0454
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0399
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0384
                      }
                    ],
                    "decomposition": {
                      "base": 0.1087,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0328
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0183
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0096
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0052
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0246
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2179321050643921,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0617
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "progressive_carries_p90",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.3324,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0623
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0209
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0156
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0089
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.006
                        }
                      ],
                      "others": -0.0008,
                      "total": 0.2179
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.356667160987854,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0685
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0518
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0356
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.034
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 1.0584,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3517
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.149
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0527
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0503
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0409
                        }
                      ],
                      "others": -0.1625,
                      "total": 0.3567
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.645349979400635,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0847
                      },
                      {
                        "name": "ballRecovery",
                        "importance": 0.0836
                      },
                      {
                        "name": "kilometersCovered",
                        "importance": 0.0597
                      },
                      {
                        "name": "defensive_midfield_actions",
                        "importance": 0.05
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0441
                      }
                    ],
                    "decomposition": {
                      "base": 6.8318,
                      "items": [
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.2402
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.1234
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0542
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0521
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0439
                        }
                      ],
                      "others": -0.0278,
                      "total": 6.6454
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9942, quality 0.481)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0418,
                "assists": 0,
                "expected_goals": 0.0244,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 30,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 1.9883,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 55,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9942
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0418,
                "assists": 0,
                "expected_goals": 0.0244,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 30,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 1.9883,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 55,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "blend_weight": 0.0,
                "history_matches": 1,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Real Betis"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.1 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.006,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14
              },
              "params": {
                "expected_minutes": 22.14,
                "appearance_probability": 0.506
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.006,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.13 (squad xG sum 0.7631, xG scale 1.4795)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.0089,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.129,
                "squad_xg_sum": 0.7631,
                "xg_scale": 1.4795,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0103,
                "assists": 0,
                "expected_goals": 0.0089,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6066,
                "minutes": 22,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 0,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 0.4892,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.506,
                "bench_expected_minutes": 22.14,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.349,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1509,
                "fifa_rank": 945.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 1.13,
        "expected_assists": 0.79,
        "total_shots": 13,
        "shots_on_target": 4,
        "total_passes": 414,
        "interceptions": 4,
        "tackles": 6,
        "avg_rating": 7.07,
        "possession_estimated_pct": 51.4,
        "pressing_actions_per_90": 7.3
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Mario Soriano",
        "attacker_role": "LWB",
        "attacker_market_value": 4600000,
        "attacker_height": 163,
        "attacker_skill_quality": 0.457,
        "defenders": [
          "Pablo Fornals"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.503,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.339,
        "xg_contribution": 0.03,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 0.6,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Fornals",
            "role": "RWB",
            "market_value": 8400000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.4,
            "defensive_success_rate": 0.661
          }
        ],
        "duel_analysis": "Mario Soriano (LWB) faces tough defensive resistance against Pablo Fornals in a direct 1v1 contest. Duel win probability: 34%.  Projected xG contribution: 0.030 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Angeliño",
        "attacker_role": "CM",
        "attacker_market_value": 4200000,
        "attacker_height": 171,
        "attacker_skill_quality": 0.452,
        "defenders": [
          "Giovani Lo Celso"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.496,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.406,
        "xg_contribution": 0.0811,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Giovani Lo Celso",
            "role": "CDM",
            "market_value": 7800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.594
          }
        ],
        "duel_analysis": "Angeliño (CM) faces tough defensive resistance against Giovani Lo Celso in a direct 1v1 contest. Duel win probability: 41%.  Projected xG contribution: 0.081 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Marc Casadó",
        "attacker_role": "CM",
        "attacker_market_value": 17400000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.605,
        "defenders": [
          "Giovani Lo Celso"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.496,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.479,
        "xg_contribution": 0.0544,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Giovani Lo Celso",
            "role": "CDM",
            "market_value": 7800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.521
          }
        ],
        "duel_analysis": "Marc Casadó (CM) is evenly matched against Giovani Lo Celso in a direct 1v1 contest. Duel win probability: 48%.  Projected xG contribution: 0.054 — with neither side clearly dominant."
      },
      {
        "attacker": "David Mella",
        "attacker_role": "RWB",
        "attacker_market_value": 4500000,
        "attacker_height": 169,
        "attacker_skill_quality": 0.456,
        "defenders": [
          "Nelson Deossa"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.52,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.331,
        "xg_contribution": 0.051,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Nelson Deossa",
            "role": "LWB",
            "market_value": 9800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.669
          }
        ],
        "duel_analysis": "David Mella (RWB) faces tough defensive resistance against Nelson Deossa in a direct 1v1 contest. Duel win probability: 33%.  Projected xG contribution: 0.051 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Yeremay Hernández",
        "attacker_role": "ST",
        "attacker_market_value": 23000000,
        "attacker_height": 169,
        "attacker_skill_quality": 0.66,
        "defenders": [
          "Natan",
          "Valentín Gómez"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.611,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0754,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.7,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Natan",
            "role": "CB",
            "market_value": 26000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.2,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Valentín Gómez",
            "role": "CB",
            "market_value": 11200000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.1,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Yeremay Hernández (ST) is heavily outmatched defensively against Natan and Valentín Gómez in a 2-defender block. Duel win probability: 18%.  Projected xG contribution: 0.075 — with very limited chance creation expected."
      },
      {
        "attacker": "Adama Traoré",
        "attacker_role": "ST",
        "attacker_market_value": 5700000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.471,
        "defenders": [
          "Natan",
          "Valentín Gómez"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.611,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0839,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.5,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Natan",
            "role": "CB",
            "market_value": 26000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.2,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Valentín Gómez",
            "role": "CB",
            "market_value": 11200000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.1,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Adama Traoré (ST) is heavily outmatched defensively against Natan and Valentín Gómez in a 2-defender block. Duel win probability: 18%.  Projected xG contribution: 0.084 — with very limited chance creation expected."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Nelson Deossa",
        "attacker_role": "LWB",
        "attacker_market_value": 9800000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.52,
        "defenders": [
          "David Mella"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.456,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.509,
        "xg_contribution": 0.0565,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.4,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "David Mella",
            "role": "RWB",
            "market_value": 4500000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.491
          }
        ],
        "duel_analysis": "Nelson Deossa (LWB) is slightly favored against David Mella in a direct 1v1 contest. Duel win probability: 51%.  Projected xG contribution: 0.057 — creating consistent moderate threat."
      },
      {
        "attacker": "Abdessamad Ezzalzouli",
        "attacker_role": "CM",
        "attacker_market_value": 43000000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.796,
        "defenders": [
          "Lorenzo Amatucci"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.501,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.603,
        "xg_contribution": 0.0884,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.6,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Lorenzo Amatucci",
            "role": "CDM",
            "market_value": 8199999,
            "tackles_attempted": 2.0,
            "tackles_won": 1.4,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.397
          }
        ],
        "duel_analysis": "Abdessamad Ezzalzouli (CM) has a clear attacking advantage against Lorenzo Amatucci in a direct 1v1 contest. Duel win probability: 60%. The quality gap is significant (€43M vs €8M avg). Projected xG contribution: 0.088 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Antony",
        "attacker_role": "CM",
        "attacker_market_value": 37000000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.764,
        "defenders": [
          "Lorenzo Amatucci"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.501,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.568,
        "xg_contribution": 0.1735,
        "shots_in_zone": 1.9,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.5,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Lorenzo Amatucci",
            "role": "CDM",
            "market_value": 8199999,
            "tackles_attempted": 2.0,
            "tackles_won": 1.4,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.432
          }
        ],
        "duel_analysis": "Antony (CM) is slightly favored against Lorenzo Amatucci in a direct 1v1 contest. Duel win probability: 57%. The quality gap is significant (€37M vs €8M avg). Projected xG contribution: 0.173 — creating consistent moderate threat."
      },
      {
        "attacker": "Pablo Fornals",
        "attacker_role": "RWB",
        "attacker_market_value": 8400000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.503,
        "defenders": [
          "Mario Soriano"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.457,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.501,
        "xg_contribution": 0.0848,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 2.3,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Mario Soriano",
            "role": "LWB",
            "market_value": 4600000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.499
          }
        ],
        "duel_analysis": "Pablo Fornals (RWB) is slightly favored against Mario Soriano in a direct 1v1 contest. Duel win probability: 50%.  Projected xG contribution: 0.085 — creating consistent moderate threat."
      },
      {
        "attacker": "Troy Parrott",
        "attacker_role": "ST",
        "attacker_market_value": 23000000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.66,
        "defenders": [
          "José María Giménez",
          "Giacomo Quagliata"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.466,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.303,
        "xg_contribution": 0.1445,
        "shots_in_zone": 2.5,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "José María Giménez",
            "role": "CB",
            "market_value": 8600000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.697
          },
          {
            "player": "Giacomo Quagliata",
            "role": "CB",
            "market_value": 2100000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.697
          }
        ],
        "duel_analysis": "Troy Parrott (ST) is heavily outmatched defensively against José María Giménez and Giacomo Quagliata in a 2-defender block. Duel win probability: 30%. The quality gap is significant (€23M vs €5M avg). Projected xG contribution: 0.144 — with very limited chance creation expected."
      },
      {
        "attacker": "Cucho Hernández",
        "attacker_role": "ST",
        "attacker_market_value": 16500000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.595,
        "defenders": [
          "José María Giménez",
          "Giacomo Quagliata"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.466,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.234,
        "xg_contribution": 0.1327,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "José María Giménez",
            "role": "CB",
            "market_value": 8600000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.1,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.766
          },
          {
            "player": "Giacomo Quagliata",
            "role": "CB",
            "market_value": 2100000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.766
          }
        ],
        "duel_analysis": "Cucho Hernández (ST) is heavily outmatched defensively against José María Giménez and Giacomo Quagliata in a 2-defender block. Duel win probability: 23%.  Projected xG contribution: 0.133 — with very limited chance creation expected."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.544,
      "away_midfield_power": 0.666,
      "home_creative_power": 0.453,
      "away_creative_power": 0.629,
      "home_defensive_power": 0.467,
      "away_defensive_power": 0.559,
      "home_dominance_ratio": 0.45,
      "home_midfield_count": 5,
      "away_midfield_count": 5,
      "home_midfield_players": [
        "Marc Casadó",
        "Lorenzo Amatucci",
        "Mario Soriano",
        "David Mella",
        "Angeliño"
      ],
      "away_midfield_players": [
        "Abdessamad Ezzalzouli",
        "Antony",
        "Nelson Deossa",
        "Pablo Fornals",
        "Giovani Lo Celso"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 48.6,
      "estimated_possession_away_pct": 51.4,
      "home_pressing_actions_per_90": 6.6,
      "away_pressing_actions_per_90": 7.3,
      "home_key_passes_projected": 4.2,
      "away_key_passes_projected": 5.3,
      "home_throughball_threat": 2.0,
      "away_throughball_threat": 2.5,
      "key_personal_duel": "Marc Casadó vs Abdessamad Ezzalzouli",
      "midfield_lambda_factor_home": 0.982,
      "midfield_lambda_factor_away": 1.021
    },
    "formation_analysis": {
      "home_formation": "3-5-2",
      "away_formation": "3-5-2",
      "home_tactical_bonus": 0.0,
      "away_tactical_bonus": 0.0,
      "formation_verdict": "Tactical parity between 3-5-2 and 3-5-2. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.616,
    "away_lambda": 1.129,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Central Mid vs Defensive Mid — Pressing/Creation Duel"
    ],
    "away_top_threat_zones": [
      "Central Mid vs Defensive Mid — Pressing/Creation Duel",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "home_player_antagonists": {
      "Mario Soriano": {
        "opponents": [
          "Pablo Fornals",
          "Nelson Deossa"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Angeliño": {
        "opponents": [
          "Giovani Lo Celso",
          "Abdessamad Ezzalzouli"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Marc Casadó": {
        "opponents": [
          "Giovani Lo Celso",
          "Antony"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "David Mella": {
        "opponents": [
          "Nelson Deossa",
          "Pablo Fornals"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Yeremay Hernández": {
        "opponents": [
          "Natan",
          "Valentín Gómez"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Adama Traoré": {
        "opponents": [
          "Natan",
          "Valentín Gómez"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Lorenzo Amatucci": {
        "opponents": [
          "Abdessamad Ezzalzouli",
          "Antony",
          "Giovani Lo Celso"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, midfield_pairing"
      },
      "José María Giménez": {
        "opponents": [
          "Troy Parrott",
          "Cucho Hernández"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Giacomo Quagliata": {
        "opponents": [
          "Troy Parrott",
          "Cucho Hernández"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Leo Román": {
        "opponents": [
          "Troy Parrott",
          "Cucho Hernández"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Adrià Altimira": {
        "opponents": [
          "Troy Parrott"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Pablo Fornals": {
        "opponents": [
          "Mario Soriano",
          "David Mella"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Giovani Lo Celso": {
        "opponents": [
          "Angeliño",
          "Marc Casadó",
          "Lorenzo Amatucci"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, midfield_pairing"
      },
      "Nelson Deossa": {
        "opponents": [
          "David Mella",
          "Mario Soriano"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Natan": {
        "opponents": [
          "Yeremay Hernández",
          "Adama Traoré"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Valentín Gómez": {
        "opponents": [
          "Yeremay Hernández",
          "Adama Traoré"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Abdessamad Ezzalzouli": {
        "opponents": [
          "Lorenzo Amatucci",
          "Angeliño"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Antony": {
        "opponents": [
          "Lorenzo Amatucci",
          "Marc Casadó"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Troy Parrott": {
        "opponents": [
          "José María Giménez",
          "Giacomo Quagliata"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Cucho Hernández": {
        "opponents": [
          "José María Giménez",
          "Giacomo Quagliata"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Álvaro Valles": {
        "opponents": [
          "Yeremay Hernández",
          "Adama Traoré"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Fran García": {
        "opponents": [
          "Yeremay Hernández"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Marc Casadó vs Abdessamad Ezzalzouli will be the pivotal duel. Total antagonist xG — Home: 0.38, Away: 0.68. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Central Mid vs Defensive Mid — Pressing/Creation Duel.",
    "lambda_factors": {
      "home_gk_opposition_factor": 0.993,
      "away_gk_opposition_factor": 0.9965,
      "home_set_piece_bonus": 0.005,
      "away_set_piece_bonus": 0.0569,
      "home_defensive_solidity_vs": 0.9683,
      "away_defensive_solidity_vs": 1.0166,
      "home_midfield_factor": 0.982,
      "away_midfield_factor": 1.021,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.4955,
      "away_avg_quality": 0.607,
      "avg_quality_gap": -0.1115,
      "squad_value_gap_log": -0.808,
      "top5_value_gap_log": -0.7576,
      "attack_value_gap_log": -0.6951,
      "elite_count_gap": -1,
      "combined_quality_gap": -0.2188,
      "stronger_lambda_boost": 0.1203,
      "weaker_lambda_suppression": 0.07,
      "home_bench_lambda_bonus": 0.053,
      "away_bench_lambda_bonus": 0.0477,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": true,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "smooth_softplus",
      "pre_competitive_floor_home_lambda": 0.84,
      "pre_competitive_floor_away_lambda": 1.129,
      "pre_calibration_home_lambda": 0.84,
      "pre_calibration_away_lambda": 1.1287,
      "competition_calibration_applied": false,
      "competition_calibration_reason": "no_sofascore_matches_data",
      "competition_calibration_samples": 0,
      "competition_observed_total_goals": 0.0,
      "competition_calibration_scale": 1.0,
      "neutral_share_preserved": false,
      "final_home_lambda": 1.616,
      "final_away_lambda": 1.129
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 5,
    "opponent_position": 4,
    "standing_lambda_multiplier": 1.2506,
    "attack_index": 1.666,
    "defense_concede_index": 1.041,
    "form_multiplier": 0.985,
    "team_attack_rate_contextual": 2.0,
    "opp_defense_rate_contextual": 1.25,
    "team_ppg": 2.0,
    "opponent_ppg": 2.25
  },
  "away_standing": {
    "available": true,
    "team_position": 4,
    "opponent_position": 5,
    "standing_lambda_multiplier": 1.0359,
    "attack_index": 1.041,
    "defense_concede_index": 1.041,
    "form_multiplier": 1.015,
    "team_attack_rate_contextual": 1.25,
    "opp_defense_rate_contextual": 1.25,
    "team_ppg": 2.25,
    "opponent_ppg": 2.0
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Deportivo vs Real Betis. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 3-5-2 vs 3-5-2 (duel lambdas: Home 0.840, Away 1.129). Final calibrated Poisson lambdas: Home 1.616, Away 1.129 (most likely score 1-0).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 10,
      "home_fbref_players": 0,
      "away_starters_count": 11,
      "away_xgboost_players": 10,
      "away_fbref_players": 8,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": false,
      "reason": "Non-target league or squad priors not found"
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 1.616,
      "away_lambda": 1.129,
      "micro_duel_home_lambda": 0.84,
      "micro_duel_away_lambda": 1.129
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": true
    }
  },
  "timestamp": "2026-09-20T13:31:01Z",
  "stat_limits": {
    "saves": 15.0,
    "goalsPrevented": 5.0,
    "keeperSaveValue": 3.0,
    "interceptionWon": 10.0,
    "totalTackle": 12.0,
    "wonTackle": 10.0,
    "totalClearance": 18.0,
    "aerialWon": 15.0,
    "totalPass": 150.0,
    "accuratePass": 145.0,
    "keyPass": 8.0,
    "expectedAssists": 1.5,
    "goalAssist": 4.0,
    "expectedGoals": 3.0,
    "goals": 5.0,
    "totalShots": 12.0,
    "onTargetScoringAttempt": 8.0,
    "rating": 10.0,
    "minutesPlayed": 95.0,
    "duelWon": 20.0,
    "ballRecovery": 18.0,
    "fouls": 8.0
  }
}