{
  "match_info": {
    "home_team": "Sevilla",
    "away_team": "Barcelona",
    "tournament": "LaLiga",
    "date": "20260919",
    "timezone": "America/New_York",
    "home_formation": "5-4-1",
    "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-3",
    "home_goals": 1,
    "away_goals": 3,
    "most_likely_score_probability": 0.0749,
    "match_resolution": "regulation",
    "predicted_winner": "Barcelona",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.1066,
      "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-3",
        "probability": 0.0749
      },
      {
        "score": "1-4",
        "probability": 0.0691
      },
      {
        "score": "1-2",
        "probability": 0.0609
      },
      {
        "score": "0-3",
        "probability": 0.0587
      },
      {
        "score": "0-4",
        "probability": 0.0542
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0072,
      "0-1": 0.0258,
      "0-2": 0.0478,
      "0-3": 0.0587,
      "0-4": 0.0542,
      "0-5": 0.04,
      "0-6": 0.0246,
      "0-7": 0.0129,
      "0-8": 0.006,
      "0-9": 0.0024,
      "1-0": 0.0088,
      "1-1": 0.0331,
      "1-2": 0.0609,
      "1-3": 0.0749,
      "1-4": 0.0691,
      "1-5": 0.0509,
      "1-6": 0.0313,
      "1-7": 0.0165,
      "1-8": 0.0076,
      "1-9": 0.0031,
      "2-0": 0.0057,
      "2-1": 0.021,
      "2-2": 0.0388,
      "2-3": 0.0477,
      "2-4": 0.044,
      "2-5": 0.0325,
      "2-6": 0.02,
      "2-7": 0.0105,
      "2-8": 0.0049,
      "2-9": 0.002,
      "3-0": 0.0024,
      "3-1": 0.0089,
      "3-2": 0.0165,
      "3-3": 0.0203,
      "3-4": 0.0187,
      "3-5": 0.0138,
      "3-6": 0.0085,
      "3-7": 0.0045,
      "3-8": 0.0021,
      "3-9": 0.0008,
      "4-0": 0.0008,
      "4-1": 0.0029,
      "4-2": 0.0053,
      "4-3": 0.0065,
      "4-4": 0.006,
      "4-5": 0.0044,
      "4-6": 0.0027,
      "4-7": 0.0014,
      "4-8": 0.0007,
      "5-1": 0.0007,
      "5-2": 0.0013,
      "5-3": 0.0016,
      "5-4": 0.0015,
      "5-5": 0.0011,
      "5-6": 0.0007
    },
    "outcome": {
      "home_win": 0.0859,
      "draw": 0.1066,
      "away_win": 0.8074
    },
    "markets": {
      "over_2_5_goals": 0.8717,
      "under_2_5_goals": 0.1283,
      "btts_yes": 0.7026,
      "btts_no": 0.2974,
      "home_clean_sheet": 0.0251,
      "away_clean_sheet": 0.2794
    },
    "home_ratings": {
      "DR": 6.48,
      "MCR": 7.03,
      "ATR": 7.3,
      "GK": 6.77
    },
    "away_ratings": {
      "DR": 7.52,
      "MCR": 7.79,
      "ATR": 7.49,
      "GK": 7.75
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Sevilla vs Barcelona. Most likely scoreline: 1-3. Lambdas derived from 4 home and 6 away individual player duels.",
      "key_player": "Projected scorer(s): Lucas Stassin, Raphinha, Anthony Gordon, Karim Adeyemi",
      "tactical_analysis": "Tactical parity between 5-4-1 and 3-5-2. Match outcome driven primarily by individual player quality. Away midfield dictates play with ~53% possession expected (Youssouf Fofana vs Lamine Yamal). Total antagonist xG — Home: 0.33, Away: 1.13. Home danger zone: Striker vs Three Centre Backs — Overloaded Defensive Block. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle."
    },
    "confidence": 0.69,
    "home_lambda": 1.275,
    "away_lambda": 3.689,
    "modal_scoreline": null,
    "modal_scoreline_probability": null,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.0859,
      "draw": 0.1066,
      "away_win": 0.8074
    },
    "favorite": "Barcelona",
    "favorite_win_probability": 0.8074,
    "fair_spread": -2.414,
    "fair_total": 4.964,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Sevilla",
        "estimate": 1.275,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Barcelona",
        "estimate": 3.689,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.8717,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.7026,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Sevilla",
        "estimate": 1.0,
        "probability": 0.0251,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Barcelona",
        "estimate": 1.0,
        "probability": 0.2794,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Lucas Stassin (Sevilla)",
        "estimate": 0.3413,
        "probability": 0.5642,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Anthony Gordon (Barcelona)",
        "estimate": 0.8172,
        "probability": 0.5944,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Félix Correia (Sevilla)",
        "estimate": 0.144,
        "probability": 0.3406,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Lamine Yamal (Barcelona)",
        "estimate": 0.1782,
        "probability": 0.2001,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 4.964,
      "expected_total_shots": 29,
      "expected_total_passes": 807,
      "expected_pressing_actions_per_90": 15.9,
      "possession_home_pct": 47.4,
      "possession_away_pct": 52.6,
      "notes": "Barcelona projects to control midfield possession"
    },
    "expected_game_script": {
      "favorite": "Barcelona",
      "favorite_win_probability": 0.8074,
      "script": "Barcelona is the fair winner side, but the baseline remains favorite-led: fair spread -2.41 goals and fair total 4.96.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 14 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Sevilla must keep the match inside one goal.",
      "late_game": "A Barcelona lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Barcelona chance creation leans on Anthony Gordon against José Ángel Carmona, Arouna Sangante in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; Barcelona projects to control midfield possession.",
    "expected_rotation_usage_behavior": [
      "Sevilla: starters carry the main goal usage through Lucas Stassin; bench watchlist: Oso, Isaac Romero, Robbie Ure.",
      "Barcelona: starters carry the main goal usage through Raphinha, Anthony Gordon, Karim Adeyemi; bench watchlist: Gabriel Jesus, Roony Bardghji.",
      "Assist usage should flow through Félix Correia, Lamine Yamal; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Barcelona tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 14 total first-half shots, and 2.48 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 Sevilla 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 Barcelona.",
      "Sevilla 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": {
    "Sevilla": {
      "formation": "5-4-1",
      "players": {
        "Odysseas Vlachodimos": {
          "player_id": 138149,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 191,
          "market_value": 3200000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0,
            "rating": 6.7696,
            "minutes": 88,
            "total_pass": 27,
            "accurate_pass": 14,
            "duels_won": 0,
            "total_long_balls": 18,
            "accurate_long_balls": 6,
            "touches": 35,
            "clearances": 0,
            "ball_recovery": 9,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 1,
            "possession_lost": 12.5202,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 10,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 1.67,
            "shotsOnTargetAgainst": 5.0,
            "cleanSheets": 0.0,
            "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": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.33,
            "expected_saves": 2.38,
            "high_pressure_saves": 0.91,
            "shots_faced": 5.1,
            "opponent_faced": "Anthony Gordon, Lamine Yamal",
            "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": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 12,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": 0.3787
              },
              "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": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assists": 0,
                "expected_assists": 0.0048,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 12,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": -1.758
              },
              "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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 19,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 16,
                "saves": 6,
                "goals_prevented": 0.2996
              },
              "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 16,
                "clearances": 2,
                "ball_recovery": 11,
                "saves": 2,
                "goals_prevented": 0.7724
              },
              "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": 1276,
            "combined_rank_score": 554.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 951.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "projected_match_rating": 6.7696,
            "source_file": "data/player_rankings.csv",
            "player_name": "Odysseas Vlachodimos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Giorgi Papava",
                  "ranking": 1271
                },
                {
                  "player_name": "Pablo Gavi",
                  "ranking": 1272
                },
                {
                  "player_name": "Martin Boakye",
                  "ranking": 1273
                },
                {
                  "player_name": "Rodrigo Caseres",
                  "ranking": 1274
                },
                {
                  "player_name": "Henrikh Mkhitaryan",
                  "ranking": 1275
                }
              ],
              "lower": [
                {
                  "player_name": "Diego Céspedes",
                  "ranking": 1277
                },
                {
                  "player_name": "Gi-pyo Kwon",
                  "ranking": 1278
                },
                {
                  "player_name": "Jeon Hyeon-byung",
                  "ranking": 1279
                },
                {
                  "player_name": "Nikita Demchenko",
                  "ranking": 1280
                },
                {
                  "player_name": "Alessio Romagnoli",
                  "ranking": 1281
                }
              ]
            }
          },
          "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.982,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "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, Sevilla, 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.0,
                "rating": 6.8938,
                "minutes": 90,
                "total_pass": 28,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 18,
                "accurate_long_balls": 6,
                "touches": 36,
                "clearances": 0,
                "ball_recovery": 10,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 1,
                "possession_lost": 12.75,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 10
              },
              "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-06",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.6993,
                  "touches": 35.3593,
                  "totalOwnHalfPasses": 11.4521,
                  "punches": 0.3138,
                  "distribution_accuracy": 0.861,
                  "accurateKeeperSweeper": 0.6993
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.899885654449463,
                    "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.1276
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.07
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0536
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0525
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0327
                        }
                      ],
                      "others": 0.0853,
                      "total": 2.8999
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.0,
                    "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.0669
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0475
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0344
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0327
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0199
                        }
                      ],
                      "others": -0.0405,
                      "total": -0.1869
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.893818378448486,
                    "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.0781
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0702
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0378
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0321
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0272
                        }
                      ],
                      "others": -0.0624,
                      "total": 6.8938
                    }
                  }
                ],
                "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": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7696,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 14,
                "duels_won": 0,
                "total_long_balls": 18,
                "accurate_long_balls": 6,
                "touches": 35,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 1,
                "possession_lost": 12.5202,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 10
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.982
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7696,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 14,
                "duels_won": 0,
                "total_long_balls": 18,
                "accurate_long_balls": 6,
                "touches": 35,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 1,
                "possession_lost": 12.5202,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.0,
                "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": 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": "Sevilla"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.8476,
                  "after": 2.8827
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7696,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 14,
                "duels_won": 0,
                "total_long_balls": 18,
                "accurate_long_balls": 6,
                "touches": 35,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 1,
                "possession_lost": 12.5202,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.0,
                "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": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33
              },
              "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.0,
                "rating": 6.7696,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 14,
                "duels_won": 0,
                "total_long_balls": 18,
                "accurate_long_balls": 6,
                "touches": 35,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 1,
                "possession_lost": 12.5202,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.0,
                "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": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "expected_saves": 2.38,
                "high_pressure_saves": 0.91,
                "shots_faced": 5.1,
                "opponent_faced": "Anthony Gordon, Lamine Yamal",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Anthony Gordon, Lamine Yamal",
                  "matchup_zone": "Goalkeeper shot-stopping context"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7696,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 14,
                "duels_won": 0,
                "total_long_balls": 18,
                "accurate_long_balls": 6,
                "touches": 35,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 1,
                "possession_lost": 12.5202,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.0,
                "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": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "expected_saves": 2.38,
                "high_pressure_saves": 0.91,
                "shots_faced": 5.1,
                "opponent_faced": "Anthony Gordon, Lamine Yamal",
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 79.0)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7696,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 14,
                "duels_won": 0,
                "total_long_balls": 18,
                "accurate_long_balls": 6,
                "touches": 35,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 1,
                "possession_lost": 12.5202,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.0,
                "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": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "expected_saves": 2.38,
                "high_pressure_saves": 0.91,
                "shots_faced": 5.1,
                "opponent_faced": "Anthony Gordon, Lamine Yamal",
                "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": 79.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1276,
                "fifa_rank": 951.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 6.7696,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 14,
                "duels_won": 0,
                "total_long_balls": 18,
                "accurate_long_balls": 6,
                "touches": 35,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 1,
                "possession_lost": 12.5202,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.0,
                "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": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "expected_saves": 2.38,
                "high_pressure_saves": 0.91,
                "shots_faced": 5.1,
                "opponent_faced": "Anthony Gordon, Lamine Yamal",
                "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": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 11.1469,
                "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.0,
                "rating": 6.7696,
                "minutes": 88,
                "total_pass": 27,
                "accurate_pass": 14,
                "duels_won": 0,
                "total_long_balls": 18,
                "accurate_long_balls": 6,
                "touches": 35,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 1,
                "possession_lost": 12.5202,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 10,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.67,
                "shotsOnTargetAgainst": 5.0,
                "cleanSheets": 0.0,
                "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": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "expected_saves": 2.38,
                "high_pressure_saves": 0.91,
                "shots_faced": 5.1,
                "opponent_faced": "Anthony Gordon, Lamine Yamal",
                "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": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 7.168,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            }
          ]
        },
        "Kike Salas": {
          "player_id": 1097719,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 186,
          "market_value": 15400000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "rating": 6.8206,
            "minutes": 92,
            "total_pass": 44,
            "accurate_pass": 31,
            "duels_won": 8,
            "total_long_balls": 13,
            "accurate_long_balls": 4,
            "total_own_half_passes": 16,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 28,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 59,
            "possession_lost": 15.7141,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "aerial_lost": 4,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 2,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0308,
            "total_shots": 1,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 52,
            "progressive_carries": 1,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.5,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 65.6,
            "pointsPerMatch": 1.5,
            "netGoalDifferencePer90": 0.0,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 1.6,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.489,
            "opponent_faced": "Dani Olmo",
            "pressing_zone": "RWB vs LWB",
            "matchup_zone": "LWB vs RWB",
            "antagonist_source": "attacking_duel, defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0367,
            "projected_assists": 0,
            "assist_probability": 0.0159,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0132,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 5,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0486,
                "expected_assists": 0.0278,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 41,
                "tackles": 1,
                "clearances": 4,
                "aerial_won": 5,
                "duels_won": 8,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 88,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0101,
                "expected_assists": 0.0341,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 3,
                "duels_won": 7,
                "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": 3204,
            "combined_rank_score": 1158.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 330.0,
            "sofascore_rating": 7.0115,
            "sofascore_appearances": 26.0,
            "fifa_rank": 1986.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 6.8206,
            "source_file": "data/player_rankings.csv",
            "player_name": "Kike Salas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Juan Iglesias",
                  "ranking": 3199
                },
                {
                  "player_name": "Thierno Barry",
                  "ranking": 3200
                },
                {
                  "player_name": "Tiago Palacios",
                  "ranking": 3201
                },
                {
                  "player_name": "Frederik Rønnow",
                  "ranking": 3202
                },
                {
                  "player_name": "David Affengruber",
                  "ranking": 3203
                }
              ],
              "lower": [
                {
                  "player_name": "Franck Honorat",
                  "ranking": 3205
                },
                {
                  "player_name": "Djibril Sow",
                  "ranking": 3206
                },
                {
                  "player_name": "Pepelu",
                  "ranking": 3207
                },
                {
                  "player_name": "Dayann Methalie",
                  "ranking": 3208
                },
                {
                  "player_name": "Robin Gosens",
                  "ranking": 3209
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.457,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0251,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 177.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.53,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Sevilla, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "rating": 6.6539,
                "minutes": 89,
                "total_pass": 43,
                "accurate_pass": 30,
                "duels_won": 8,
                "total_long_balls": 12,
                "accurate_long_balls": 4,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 15.33,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 51,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 29.2507,
                  "touches_p90": 57.5279,
                  "possessionLostCtrl": 15.5462,
                  "totalClearance": 5.0583,
                  "aerialWon": 4.4383
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8845792412757874,
                    "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.0658
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0251
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0186
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0158
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.01
                        }
                      ],
                      "others": 0.0217,
                      "total": 0.8846
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7834511995315552,
                    "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.1637
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1158
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.1097
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0595
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.043
                        }
                      ],
                      "others": 0.1415,
                      "total": 1.7835
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1238737106323242,
                    "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.1964
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1194
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0704
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0473
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0369
                        }
                      ],
                      "others": 0.0986,
                      "total": 1.1239
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.498956680297852,
                    "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.4169
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3663
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2564
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1618
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.159
                        }
                      ],
                      "others": 0.7916,
                      "total": 4.499
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.0615127086639404,
                    "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.219
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0965
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.101
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0948
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0906
                        }
                      ],
                      "others": 0.2175,
                      "total": 2.0615
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.653905868530273,
                    "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.0591
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0228
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0221
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0194
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0191
                        }
                      ],
                      "others": 0.0493,
                      "total": 6.6539
                    }
                  }
                ],
                "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.0251, quality 0.584)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 6.8206,
                "minutes": 92,
                "total_pass": 44,
                "accurate_pass": 31,
                "duels_won": 8,
                "total_long_balls": 13,
                "accurate_long_balls": 4,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 15.7141,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0308,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 52,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 15400000,
                "quality_factor": 0.5835,
                "boost_factor": 1.0251
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0542)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 6.8206,
                "minutes": 92,
                "total_pass": 44,
                "accurate_pass": 31,
                "duels_won": 8,
                "total_long_balls": 13,
                "accurate_long_balls": 4,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 15.7141,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0308,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 52,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 65.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": -1.02
              },
              "params": {
                "blend_weight": 0.0542,
                "history_matches": 3,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Sevilla"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0812
                },
                {
                  "stat": "totalShots",
                  "before": 1.0251,
                  "after": 1.0524
                },
                {
                  "stat": "wasFouled",
                  "before": 1.7118,
                  "after": 1.7003
                },
                {
                  "stat": "wonTackle",
                  "before": 1.152,
                  "after": 1.1438
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9067,
                  "after": 0.9118
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 6.8206,
                "minutes": 92,
                "total_pass": 44,
                "accurate_pass": 31,
                "duels_won": 8,
                "total_long_balls": 13,
                "accurate_long_balls": 4,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 15.7141,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0308,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 52,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 65.6,
                "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": 2,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 6.8206,
                "minutes": 92,
                "total_pass": 44,
                "accurate_pass": 31,
                "duels_won": 8,
                "total_long_balls": 13,
                "accurate_long_balls": 4,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 15.7141,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0308,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 52,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 65.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.489,
                "opponent_faced": "Dani Olmo",
                "pressing_zone": "RWB vs LWB",
                "matchup_zone": "LWB vs RWB",
                "antagonist_source": "attacking_duel, defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Dani Olmo",
                  "matchup_zone": "LWB vs RWB"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 6.8206,
                "minutes": 92,
                "total_pass": 44,
                "accurate_pass": 31,
                "duels_won": 8,
                "total_long_balls": 13,
                "accurate_long_balls": 4,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 15.7141,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0308,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 52,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 65.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.489,
                "opponent_faced": "Dani Olmo",
                "pressing_zone": "RWB vs LWB",
                "matchup_zone": "LWB vs RWB",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 76.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 6.8206,
                "minutes": 92,
                "total_pass": 44,
                "accurate_pass": 31,
                "duels_won": 8,
                "total_long_balls": 13,
                "accurate_long_balls": 4,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 15.7141,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0308,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 52,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 65.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.489,
                "opponent_faced": "Dani Olmo",
                "pressing_zone": "RWB vs LWB",
                "matchup_zone": "LWB vs RWB",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3204,
                "fifa_rank": 1986.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.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": 5,
                "aerial_won": 2,
                "rating": 6.8206,
                "minutes": 92,
                "total_pass": 44,
                "accurate_pass": 31,
                "duels_won": 8,
                "total_long_balls": 13,
                "accurate_long_balls": 4,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 15.7141,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0308,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 52,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 65.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.489,
                "opponent_faced": "Dani Olmo",
                "pressing_zone": "RWB vs LWB",
                "matchup_zone": "LWB vs RWB",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0367,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0367,
                "scorer_weight": 0.4088,
                "squad_weight_total": 11.1469,
                "weight_share": 0.0367,
                "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": 5,
                "aerial_won": 2,
                "rating": 6.8206,
                "minutes": 92,
                "total_pass": 44,
                "accurate_pass": 31,
                "duels_won": 8,
                "total_long_balls": 13,
                "accurate_long_balls": 4,
                "total_own_half_passes": 16,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 15.7141,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0308,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 52,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 65.6,
                "pointsPerMatch": 1.5,
                "netGoalDifferencePer90": 0.0,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.489,
                "opponent_faced": "Dani Olmo",
                "pressing_zone": "RWB vs LWB",
                "matchup_zone": "LWB vs RWB",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0367,
                "projected_assists": 0,
                "assist_probability": 0.0159,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0159,
                "provider_weight": 0.1139,
                "squad_weight_total": 7.168,
                "weight_share": 0.0159,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "José Ángel Carmona": {
          "player_id": 1015240,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 22,
          "height": 183,
          "market_value": 11100000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "rating": 5.6429,
            "minutes": 21,
            "total_pass": 4,
            "accurate_pass": 1,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 5.0529,
            "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.0,
            "expected_assists": 0.0101,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.646,
            "opponent_faced": "Anthony Gordon",
            "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.0141,
            "projected_assists": 0,
            "assist_probability": 0.0085,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 19,
                "rating": 6.4,
                "assists": 0,
                "expected_assists": 0.0298,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 1,
                "key_pass": 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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 22,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1,
                "interceptions": 1,
                "clearances": 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": 995,
            "combined_rank_score": 607.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 770.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 5.6429,
            "source_file": "data/player_rankings.csv",
            "player_name": "José Ángel Carmona",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Saúl Ñíguez",
                  "ranking": 990
                },
                {
                  "player_name": "Abduvokhid Gulomov",
                  "ranking": 991
                },
                {
                  "player_name": "Danila Forov",
                  "ranking": 992
                },
                {
                  "player_name": "Bradley Lyons",
                  "ranking": 993
                },
                {
                  "player_name": "Dario Šarić",
                  "ranking": 994
                }
              ],
              "lower": [
                {
                  "player_name": "José Luis Gayà",
                  "ranking": 996
                },
                {
                  "player_name": "Rafael Bauzà",
                  "ranking": 997
                },
                {
                  "player_name": "Asier Osambela",
                  "ranking": 998
                },
                {
                  "player_name": "Nurbek Sarsenbaev",
                  "ranking": 999
                },
                {
                  "player_name": "Diyorbek Mamataliev",
                  "ranking": 1000
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0106,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 2 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 5.5838,
                "minutes": 20,
                "total_pass": 4,
                "accurate_pass": 1,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 1.0,
                  "touches_p90": 52.7628,
                  "possessionLostCtrl": 5.0811,
                  "totalClearance": 0.4595,
                  "aerialWon": 0.0
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9165498614311218,
                    "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.0438
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0251
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0253
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0213
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.015
                        }
                      ],
                      "others": -0.0522,
                      "total": 0.9165
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.0580872297286987,
                    "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.0673
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0568
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0535
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0438
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0394
                        }
                      ],
                      "others": -0.0364,
                      "total": 1.0581
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5552834272384644,
                    "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.1236
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0589
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.047
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0433
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0245
                        }
                      ],
                      "others": -0.0149,
                      "total": 0.5553
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.6976113319396973,
                    "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.4637
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3022
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.2851
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1801
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.176
                        }
                      ],
                      "others": -0.2631,
                      "total": 2.6976
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9799620509147644,
                    "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": "passValueNormalized",
                          "contribution": -0.1093
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0502
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0498
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0425
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0373
                        }
                      ],
                      "others": -0.148,
                      "total": 0.98
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 5.583775043487549,
                    "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": "accuratePass",
                          "contribution": -0.6337
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.2911
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.2505
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.09
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0655
                        }
                      ],
                      "others": 0.0719,
                      "total": 5.5838
                    }
                  }
                ],
                "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.0106, quality 0.535)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 5.6429,
                "minutes": 21,
                "total_pass": 4,
                "accurate_pass": 1,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.0529,
                "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.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 11100000,
                "quality_factor": 0.5353,
                "boost_factor": 1.0106
              }
            },
            {
              "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,
                "rating": 5.6429,
                "minutes": 21,
                "total_pass": 4,
                "accurate_pass": 1,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.0529,
                "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.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 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,
                "rating": 5.6429,
                "minutes": 21,
                "total_pass": 4,
                "accurate_pass": 1,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.0529,
                "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.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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": "Anthony Gordon",
                  "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 5.6429,
                "minutes": 21,
                "total_pass": 4,
                "accurate_pass": 1,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.0529,
                "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.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 80.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 5.6429,
                "minutes": 21,
                "total_pass": 4,
                "accurate_pass": 1,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.0529,
                "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.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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": 80.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 995,
                "fifa_rank": 770.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 80.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,
                "rating": 5.6429,
                "minutes": 21,
                "total_pass": 4,
                "accurate_pass": 1,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.0529,
                "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.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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.0141,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0141,
                "scorer_weight": 0.1566,
                "squad_weight_total": 11.1469,
                "weight_share": 0.0141,
                "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,
                "rating": 5.6429,
                "minutes": 21,
                "total_pass": 4,
                "accurate_pass": 1,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 2,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.0529,
                "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.0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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.0141,
                "projected_assists": 0,
                "assist_probability": 0.0085,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0085,
                "provider_weight": 0.0611,
                "squad_weight_total": 7.168,
                "weight_share": 0.0085,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Arouna Sangante": {
          "player_id": 1035988,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 189,
          "market_value": 7700000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "rating": 6.6441,
            "minutes": 71,
            "total_pass": 37,
            "accurate_pass": 29,
            "duels_won": 4,
            "total_long_balls": 6,
            "accurate_long_balls": 0,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 47,
            "possession_lost": 9.3162,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "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.0,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 45,
            "progressive_carries": 1,
            "key_pass": 0,
            "offsides": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "minutesPct": 58.1,
            "pointsPerMatch": 3.0,
            "netGoalDifferencePer90": 2.29,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.646,
            "opponent_faced": "Anthony Gordon",
            "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.0342,
            "projected_assists": 0,
            "assist_probability": 0.0074,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 56,
                "rating": 5.9,
                "assists": 0,
                "expected_assists": 0.004,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 19,
                "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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 68,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 4,
                "duels_won": 5,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 39,
                "tackles": 1,
                "interceptions": 3,
                "clearances": 4,
                "aerial_won": 4,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3868,
            "combined_rank_score": 1861.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 2.0,
            "fifa_rank": 2900.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 6.6441,
            "source_file": "data/player_rankings.csv",
            "player_name": "Arouna Sangante",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dimitris Giannoulis",
                  "ranking": 3863
                },
                {
                  "player_name": "Marcelino Núñez",
                  "ranking": 3864
                },
                {
                  "player_name": "Finn Dahmen",
                  "ranking": 3865
                },
                {
                  "player_name": "Keven Schlotterbeck",
                  "ranking": 3866
                },
                {
                  "player_name": "Paulo Díaz",
                  "ranking": 3867
                }
              ],
              "lower": [
                {
                  "player_name": "Han-Noah Massengo",
                  "ranking": 3869
                },
                {
                  "player_name": "Eduardo Salvio",
                  "ranking": 3870
                },
                {
                  "player_name": "Amos Pieper",
                  "ranking": 3871
                },
                {
                  "player_name": "Victor Boniface",
                  "ranking": 3872
                },
                {
                  "player_name": "Matt Doherty",
                  "ranking": 3873
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.454,
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.454,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9985,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 157.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Sevilla, rel: 0.11, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.6539,
                "minutes": 71,
                "total_pass": 37,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 9.33,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 45,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 28.2517,
                  "touches_p90": 58.5845,
                  "possessionLostCtrl": 9.2225,
                  "totalClearance": 3.4947,
                  "aerialWon": 2.8338
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9487316608428955,
                    "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.0355
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0175
                        },
                        {
                          "name": "error_severity",
                          "contribution": -0.0104
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.01
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0089
                        }
                      ],
                      "others": 0.0142,
                      "total": 0.9487
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1494399309158325,
                    "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.0725
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0659
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0456
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0405
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0369
                        }
                      ],
                      "others": -0.0255,
                      "total": 1.1494
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6836972236633301,
                    "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": "totalClearance_p90",
                          "contribution": -0.0678
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0542
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0401
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0395
                        },
                        {
                          "name": "error_severity",
                          "contribution": -0.0305
                        }
                      ],
                      "others": -0.0319,
                      "total": 0.6837
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.237573623657227,
                    "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": 0.3406
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.2288
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.1946
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.1837
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1626
                        }
                      ],
                      "others": 0.4385,
                      "total": 4.2376
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.2367608547210693,
                    "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": "passValueNormalized",
                          "contribution": -0.1581
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0707
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0645
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0599
                        },
                        {
                          "name": "error_severity",
                          "contribution": 0.0543
                        }
                      ],
                      "others": 0.0232,
                      "total": 1.2368
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.653900623321533,
                    "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.0454
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0364
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0226
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0192
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0161
                        }
                      ],
                      "others": 0.0535,
                      "total": 6.6539
                    }
                  }
                ],
                "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.9985, quality 0.495)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.6441,
                "minutes": 71,
                "total_pass": 37,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 9.3162,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 45,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 7700000,
                "quality_factor": 0.4951,
                "boost_factor": 0.9985
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0460)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.6441,
                "minutes": 71,
                "total_pass": 37,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 9.3162,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 45,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 58.1,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 2.29
              },
              "params": {
                "blend_weight": 0.046,
                "history_matches": 3,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Sevilla"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.9473,
                  "after": 0.9849
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "fouls",
                  "before": 1.328,
                  "after": 1.3481
                }
              ]
            },
            {
              "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,
                "rating": 6.6441,
                "minutes": 71,
                "total_pass": 37,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 9.3162,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 45,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 58.1,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 2.29
              },
              "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,
                "rating": 6.6441,
                "minutes": 71,
                "total_pass": 37,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 9.3162,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 45,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 58.1,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 2.29,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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": "Anthony Gordon",
                  "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.6441,
                "minutes": 71,
                "total_pass": 37,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 9.3162,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 45,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 58.1,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 2.29,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 74.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.6441,
                "minutes": 71,
                "total_pass": 37,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 9.3162,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 45,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 58.1,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 2.29,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3868,
                "fifa_rank": 2900.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.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,
                "rating": 6.6441,
                "minutes": 71,
                "total_pass": 37,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 9.3162,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 45,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 58.1,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 2.29,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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.0342,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0342,
                "scorer_weight": 0.3811,
                "squad_weight_total": 11.1469,
                "weight_share": 0.0342,
                "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,
                "rating": 6.6441,
                "minutes": 71,
                "total_pass": 37,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 6,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 9.3162,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 45,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "minutesPct": 58.1,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 2.29,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.646,
                "opponent_faced": "Anthony Gordon",
                "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.0342,
                "projected_assists": 0,
                "assist_probability": 0.0074,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0074,
                "provider_weight": 0.0532,
                "squad_weight_total": 7.168,
                "weight_share": 0.0074,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Gabriel Suazo": {
          "player_id": 818986,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 178,
          "market_value": 6600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "rating": 6.5107,
            "minutes": 90,
            "total_pass": 41,
            "accurate_pass": 33,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 21,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 65,
            "possession_lost": 14.172,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0696,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 12,
            "total_progression": 39,
            "progressive_carries": 1,
            "key_pass": 0,
            "offsides": 0,
            "yellowCards": 0.6667,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.33,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.4,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.418,
            "opponent_faced": "Raphinha",
            "pressing_zone": "LWB vs RWB",
            "matchup_zone": "RWB vs LWB",
            "antagonist_source": "attacking_duel, defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0137,
            "projected_assists": 0,
            "assist_probability": 0.0241,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.1018,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 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"
            },
            {
              "match_id": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.0101,
                "expected_assists": 0.1379,
                "total_shots": 1,
                "total_pass": 62,
                "accurate_pass": 50,
                "key_pass": 5,
                "interceptions": 1,
                "aerial_won": 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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0206,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 9,
                "aerial_won": 3,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0095,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 27,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 8,
                "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": 3708,
            "combined_rank_score": 1663.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2882.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "projected_match_rating": 6.5107,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Suazo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bryan Gil",
                  "ranking": 3703
                },
                {
                  "player_name": "Taiwo Awoniyi",
                  "ranking": 3704
                },
                {
                  "player_name": "Ismail Jakobs",
                  "ranking": 3705
                },
                {
                  "player_name": "Denis Suárez",
                  "ranking": 3706
                },
                {
                  "player_name": "Ernest Muçi",
                  "ranking": 3707
                }
              ],
              "lower": [
                {
                  "player_name": "İrfan Can Kahveci",
                  "ranking": 3709
                },
                {
                  "player_name": "Lucas Beltrán",
                  "ranking": 3710
                },
                {
                  "player_name": "Niclas Eliasson",
                  "ranking": 3711
                },
                {
                  "player_name": "Orri Óskarsson",
                  "ranking": 3712
                },
                {
                  "player_name": "Santiago Núñez",
                  "ranking": 3713
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.53,
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.53,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9945,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "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.33,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 6 target models; FBref 2026-2027 prior blended (La Liga, Sevilla, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5465,
                "minutes": 90,
                "total_pass": 42,
                "accurate_pass": 34,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 14.25,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.07,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 39,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 33.554,
                  "touches_p90": 64.5544,
                  "possessionLostCtrl": 14.0254,
                  "totalClearance": 2.5471,
                  "aerialWon": 1.9129
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7916533946990967,
                    "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.0637
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0175
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0152
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0145
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0125
                        }
                      ],
                      "others": -0.0307,
                      "total": 0.7917
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.992221713066101,
                    "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.1709
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.146
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.1125
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0996
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0632
                        }
                      ],
                      "others": 0.1711,
                      "total": 1.9922
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.4943372011184692,
                    "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.2247
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1219
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.1078
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0562
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0432
                        }
                      ],
                      "others": 0.073,
                      "total": 1.4943
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.259016275405884,
                    "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.6053
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2349
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.2067
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1636
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.1188
                        }
                      ],
                      "others": -0.2847,
                      "total": 2.259
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9982686042785645,
                    "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.0876
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.055
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.052
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0429
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0315
                        }
                      ],
                      "others": -0.1236,
                      "total": 0.9983
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.546492576599121,
                    "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.0613
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0312
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0304
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0287
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0244
                        }
                      ],
                      "others": -0.0498,
                      "total": 6.5465
                    }
                  }
                ],
                "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.9945, quality 0.482)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5107,
                "minutes": 90,
                "total_pass": 41,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 14.172,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0696,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 39,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9945
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5107,
                "minutes": 90,
                "total_pass": 41,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 14.172,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0696,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 39,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "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": "Sevilla"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.2648
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.2167
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.7873,
                  "after": 0.8027
                },
                {
                  "stat": "wonTackle",
                  "before": 1.4862,
                  "after": 1.4752
                },
                {
                  "stat": "totalShots",
                  "before": 0.2486,
                  "after": 0.2545
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5107,
                "minutes": 90,
                "total_pass": 41,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 14.172,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0696,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 39,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33
              },
              "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": 2,
                "aerial_won": 1,
                "rating": 6.5107,
                "minutes": 90,
                "total_pass": 41,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 14.172,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0696,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 39,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.418,
                "opponent_faced": "Raphinha",
                "pressing_zone": "LWB vs RWB",
                "matchup_zone": "RWB vs LWB",
                "antagonist_source": "attacking_duel, defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Raphinha",
                  "matchup_zone": "RWB vs LWB"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5107,
                "minutes": 90,
                "total_pass": 41,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 14.172,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0696,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 39,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.418,
                "opponent_faced": "Raphinha",
                "pressing_zone": "LWB vs RWB",
                "matchup_zone": "RWB vs LWB",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 74.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.5107,
                "minutes": 90,
                "total_pass": 41,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 14.172,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0696,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 39,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.418,
                "opponent_faced": "Raphinha",
                "pressing_zone": "LWB vs RWB",
                "matchup_zone": "RWB vs LWB",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3708,
                "fifa_rank": 2882.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.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": 2,
                "aerial_won": 1,
                "rating": 6.5107,
                "minutes": 90,
                "total_pass": 41,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 14.172,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0696,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 39,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.418,
                "opponent_faced": "Raphinha",
                "pressing_zone": "LWB vs RWB",
                "matchup_zone": "RWB vs LWB",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0137,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0137,
                "scorer_weight": 0.153,
                "squad_weight_total": 11.1469,
                "weight_share": 0.0137,
                "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": 2,
                "aerial_won": 1,
                "rating": 6.5107,
                "minutes": 90,
                "total_pass": 41,
                "accurate_pass": 33,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 13,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 14.172,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0696,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 39,
                "progressive_carries": 1,
                "key_pass": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.418,
                "opponent_faced": "Raphinha",
                "pressing_zone": "LWB vs RWB",
                "matchup_zone": "RWB vs LWB",
                "antagonist_source": "attacking_duel, defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0137,
                "projected_assists": 0,
                "assist_probability": 0.0241,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0241,
                "provider_weight": 0.1729,
                "squad_weight_total": 7.168,
                "weight_share": 0.0241,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Andrés Castrin": {
          "player_id": 1428699,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 188,
          "market_value": 6500000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 1,
            "rating": 6.7774,
            "minutes": 70,
            "total_pass": 30,
            "accurate_pass": 26,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 37,
            "possession_lost": 4.3047,
            "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": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0099,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 10,
            "total_progression": 40,
            "progressive_carries": 0,
            "key_pass": 0,
            "opponent_faced": "Anthony Gordon",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.03,
            "projected_assists": 0,
            "assist_probability": 0.0094,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 30,
                "rating": 6.4,
                "assists": 0,
                "expected_goals": 0.0215,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0263,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 38,
                "key_pass": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 2,
                "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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.0092,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 3967,
            "combined_rank_score": 1939.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 359.0,
            "sofascore_rating": 6.9789,
            "sofascore_appearances": 19.0,
            "fifa_rank": 3519.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "projected_match_rating": 6.7774,
            "source_file": "data/player_rankings.csv",
            "player_name": "Andres Castrin",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Milot Rashica",
                  "ranking": 3962
                },
                {
                  "player_name": "Jeppe Tverskov",
                  "ranking": 3963
                },
                {
                  "player_name": "Cristian Espinoza",
                  "ranking": 3964
                },
                {
                  "player_name": "Gonzalo Valle",
                  "ranking": 3965
                },
                {
                  "player_name": "Marcel Hartel",
                  "ranking": 3966
                }
              ],
              "lower": [
                {
                  "player_name": "Thiago Fernandez",
                  "ranking": 3968
                },
                {
                  "player_name": "Sam Surridge",
                  "ranking": 3969
                },
                {
                  "player_name": "Kévin Denkey",
                  "ranking": 3970
                },
                {
                  "player_name": "Sasha Marcich",
                  "ranking": 3971
                },
                {
                  "player_name": "Joe Bell",
                  "ranking": 3972
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9942,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 1,
                "rating": 6.8171,
                "minutes": 70,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 4.33,
                "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": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 40,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 24.2867,
                  "touches_p90": 41.8027,
                  "possessionLostCtrl": 3.9572,
                  "totalClearance": 3.173,
                  "aerialWon": 1.6113
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9568228125572205,
                    "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.0403
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0289
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0224
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0216
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0195
                        }
                      ],
                      "others": 0.0101,
                      "total": 0.9568
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.336197853088379,
                    "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.075
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0424
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0369
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0362
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0341
                        }
                      ],
                      "others": 0.0635,
                      "total": 1.3362
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8609268665313721,
                    "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.0759
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.043
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0412
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0319
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0263
                        }
                      ],
                      "others": 0.0731,
                      "total": 0.8609
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.594616889953613,
                    "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": 0.3833
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3996
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2821
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.2197
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.1947
                        }
                      ],
                      "others": 0.712,
                      "total": 5.5946
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.412325143814087,
                    "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.0753
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0583
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.05
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0429
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0401
                        }
                      ],
                      "others": 0.106,
                      "total": 1.4123
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.817147254943848,
                    "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.0458
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0263
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0208
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0178
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0165
                        }
                      ],
                      "others": 0.0628,
                      "total": 6.8171
                    }
                  }
                ],
                "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": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 1,
                "rating": 6.7774,
                "minutes": 70,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 4.3047,
                "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": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 40,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9942
              }
            },
            {
              "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": 1,
                "rating": 6.7774,
                "minutes": 70,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 4.3047,
                "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": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 40,
                "progressive_carries": 0,
                "key_pass": 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": 1,
                "rating": 6.7774,
                "minutes": 70,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 4.3047,
                "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": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 40,
                "progressive_carries": 0,
                "key_pass": 0,
                "opponent_faced": "Anthony Gordon",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Anthony Gordon",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 1,
                "rating": 6.7774,
                "minutes": 70,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 4.3047,
                "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": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 40,
                "progressive_carries": 0,
                "key_pass": 0,
                "opponent_faced": "Anthony Gordon",
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 73.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 1,
                "rating": 6.7774,
                "minutes": 70,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 4.3047,
                "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": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 40,
                "progressive_carries": 0,
                "key_pass": 0,
                "opponent_faced": "Anthony Gordon",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3967,
                "fifa_rank": 3519.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": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 1,
                "rating": 6.7774,
                "minutes": 70,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 4.3047,
                "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": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 40,
                "progressive_carries": 0,
                "key_pass": 0,
                "opponent_faced": "Anthony Gordon",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.03,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.03,
                "scorer_weight": 0.3347,
                "squad_weight_total": 11.1469,
                "weight_share": 0.03,
                "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": 6,
                "aerial_won": 1,
                "rating": 6.7774,
                "minutes": 70,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 4.3047,
                "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": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 40,
                "progressive_carries": 0,
                "key_pass": 0,
                "opponent_faced": "Anthony Gordon",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.03,
                "projected_assists": 0,
                "assist_probability": 0.0094,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0094,
                "provider_weight": 0.0676,
                "squad_weight_total": 7.168,
                "weight_share": 0.0094,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Youssouf Fofana": {
          "player_id": 945062,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 24,
          "height": 185,
          "market_value": 25000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0449,
            "assists": 0,
            "expected_goals": 0.1406,
            "rating": 7.1739,
            "minutes": 38,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 4,
            "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": 17,
            "possession_lost": 4.2128,
            "dispossessed": 1.0532,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 14,
            "progressive_carries": 0,
            "total_shots": 1,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.9,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.328,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Lamine Yamal",
            "opponent_faced": "Lamine Yamal",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0564,
            "projected_assists": 0,
            "assist_probability": 0.1613,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 36,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.0082,
                "expected_assists": 0.0318,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 857,
            "combined_rank_score": 406.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 739.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 7.1739,
            "source_file": "data/player_rankings.csv",
            "player_name": "Youssouf Fofana",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Leandro Trossard",
                  "ranking": 852
                },
                {
                  "player_name": "André-Franck Zambo Anguissa",
                  "ranking": 853
                },
                {
                  "player_name": "Igor Thiago",
                  "ranking": 854
                },
                {
                  "player_name": "Mukhammadali Alikulov",
                  "ranking": 855
                },
                {
                  "player_name": "Jamal Musiala",
                  "ranking": 856
                }
              ],
              "lower": [
                {
                  "player_name": "Connor Chapman",
                  "ranking": 858
                },
                {
                  "player_name": "Brad Tapp",
                  "ranking": 859
                },
                {
                  "player_name": "Éderson",
                  "ranking": 860
                },
                {
                  "player_name": "Machop Chol",
                  "ranking": 861
                },
                {
                  "player_name": "Jong-hyun Ko",
                  "ranking": 862
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0532,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 1 historical appearances across 5 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0427,
                "assists": 0,
                "expected_goals": 0.0558,
                "rating": 6.8116,
                "minutes": 36,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 4,
                "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": 16,
                "possession_lost": 4.0,
                "dispossessed": 1.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 13,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 7.5,
                  "ballRecovery": 3.0,
                  "intensity_index": 4.817,
                  "expectedAssists": 0.0318,
                  "kilometersCovered": 4.39
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7008859515190125,
                    "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.0648
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.062
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.05
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0407
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0335
                        }
                      ],
                      "others": -0.1412,
                      "total": 0.7009
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.042653847485780716,
                    "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.013
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0093
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0061
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0033
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0156,
                      "total": 0.0427
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07266411185264587,
                    "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.0066
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0046
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0043
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0041
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0149,
                      "total": 0.0727
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05575557425618172,
                    "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": "ballCarriesCount_p90",
                          "contribution": -0.0155
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.012
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0101
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0063
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.005
                        }
                      ],
                      "others": -0.004,
                      "total": 0.0558
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.811620712280273,
                    "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.0237
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0187
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0179
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0175
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0173
                        }
                      ],
                      "others": -0.0333,
                      "total": 6.8116
                    }
                  }
                ],
                "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.0532, quality 0.677)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0449,
                "assists": 0,
                "expected_goals": 0.0587,
                "rating": 7.1739,
                "minutes": 38,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 4,
                "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": 17,
                "possession_lost": 4.2128,
                "dispossessed": 1.0532,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 25000000,
                "quality_factor": 0.6773,
                "boost_factor": 1.0532
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0449,
                "assists": 0,
                "expected_goals": 0.0587,
                "rating": 7.1739,
                "minutes": 38,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 4,
                "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": 17,
                "possession_lost": 4.2128,
                "dispossessed": 1.0532,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 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.0449,
                "assists": 0,
                "expected_goals": 0.0587,
                "rating": 7.1739,
                "minutes": 38,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 4,
                "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": 17,
                "possession_lost": 4.2128,
                "dispossessed": 1.0532,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.328,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lamine Yamal",
                "opponent_faced": "Lamine Yamal",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lamine Yamal",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.328,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.2
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0449,
                "assists": 0,
                "expected_goals": 0.1406,
                "rating": 7.1739,
                "minutes": 38,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 4,
                "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": 17,
                "possession_lost": 4.2128,
                "dispossessed": 1.0532,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.328,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lamine Yamal",
                "opponent_faced": "Lamine Yamal",
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0587,
                  "after": 0.1406
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 80.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0449,
                "assists": 0,
                "expected_goals": 0.1406,
                "rating": 7.1739,
                "minutes": 38,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 4,
                "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": 17,
                "possession_lost": 4.2128,
                "dispossessed": 1.0532,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.328,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lamine Yamal",
                "opponent_faced": "Lamine Yamal",
                "antagonist_source": "attacking_duel, 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": 1,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 857,
                "fifa_rank": 739.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0449,
                "assists": 0,
                "expected_goals": 0.1406,
                "rating": 7.1739,
                "minutes": 38,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 4,
                "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": 17,
                "possession_lost": 4.2128,
                "dispossessed": 1.0532,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.328,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lamine Yamal",
                "opponent_faced": "Lamine Yamal",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0564,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0564,
                "scorer_weight": 0.6288,
                "squad_weight_total": 11.1469,
                "weight_share": 0.0564,
                "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.0449,
                "assists": 0,
                "expected_goals": 0.1406,
                "rating": 7.1739,
                "minutes": 38,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 4,
                "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": 17,
                "possession_lost": 4.2128,
                "dispossessed": 1.0532,
                "duels_lost": 4,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 14,
                "progressive_carries": 0,
                "total_shots": 1,
                "dribbles_attempted": 3,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.328,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lamine Yamal",
                "opponent_faced": "Lamine Yamal",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0564,
                "projected_assists": 0,
                "assist_probability": 0.1613,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1613,
                "provider_weight": 1.1564,
                "squad_weight_total": 7.168,
                "weight_share": 0.1613,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Lucien Agoumé": {
          "player_id": 960006,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 6,
          "height": 185,
          "market_value": 15500000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0898,
            "assists": 0,
            "expected_goals": 0.1219,
            "rating": 7.0834,
            "minutes": 92,
            "total_pass": 39,
            "accurate_pass": 31,
            "duels_won": 6,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 56,
            "possession_lost": 9.9975,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 3,
            "tackles": 3,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 3,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 12,
            "total_progression": 43,
            "progressive_carries": 1,
            "total_shots": 1,
            "offsides": 0,
            "yellowCards": 0.3333,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.33,
            "opponent_faced": "Lamine Yamal",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0503,
            "projected_assists": 0,
            "assist_probability": 0.1977,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assists": 0,
                "expected_assists": 0.2189,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 35,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 4,
                "clearances": 3,
                "aerial_won": 1,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0379,
                "expected_assists": 0.0528,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 46,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 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"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0125,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 21,
                "tackles": 5,
                "tackles_won": 5,
                "interceptions": 5,
                "clearances": 8,
                "duels_won": 5,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.1681,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 25,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3222,
            "combined_rank_score": 1170.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 374.0,
            "sofascore_rating": 6.9667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1966.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 7.0834,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucien Agoumé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lazaros Rota",
                  "ranking": 3217
                },
                {
                  "player_name": "Joshua Zirkzee",
                  "ranking": 3218
                },
                {
                  "player_name": "Camilo Vargas",
                  "ranking": 3219
                },
                {
                  "player_name": "Hugo Duro",
                  "ranking": 3220
                },
                {
                  "player_name": "Chris Führich",
                  "ranking": 3221
                }
              ],
              "lower": [
                {
                  "player_name": "Maarten Vandevoordt",
                  "ranking": 3223
                },
                {
                  "player_name": "Nikola Vasilj",
                  "ranking": 3224
                },
                {
                  "player_name": "Wouter Burger",
                  "ranking": 3225
                },
                {
                  "player_name": "Daniel James",
                  "ranking": 3226
                },
                {
                  "player_name": "Jhon Lucumí",
                  "ranking": 3227
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.53,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0254,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "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.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Sevilla, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0875,
                "assists": 0,
                "expected_goals": 0.0497,
                "rating": 6.9081,
                "minutes": 90,
                "total_pass": 38,
                "accurate_pass": 30,
                "duels_won": 6,
                "total_long_balls": 5,
                "accurate_long_balls": 2,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 9.75,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 3,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 42,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 5.8274,
                  "ballRecovery": 5.8274,
                  "intensity_index": 6.1119,
                  "expectedAssists": 0.118,
                  "kilometersCovered": 10.4414
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9411530494689941,
                    "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.0475
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.043
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0394
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0235
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0231
                        }
                      ],
                      "others": -0.0722,
                      "total": 0.9412
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08752871304750443,
                    "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.013
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0094
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0035
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0027
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0023
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.0875
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0855485200881958,
                    "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": "ballRecovery",
                          "contribution": 0.005
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0036
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0025
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0022
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.0855
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.049680255353450775,
                    "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.0244
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0121
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0094
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0042
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0027
                        }
                      ],
                      "others": -0.0116,
                      "total": 0.0497
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.908113956451416,
                    "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": "defensive_midfield_actions",
                          "contribution": 0.0193
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0156
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0137
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0129
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0125
                        }
                      ],
                      "others": 0.0297,
                      "total": 6.9081
                    }
                  }
                ],
                "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.0254, quality 0.585)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0898,
                "assists": 0,
                "expected_goals": 0.0509,
                "rating": 7.0834,
                "minutes": 92,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 6,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 9.9975,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 3,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 3,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 43,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 15500000,
                "quality_factor": 0.5846,
                "boost_factor": 1.0254
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0722)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0898,
                "assists": 0,
                "expected_goals": 0.0509,
                "rating": 7.0834,
                "minutes": 92,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 6,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 9.9975,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 3,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 3,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 43,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "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": "Sevilla"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.1444
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.1204
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "wonTackle",
                  "before": 2.8198,
                  "after": 2.8569
                },
                {
                  "stat": "fouls",
                  "before": 2.5635,
                  "after": 2.571
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0877,
                  "after": 0.0814
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0898,
                "assists": 0,
                "expected_goals": 0.0509,
                "rating": 7.0834,
                "minutes": 92,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 6,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 9.9975,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 3,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 3,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 43,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33
              },
              "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.0898,
                "assists": 0,
                "expected_goals": 0.0509,
                "rating": 7.0834,
                "minutes": 92,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 6,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 9.9975,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 3,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 3,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 43,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lamine Yamal",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0898,
                "assists": 0,
                "expected_goals": 0.1219,
                "rating": 7.0834,
                "minutes": 92,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 6,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 9.9975,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 3,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 3,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 43,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0509,
                  "after": 0.1219
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 76.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0898,
                "assists": 0,
                "expected_goals": 0.1219,
                "rating": 7.0834,
                "minutes": 92,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 6,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 9.9975,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 3,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 3,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 43,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3222,
                "fifa_rank": 1966.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0898,
                "assists": 0,
                "expected_goals": 0.1219,
                "rating": 7.0834,
                "minutes": 92,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 6,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 9.9975,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 3,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 3,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 43,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0503,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0503,
                "scorer_weight": 0.5604,
                "squad_weight_total": 11.1469,
                "weight_share": 0.0503,
                "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.0898,
                "assists": 0,
                "expected_goals": 0.1219,
                "rating": 7.0834,
                "minutes": 92,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 6,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 14,
                "accurate_own_half_passes": 12,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 56,
                "possession_lost": 9.9975,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 3,
                "tackles": 3,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 3,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 43,
                "progressive_carries": 1,
                "total_shots": 1,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.33,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0503,
                "projected_assists": 0,
                "assist_probability": 0.1977,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1977,
                "provider_weight": 1.4173,
                "squad_weight_total": 7.168,
                "weight_share": 0.1977,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Rubén Vargas": {
          "player_id": 872919,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 11,
          "height": 179,
          "market_value": 13900000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0371,
            "assists": 0,
            "expected_goals": 0.1658,
            "rating": 6.8781,
            "minutes": 20,
            "total_pass": 6,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 5.1006,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 3,
            "progressive_carries": 0,
            "total_shots": 4,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 7.8,
            "pointsPerMatch": 3.0,
            "netGoalDifferencePer90": 4.29,
            "opponent_faced": "Pedri",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0827,
            "projected_assists": 0,
            "assist_probability": 0.1507,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 20,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.0705,
                "expected_assists": 0.0065,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 2,
                "tackles": 1,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 1980,
            "combined_rank_score": 765.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 6.0,
            "fifa_rank": 1238.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 6.8781,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rubén Vargas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Damien Da Silva",
                  "ranking": 1975
                },
                {
                  "player_name": "Joe Rodon",
                  "ranking": 1976
                },
                {
                  "player_name": "Senny Mayulu",
                  "ranking": 1977
                },
                {
                  "player_name": "Gerard Gumbau",
                  "ranking": 1978
                },
                {
                  "player_name": "Malik Tillman",
                  "ranking": 1979
                }
              ],
              "lower": [
                {
                  "player_name": "Norman Rodríguez",
                  "ranking": 1981
                },
                {
                  "player_name": "Elzio Lohan Alves Lucio",
                  "ranking": 1982
                },
                {
                  "player_name": "Byong-oh Kim",
                  "ranking": 1983
                },
                {
                  "player_name": "Irakli Bughridze",
                  "ranking": 1984
                },
                {
                  "player_name": "Axel Alfonzo",
                  "ranking": 1985
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.314,
          "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",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.314,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0201,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 21.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 4.29,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "XGBoost regressor (M_service) evaluated 1 historical appearances across 5 target models; FBref 2026-2027 prior blended (La Liga, Sevilla, rel: 0.01, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0364,
                "assists": 0,
                "expected_goals": 0.0678,
                "rating": 6.7424,
                "minutes": 20,
                "total_pass": 6,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 5.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 3,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 9.0,
                  "ballRecovery": 2.0,
                  "intensity_index": 3.325,
                  "expectedAssists": 0.0065,
                  "kilometersCovered": 2.75
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7508477568626404,
                    "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.0726
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0671
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0579
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.046
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0218
                        }
                      ],
                      "others": -0.0871,
                      "total": 0.7508
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.036366190761327744,
                    "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.0181
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0075
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0066
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0052
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0147,
                      "total": 0.0364
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06477060168981552,
                    "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.0066
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0062
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0054
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0034
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0022
                        }
                      ],
                      "others": -0.0114,
                      "total": 0.0648
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06780798733234406,
                    "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": "possessionLostCtrl",
                          "contribution": -0.0134
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0112
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0098
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0055
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0052
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.0678
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.74243688583374,
                    "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.0272
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0267
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0176
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0175
                        }
                      ],
                      "others": -0.0159,
                      "total": 6.7424
                    }
                  }
                ],
                "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.0201, quality 0.567)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0371,
                "assists": 0,
                "expected_goals": 0.0692,
                "rating": 6.8781,
                "minutes": 20,
                "total_pass": 6,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 5.1006,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 3,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 13900000,
                "quality_factor": 0.5671,
                "boost_factor": 1.0201
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0072)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0371,
                "assists": 0,
                "expected_goals": 0.0692,
                "rating": 6.8781,
                "minutes": 20,
                "total_pass": 6,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 5.1006,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 3,
                "progressive_carries": 0,
                "total_shots": 4,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 4.29
              },
              "params": {
                "blend_weight": 0.0072,
                "history_matches": 1,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Sevilla"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0371,
                "assists": 0,
                "expected_goals": 0.0692,
                "rating": 6.8781,
                "minutes": 20,
                "total_pass": 6,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 5.1006,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 3,
                "progressive_carries": 0,
                "total_shots": 4,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 4.29
              },
              "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.0371,
                "assists": 0,
                "expected_goals": 0.0692,
                "rating": 6.8781,
                "minutes": 20,
                "total_pass": 6,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 5.1006,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 3,
                "progressive_carries": 0,
                "total_shots": 4,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 4.29,
                "opponent_faced": "Pedri",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pedri",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0371,
                "assists": 0,
                "expected_goals": 0.1658,
                "rating": 6.8781,
                "minutes": 20,
                "total_pass": 6,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 5.1006,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 3,
                "progressive_carries": 0,
                "total_shots": 4,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 4.29,
                "opponent_faced": "Pedri",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0692,
                  "after": 0.1658
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 78.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0371,
                "assists": 0,
                "expected_goals": 0.1658,
                "rating": 6.8781,
                "minutes": 20,
                "total_pass": 6,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 5.1006,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 3,
                "progressive_carries": 0,
                "total_shots": 4,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 4.29,
                "opponent_faced": "Pedri",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1980,
                "fifa_rank": 1238.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.0371,
                "assists": 0,
                "expected_goals": 0.1658,
                "rating": 6.8781,
                "minutes": 20,
                "total_pass": 6,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 5.1006,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 3,
                "progressive_carries": 0,
                "total_shots": 4,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 4.29,
                "opponent_faced": "Pedri",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0827,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0827,
                "scorer_weight": 0.922,
                "squad_weight_total": 11.1469,
                "weight_share": 0.0827,
                "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.0371,
                "assists": 0,
                "expected_goals": 0.1658,
                "rating": 6.8781,
                "minutes": 20,
                "total_pass": 6,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 10,
                "possession_lost": 5.1006,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 3,
                "progressive_carries": 0,
                "total_shots": 4,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 7.8,
                "pointsPerMatch": 3.0,
                "netGoalDifferencePer90": 4.29,
                "opponent_faced": "Pedri",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0827,
                "projected_assists": 0,
                "assist_probability": 0.1507,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1507,
                "provider_weight": 1.0803,
                "squad_weight_total": 7.168,
                "weight_share": 0.1507,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Félix Correia": {
          "player_id": 934498,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 178,
          "market_value": 9700000,
          "stats": {
            "key_pass": 2,
            "assists": 1,
            "expected_assists": 0.144,
            "expected_goals": 0.2228,
            "total_shots": 1,
            "total_pass": 53,
            "accurate_pass": 43,
            "ball_recovery": 5,
            "duels_won": 6,
            "rating": 7.0,
            "minutes": 90,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 15,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 68,
            "possession_lost": 8.6,
            "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.062,
            "ball_carries": 31,
            "total_progression": 82,
            "progressive_carries": 7,
            "opponent_faced": "Raphinha",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1177,
            "projected_assists": 1,
            "assist_probability": 0.3406,
            "fifa_overall": 75.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3262,
            "combined_rank_score": 1207.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 2265.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "projected_match_rating": 7.0,
            "source_file": "data/player_rankings.csv",
            "player_name": "Félix Correia",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Umar Sadiq",
                  "ranking": 3257
                },
                {
                  "player_name": "Jack Butland",
                  "ranking": 3258
                },
                {
                  "player_name": "Martin Terrier",
                  "ranking": 3259
                },
                {
                  "player_name": "Lucas Da Cunha",
                  "ranking": 3260
                },
                {
                  "player_name": "Strahinja Pavlović",
                  "ranking": 3261
                }
              ],
              "lower": [
                {
                  "player_name": "Kenneth Taylor",
                  "ranking": 3263
                },
                {
                  "player_name": "Johan Vásquez",
                  "ranking": 3264
                },
                {
                  "player_name": "Mamadou Sarr",
                  "ranking": 3265
                },
                {
                  "player_name": "Yoan Bonny",
                  "ranking": 3266
                },
                {
                  "player_name": "Urko González",
                  "ranking": 3267
                }
              ]
            }
          },
          "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.5189,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€9,700,000) applied for position M (quality factor 0.52)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.52)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.144,
                "expected_goals": 0.093,
                "total_shots": 1,
                "total_pass": 53,
                "accurate_pass": 43,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 68,
                "possession_lost": 8.6,
                "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.062,
                "ball_carries": 31,
                "total_progression": 82,
                "progressive_carries": 7
              },
              "params": {
                "market_value_eur": 9700000,
                "quality_factor": 0.5189
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.144,
                "expected_goals": 0.093,
                "total_shots": 1,
                "total_pass": 53,
                "accurate_pass": 43,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 68,
                "possession_lost": 8.6,
                "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.062,
                "ball_carries": 31,
                "total_progression": 82,
                "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.144,
                "expected_goals": 0.093,
                "total_shots": 1,
                "total_pass": 53,
                "accurate_pass": 43,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 68,
                "possession_lost": 8.6,
                "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.062,
                "ball_carries": 31,
                "total_progression": 82,
                "progressive_carries": 7,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Raphinha",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.144,
                "expected_goals": 0.2228,
                "total_shots": 1,
                "total_pass": 53,
                "accurate_pass": 43,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 68,
                "possession_lost": 8.6,
                "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.062,
                "ball_carries": 31,
                "total_progression": 82,
                "progressive_carries": 7,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.093,
                  "after": 0.2228
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 75.0)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.144,
                "expected_goals": 0.2228,
                "total_shots": 1,
                "total_pass": 53,
                "accurate_pass": 43,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 68,
                "possession_lost": 8.6,
                "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.062,
                "ball_carries": 31,
                "total_progression": 82,
                "progressive_carries": 7,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3262,
                "fifa_rank": 2265.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": 2,
                "assists": 0,
                "expected_assists": 0.144,
                "expected_goals": 0.2228,
                "total_shots": 1,
                "total_pass": 53,
                "accurate_pass": 43,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 68,
                "possession_lost": 8.6,
                "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.062,
                "ball_carries": 31,
                "total_progression": 82,
                "progressive_carries": 7,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1177,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1177,
                "scorer_weight": 1.3125,
                "squad_weight_total": 11.1469,
                "weight_share": 0.1177,
                "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.144,
                "expected_goals": 0.2228,
                "total_shots": 1,
                "total_pass": 53,
                "accurate_pass": 43,
                "ball_recovery": 5,
                "duels_won": 6,
                "rating": 7.0,
                "minutes": 90,
                "total_long_balls": 5,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 68,
                "possession_lost": 8.6,
                "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.062,
                "ball_carries": 31,
                "total_progression": 82,
                "progressive_carries": 7,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1177,
                "projected_assists": 1,
                "assist_probability": 0.3406,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.3406,
                "provider_weight": 2.4412,
                "squad_weight_total": 7.168,
                "weight_share": 0.3406,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Lucas Stassin": {
          "player_id": 1126521,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 184,
          "market_value": 15700000,
          "stats": {
            "expected_goals": 0.3413,
            "goal_rate": 0.4298,
            "goals": 1,
            "shots_on_target": 1,
            "expected_assists": 0.0266,
            "key_pass": 1,
            "rating": 7.305,
            "minutes": 37,
            "total_pass": 6,
            "accurate_pass": 4,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 5.1301,
            "dispossessed": 1.026,
            "duels_lost": 5,
            "aerial_lost": 3,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.9132,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 8,
            "progressive_carries": 0,
            "total_shots": 2,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
            "numerical_situation": "1v3",
            "opponent_defenders": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
            "opponent_faced": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.5642,
            "projected_assists": 0,
            "assist_probability": 0.0843,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 36,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.3995,
                "expected_assists": 0.0007,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 6,
                "accurate_pass": 4,
                "aerial_won": 2,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3440,
            "combined_rank_score": 1429.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 2751.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "projected_match_rating": 7.305,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Stassin",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sebastiaan Bornauw",
                  "ranking": 3435
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Nelson Deossa",
                  "ranking": 3441
                },
                {
                  "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
                }
              ]
            }
          },
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.026,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 1 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.2155,
                "goal_rate": 0.4189,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0259,
                "key_pass": 1,
                "rating": 7.1197,
                "minutes": 36,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.0,
                "dispossessed": 1.0,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 0.89,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 8,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 2.0,
                  "totalShots": 2.0,
                  "minutesPlayed": 36.0,
                  "touches": 12.0,
                  "dribbleValueNormalized": 0.13
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2154860645532608,
                    "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.0567
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0241
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0177
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0173
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0151
                        }
                      ],
                      "others": -0.0431,
                      "total": 0.2155
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.41892194747924805,
                    "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.1159
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.065
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0461
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0238
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0237
                        }
                      ],
                      "others": 0.0685,
                      "total": 0.4189
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7039245367050171,
                    "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.0502
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0421
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0375
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0374
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0192
                        }
                      ],
                      "others": -0.0404,
                      "total": 0.7039
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.025943659245967865,
                    "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.0068
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0056
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0037
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0034
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.0259
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8617104887962341,
                    "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.1917
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.1014
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0671
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0501
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0469
                        }
                      ],
                      "others": -0.0844,
                      "total": 0.8617
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.119729518890381,
                    "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.1163
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0745
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0569
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0518
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0318
                        }
                      ],
                      "others": 0.0748,
                      "total": 7.1197
                    }
                  }
                ],
                "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.0260, quality 0.587)",
              "stats": {
                "expected_goals": 0.2211,
                "goal_rate": 0.4298,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0266,
                "key_pass": 1,
                "rating": 7.305,
                "minutes": 37,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.1301,
                "dispossessed": 1.026,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 0.9132,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 8,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 15700000,
                "quality_factor": 0.5868,
                "boost_factor": 1.026
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2211,
                "goal_rate": 0.4298,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0266,
                "key_pass": 1,
                "rating": 7.305,
                "minutes": 37,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.1301,
                "dispossessed": 1.026,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 0.9132,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 8,
                "progressive_carries": 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.1425,
                "goal_rate": 0.4298,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0266,
                "key_pass": 1,
                "rating": 7.305,
                "minutes": 37,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.1301,
                "dispossessed": 1.026,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 0.9132,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 8,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "numerical_situation": "1v3",
                "opponent_defenders": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "opponent_faced": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                  "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v3",
                  "xg_override": 0.1425
                }
              },
              "changes": [
                {
                  "stat": "expectedGoals",
                  "before": 0.2211,
                  "after": 0.1425
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "expected_goals": 0.3413,
                "goal_rate": 0.4298,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0266,
                "key_pass": 1,
                "rating": 7.305,
                "minutes": 37,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.1301,
                "dispossessed": 1.026,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 0.9132,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 8,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "numerical_situation": "1v3",
                "opponent_defenders": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "opponent_faced": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 1.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1425,
                  "after": 0.3413
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.3413,
                "goal_rate": 0.4298,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0266,
                "key_pass": 1,
                "rating": 7.305,
                "minutes": 37,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.1301,
                "dispossessed": 1.026,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 0.9132,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 8,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "numerical_situation": "1v3",
                "opponent_defenders": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "opponent_faced": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3440,
                "fifa_rank": 2751.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.3413,
                "goal_rate": 0.4298,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0266,
                "key_pass": 1,
                "rating": 7.305,
                "minutes": 37,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.1301,
                "dispossessed": 1.026,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 0.9132,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 8,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "numerical_situation": "1v3",
                "opponent_defenders": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "opponent_faced": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.5642,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.5642,
                "scorer_weight": 6.2889,
                "squad_weight_total": 11.1469,
                "weight_share": 0.5642,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.3413,
                "goal_rate": 0.4298,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0266,
                "key_pass": 1,
                "rating": 7.305,
                "minutes": 37,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 5.1301,
                "dispossessed": 1.026,
                "duels_lost": 5,
                "aerial_lost": 3,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 0.9132,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 8,
                "progressive_carries": 0,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "numerical_situation": "1v3",
                "opponent_defenders": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "opponent_faced": "Pau Cubarsí, Jules Koundé, Alejandro Balde",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.5642,
                "projected_assists": 0,
                "assist_probability": 0.0843,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0843,
                "provider_weight": 0.6041,
                "squad_weight_total": 7.168,
                "weight_share": 0.0843,
                "position_multiplier": 0.85
              }
            }
          ]
        }
      },
      "bench_players": {
        "Fran González": {
          "player_id": 1493226,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 199,
          "market_value": 2700000,
          "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": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 65.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 7595,
            "combined_rank_score": 6011.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 11814.0,
            "fifa_overall": 65.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": "Fran González",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tonny Vilhena",
                  "ranking": 7590
                },
                {
                  "player_name": "Etienne Camara",
                  "ranking": 7591
                },
                {
                  "player_name": "Zinedin Smajlović",
                  "ranking": 7592
                },
                {
                  "player_name": "Anthony Uribe",
                  "ranking": 7593
                },
                {
                  "player_name": "James McClean",
                  "ranking": 7594
                }
              ],
              "lower": [
                {
                  "player_name": "Michael Duffy",
                  "ranking": 7596
                },
                {
                  "player_name": "Rommell Ibarra",
                  "ranking": 7597
                },
                {
                  "player_name": "Dani Pacheco",
                  "ranking": 7598
                },
                {
                  "player_name": "Fredrik Ulvestad",
                  "ranking": 7599
                },
                {
                  "player_name": "Radosław Murawski",
                  "ranking": 7600
                }
              ]
            }
          },
          "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,700,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": 2700000,
                "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 17, fifa_overall 65.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": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 65.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 7595,
                "fifa_rank": 11814.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 65.0
              }
            }
          ]
        },
        "Juan Iglesias": {
          "player_id": 949707,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 185,
          "market_value": 4800000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 6.3481,
            "minutes": 14,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 7,
            "possession_lost": 1.9118,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "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.006,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 5,
            "progressive_carries": 0,
            "key_pass": 0,
            "bench_appearance_probability": 0.303,
            "bench_expected_minutes": 13.66,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 76.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assists": 0,
                "expected_goals": 0.021,
                "expected_assists": 0.0228,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 30,
                "accurate_pass": 20,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assists": 0,
                "expected_goals": 0.0211,
                "expected_assists": 0.0304,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 16,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0575,
                "expected_assists": 0.0005,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 5,
                "duels_won": 7,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assists": 0,
                "expected_assists": 0.1007,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 5,
                "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": 3199,
            "combined_rank_score": 1156.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1977.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "projected_match_rating": 6.3481,
            "source_file": "data/player_rankings.csv",
            "player_name": "Juan Iglesias",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Taylor Harwood-Bellis",
                  "ranking": 3194
                },
                {
                  "player_name": "Saïd El Mala",
                  "ranking": 3195
                },
                {
                  "player_name": "Fran García",
                  "ranking": 3196
                },
                {
                  "player_name": "Rômulo",
                  "ranking": 3197
                },
                {
                  "player_name": "David Zima",
                  "ranking": 3198
                }
              ],
              "lower": [
                {
                  "player_name": "Thierno Barry",
                  "ranking": 3200
                },
                {
                  "player_name": "Tiago Palacios",
                  "ranking": 3201
                },
                {
                  "player_name": "Frederik Rønnow",
                  "ranking": 3202
                },
                {
                  "player_name": "David Affengruber",
                  "ranking": 3203
                },
                {
                  "player_name": "Kike Salas",
                  "ranking": 3204
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.660466051098084,
            "bench_appearance_prob": 0.3027484568680947,
            "market_value_adjustment": 0.9879,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (4 historical appearances) to 13.7 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 6.4257,
                "minutes": 90,
                "total_pass": 23,
                "accurate_pass": 15,
                "duels_won": 5,
                "total_long_balls": 7,
                "accurate_long_balls": 3,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 10,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 12.75,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.04,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 35,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 15.6001,
                  "touches_p90": 48.0346,
                  "possessionLostCtrl": 12.5902,
                  "totalClearance": 3.8389,
                  "aerialWon": 0.4595
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7286175489425659,
                    "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.1967
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0389
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0213
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0199
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0181
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.7286
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.436321496963501,
                    "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.0887
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0865
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0554
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0486
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.045
                        }
                      ],
                      "others": 0.1306,
                      "total": 1.4363
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9095833897590637,
                    "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.1721
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1426
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0515
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0373
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0324
                        }
                      ],
                      "others": 0.0152,
                      "total": 0.9096
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.216788411140442,
                    "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.6575
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1777
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1499
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1373
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0799
                        }
                      ],
                      "others": -0.2587,
                      "total": 1.2168
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7395051121711731,
                    "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.2947
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0589
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0311
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0251
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.024
                        }
                      ],
                      "others": -0.0688,
                      "total": 0.7395
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.425728797912598,
                    "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": "is_starting_11",
                          "contribution": -0.0481
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0473
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0442
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0357
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0196
                        }
                      ],
                      "others": -0.0421,
                      "total": 6.4257
                    }
                  }
                ],
                "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.9879, quality 0.460)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 6.3481,
                "minutes": 89,
                "total_pass": 23,
                "accurate_pass": 15,
                "duels_won": 5,
                "total_long_balls": 7,
                "accurate_long_balls": 3,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 12.5959,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0395,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 35,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 4800000,
                "quality_factor": 0.4597,
                "boost_factor": 0.9879
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.7 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 6.3481,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.9118,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "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.006,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "bench_appearance_probability": 0.303,
                "bench_expected_minutes": 13.66
              },
              "params": {
                "expected_minutes": 13.66,
                "appearance_probability": 0.303
              }
            },
            {
              "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,
                "rating": 6.3481,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.9118,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "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.006,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "bench_appearance_probability": 0.303,
                "bench_expected_minutes": 13.66
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 76.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 6.3481,
                "minutes": 14,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 1.9118,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "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.006,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 5,
                "progressive_carries": 0,
                "key_pass": 0,
                "bench_appearance_probability": 0.303,
                "bench_expected_minutes": 13.66,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 76.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3199,
                "fifa_rank": 1977.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Marcão": {
          "player_id": 840951,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 23,
          "height": 185,
          "market_value": 2600000,
          "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": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 73.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 4137,
            "combined_rank_score": 2135.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 767.0,
            "sofascore_rating": 6.6462,
            "sofascore_appearances": 13.0,
            "fifa_rank": 3503.0,
            "fifa_overall": 73.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": "Marcão",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tyrique George",
                  "ranking": 4132
                },
                {
                  "player_name": "Yunus Musah",
                  "ranking": 4133
                },
                {
                  "player_name": "Florent Muslija",
                  "ranking": 4134
                },
                {
                  "player_name": "Darnell Furlong",
                  "ranking": 4135
                },
                {
                  "player_name": "Lucas Noubi",
                  "ranking": 4136
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Jorge Sánchez",
                  "ranking": 4142
                }
              ]
            }
          },
          "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 (€2,600,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": 2600000,
                "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 73.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": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 73.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4137,
                "fifa_rank": 3503.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            }
          ]
        },
        "Oso": {
          "player_id": 1534422,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 183,
          "market_value": 10500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0131,
            "assists": 0,
            "expected_goals": 0.0628,
            "rating": 6.8119,
            "minutes": 22,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 3.8788,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 3,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 7,
            "progressive_carries": 0,
            "bench_appearance_probability": 0.515,
            "bench_expected_minutes": 22.33,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 78,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 1,
                "expected_goals": 0.6198,
                "expected_assists": 0.1026,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 8,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 78,
                "rating": 6.4,
                "assists": 0,
                "expected_goals": 0.0479,
                "expected_assists": 0.0199,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3838,
            "combined_rank_score": 1835.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 172.0,
            "sofascore_rating": 7.25,
            "sofascore_appearances": 2.0,
            "fifa_rank": 3498.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "projected_match_rating": 6.8119,
            "source_file": "data/player_rankings.csv",
            "player_name": "Oso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yehvann Diouf",
                  "ranking": 3833
                },
                {
                  "player_name": "Hugo Magnetti",
                  "ranking": 3834
                },
                {
                  "player_name": "Luismi Cruz",
                  "ranking": 3835
                },
                {
                  "player_name": "Sofiane Diop",
                  "ranking": 3836
                },
                {
                  "player_name": "Adam Karabec",
                  "ranking": 3837
                }
              ],
              "lower": [
                {
                  "player_name": "David López",
                  "ranking": 3839
                },
                {
                  "player_name": "Mohammed Salisu",
                  "ranking": 3840
                },
                {
                  "player_name": "Lilian Brassier",
                  "ranking": 3841
                },
                {
                  "player_name": "Thierry Correia",
                  "ranking": 3842
                },
                {
                  "player_name": "Anthony Rouault",
                  "ranking": 3843
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.33213210564965,
            "bench_appearance_prob": 0.5150969138931659,
            "market_value_adjustment": 1.0085,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (2 historical appearances) to 22.3 expected mins (appearance prob 0.52)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0523,
                "assists": 0,
                "expected_goals": 0.1046,
                "rating": 6.7545,
                "minutes": 78,
                "total_pass": 17,
                "accurate_pass": 11,
                "duels_won": 6,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 38,
                "possession_lost": 15.5,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 2,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 28,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 5.4262,
                  "ballRecovery": 4.7027,
                  "intensity_index": 7.9958,
                  "expectedAssists": 0.0646,
                  "kilometersCovered": 8.4546
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7644466757774353,
                    "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.146
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0621
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0458
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0343
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0238,
                      "total": 0.7644
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05229007452726364,
                    "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_p90",
                          "contribution": -0.0174
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0094
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0077
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0065
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.0523
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11318439990282059,
                    "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.0106
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0079
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0048
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0046
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0045
                        }
                      ],
                      "others": 0.001,
                      "total": 0.1132
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1045544445514679,
                    "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.026
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0186
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0142
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0117
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0098
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.1046
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.754482746124268,
                    "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.0639
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0208
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0197
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0127
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0123
                        }
                      ],
                      "others": -0.0141,
                      "total": 6.7545
                    }
                  }
                ],
                "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.0085, quality 0.528)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0527,
                "assists": 0,
                "expected_goals": 0.1054,
                "rating": 6.8119,
                "minutes": 79,
                "total_pass": 17,
                "accurate_pass": 11,
                "duels_won": 6,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 38,
                "possession_lost": 15.6317,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 3,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 29,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 10500000,
                "quality_factor": 0.5283,
                "boost_factor": 1.0085
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.3 expected minutes (appearance prob 0.52)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0131,
                "assists": 0,
                "expected_goals": 0.0262,
                "rating": 6.8119,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.8788,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 7,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.515,
                "bench_expected_minutes": 22.33
              },
              "params": {
                "expected_minutes": 22.33,
                "appearance_probability": 0.515
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0131,
                "assists": 0,
                "expected_goals": 0.0262,
                "rating": 6.8119,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.8788,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 7,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.515,
                "bench_expected_minutes": 22.33
              },
              "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0131,
                "assists": 0,
                "expected_goals": 0.0628,
                "rating": 6.8119,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.8788,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 7,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.515,
                "bench_expected_minutes": 22.33,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0262,
                  "after": 0.0628
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 73.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0131,
                "assists": 0,
                "expected_goals": 0.0628,
                "rating": 6.8119,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.8788,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 7,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.515,
                "bench_expected_minutes": 22.33,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 73.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3838,
                "fifa_rank": 3498.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            }
          ]
        },
        "Giorgi Kochorashvili": {
          "player_id": 886402,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 176,
          "market_value": 3800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0186,
            "assists": 0,
            "expected_goals": 0.0223,
            "rating": 6.6596,
            "minutes": 30,
            "total_pass": 8,
            "accurate_pass": 7,
            "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": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 2.7616,
            "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,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 0,
            "progressive_carries": 0,
            "total_shots": 2,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 13.3,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 2.5,
            "bench_appearance_probability": 0.693,
            "bench_expected_minutes": 29.71,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 54,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0181,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 35,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0687,
                "expected_assists": 0.0183,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 20,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 3657,
            "combined_rank_score": 1619.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 247.0,
            "sofascore_rating": 7.12,
            "sofascore_appearances": 5.0,
            "fifa_rank": 2992.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 6.6596,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Kochorashvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Altimira",
                  "ranking": 3652
                },
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                },
                {
                  "player_name": "Víctor Chust",
                  "ranking": 3655
                },
                {
                  "player_name": "Kevin Lomónaco",
                  "ranking": 3656
                }
              ],
              "lower": [
                {
                  "player_name": "Quilindschy Hartman",
                  "ranking": 3658
                },
                {
                  "player_name": "Oscar Dorley",
                  "ranking": 3659
                },
                {
                  "player_name": "Mykola Matviienko",
                  "ranking": 3660
                },
                {
                  "player_name": "Hamed Junior Traorè",
                  "ranking": 3661
                },
                {
                  "player_name": "Andrés Cubas",
                  "ranking": 3662
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.379,
          "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.379,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 29.71,
            "bench_appearance_prob": 0.693,
            "market_value_adjustment": 0.9842,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 36.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "Bench projection scaled from XGBoost M_service (2 historical appearances) to 29.7 expected mins (appearance prob 0.69); FBref playing time empirical prior: 1.0 sub appearances, 36.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0572,
                "assists": 0,
                "expected_goals": 0.0287,
                "rating": 6.7665,
                "minutes": 44,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 38,
                "possession_lost": 8.5,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 1.8018,
                  "ballRecovery": 1.0811,
                  "intensity_index": 2.9047,
                  "expectedAssists": 0.0182,
                  "kilometersCovered": 5.5832
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7531867623329163,
                    "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.1721
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0591
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.054
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0201
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0182
                        }
                      ],
                      "others": -0.0106,
                      "total": 0.7532
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05721985176205635,
                    "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": "is_starting_11",
                          "contribution": -0.0144
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0124
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0085
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0059
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0151,
                      "total": 0.0572
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07252384722232819,
                    "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.0069
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0052
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0026
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0021
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0095,
                      "total": 0.0725
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.028732893988490105,
                    "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.0279
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0153
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0103
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0082
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0053
                        }
                      ],
                      "others": -0.013,
                      "total": 0.0287
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.766510486602783,
                    "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.0543
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0178
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0139
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0106
                        }
                      ],
                      "others": 0.0044,
                      "total": 6.7665
                    }
                  }
                ],
                "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.9842, quality 0.447)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0563,
                "assists": 0,
                "expected_goals": 0.0283,
                "rating": 6.6596,
                "minutes": 44,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 8.3658,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 3800000,
                "quality_factor": 0.4474,
                "boost_factor": 0.9842
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0124)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0563,
                "assists": 0,
                "expected_goals": 0.0283,
                "rating": 6.6596,
                "minutes": 44,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 8.3658,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 5,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5
              },
              "params": {
                "blend_weight": 0.0124,
                "history_matches": 2,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Sevilla"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 3.4447,
                  "after": 3.495
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9842,
                  "after": 1.003
                },
                {
                  "stat": "fouls",
                  "before": 0.9842,
                  "after": 1.003
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9842,
                  "after": 1.003
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 29.7 expected minutes (appearance prob 0.69)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0186,
                "assists": 0,
                "expected_goals": 0.0093,
                "rating": 6.6596,
                "minutes": 30,
                "total_pass": 8,
                "accurate_pass": 7,
                "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": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.7616,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5,
                "bench_appearance_probability": 0.693,
                "bench_expected_minutes": 29.71
              },
              "params": {
                "expected_minutes": 29.71,
                "appearance_probability": 0.693
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0186,
                "assists": 0,
                "expected_goals": 0.0093,
                "rating": 6.6596,
                "minutes": 30,
                "total_pass": 8,
                "accurate_pass": 7,
                "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": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.7616,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5,
                "bench_appearance_probability": 0.693,
                "bench_expected_minutes": 29.71
              },
              "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0186,
                "assists": 0,
                "expected_goals": 0.0223,
                "rating": 6.6596,
                "minutes": 30,
                "total_pass": 8,
                "accurate_pass": 7,
                "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": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.7616,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5,
                "bench_appearance_probability": 0.693,
                "bench_expected_minutes": 29.71,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0093,
                  "after": 0.0223
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 74.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0186,
                "assists": 0,
                "expected_goals": 0.0223,
                "rating": 6.6596,
                "minutes": 30,
                "total_pass": 8,
                "accurate_pass": 7,
                "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": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.7616,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5,
                "bench_appearance_probability": 0.693,
                "bench_expected_minutes": 29.71,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3657,
                "fifa_rank": 2992.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Isaac Romero": {
          "player_id": 1018190,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 184,
          "market_value": 5200000,
          "stats": {
            "expected_goals": 0.0735,
            "goal_rate": 0.0747,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0078,
            "key_pass": 0,
            "rating": 6.6997,
            "minutes": 30,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 2.5405,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 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": 2,
            "total_progression": 4,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 1.5385,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.33,
            "minutesPct": 41.9,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.593,
            "bench_expected_minutes": 30.13,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 22,
                "rating": 6.2,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "aerial_won": 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"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 45,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 1,
                "expected_goals": 0.1863,
                "expected_assists": 0.0039,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.143,
                "expected_assists": 0.0071,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 8,
                "aerial_won": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3715,
            "combined_rank_score": 1682.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 490.0,
            "sofascore_rating": 6.8667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2874.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.6997,
            "source_file": "data/player_rankings.csv",
            "player_name": "Isaac Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lucas Beltrán",
                  "ranking": 3710
                },
                {
                  "player_name": "Niclas Eliasson",
                  "ranking": 3711
                },
                {
                  "player_name": "Orri Óskarsson",
                  "ranking": 3712
                },
                {
                  "player_name": "Santiago Núñez",
                  "ranking": 3713
                },
                {
                  "player_name": "Viktor Johansson",
                  "ranking": 3714
                }
              ],
              "lower": [
                {
                  "player_name": "Roman Yaremchuk",
                  "ranking": 3716
                },
                {
                  "player_name": "Joe Gelhardt",
                  "ranking": 3717
                },
                {
                  "player_name": "Liam Kitching",
                  "ranking": 3718
                },
                {
                  "player_name": "Andreas Tetteh",
                  "ranking": 3719
                },
                {
                  "player_name": "Kiril Despodov",
                  "ranking": 3720
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.451,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.451,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 30.13,
            "bench_appearance_prob": 0.593,
            "market_value_adjustment": 0.9894,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 34.0,
              "goals_per90": 0.7692307692307692,
              "assists_per90": 0.7692307692307692,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 30.1 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 34.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.0925,
                "goal_rate": 0.2054,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0236,
                "key_pass": 0,
                "rating": 6.7715,
                "minutes": 37,
                "total_pass": 9,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 7.67,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3304,
                  "totalShots": 0.8921,
                  "minutesPlayed": 36.0593,
                  "touches": 17.8299,
                  "dribbleValueNormalized": 0.031
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09254942089319229,
                    "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.0595
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.031
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0191
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0137
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0095
                        }
                      ],
                      "others": -0.0504,
                      "total": 0.0925
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.20536155998706818,
                    "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.068
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.05
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.029
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0182
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0175
                        }
                      ],
                      "others": 0.0062,
                      "total": 0.2054
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.49406471848487854,
                    "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.0489
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0387
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0252
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0173
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0461,
                      "total": 0.4941
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0235803984105587,
                    "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.0064
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0044
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.003
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0236
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3961634337902069,
                    "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.1554
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0345
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0289
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0219
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0202
                        }
                      ],
                      "others": -0.0258,
                      "total": 0.3962
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.771543025970459,
                    "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.0482
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.042
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0418
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.032
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0279
                        }
                      ],
                      "others": 0.1104,
                      "total": 6.7715
                    }
                  }
                ],
                "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.9894, quality 0.465)",
              "stats": {
                "expected_goals": 0.0916,
                "goal_rate": 0.2032,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0233,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 37,
                "total_pass": 9,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 18,
                "possession_lost": 7.5886,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 5200000,
                "quality_factor": 0.4646,
                "boost_factor": 0.9894
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0352)",
              "stats": {
                "expected_goals": 0.0916,
                "goal_rate": 0.2231,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0233,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 37,
                "total_pass": 9,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 18,
                "possession_lost": 7.5886,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "progressive_carries": 0,
                "total_shots": 2,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0352,
                "history_matches": 3,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Sevilla"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1355
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "goals",
                  "before": 0.2032,
                  "after": 0.2231
                },
                {
                  "stat": "goalAssist",
                  "before": 0.3265,
                  "after": 0.3421
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4888,
                  "after": 0.4998
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 30.1 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0307,
                "goal_rate": 0.0747,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0078,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 2.5405,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.593,
                "bench_expected_minutes": 30.13
              },
              "params": {
                "expected_minutes": 30.13,
                "appearance_probability": 0.593
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0307,
                "goal_rate": 0.0747,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0078,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 2.5405,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.593,
                "bench_expected_minutes": 30.13
              },
              "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "expected_goals": 0.0735,
                "goal_rate": 0.0747,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0078,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 2.5405,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.593,
                "bench_expected_minutes": 30.13,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0307,
                  "after": 0.0735
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.0735,
                "goal_rate": 0.0747,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0078,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 2.5405,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.593,
                "bench_expected_minutes": 30.13,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3715,
                "fifa_rank": 2874.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Robbie Ure": {
          "player_id": 1142351,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 189,
          "market_value": 4800000,
          "stats": {
            "expected_goals": 0.1241,
            "goal_rate": 0.0565,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0096,
            "key_pass": 0,
            "rating": 6.4949,
            "minutes": 36,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "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": 7,
            "possession_lost": 1.7866,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 4,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assists": 0,
            "shots_off_target": 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": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 83.3,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.8,
            "bench_appearance_probability": 0.464,
            "bench_expected_minutes": 36.17,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 71.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 54,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0249,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assists": 1,
                "expected_goals": 0.2605,
                "expected_assists": 0.0246,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 2,
                "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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assists": 0,
                "expected_assists": 0.0048,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 1,
                "key_pass": 1,
                "aerial_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"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0899,
                "expected_assists": 0.0259,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 4666,
            "combined_rank_score": 2760.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5075.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 6.4949,
            "source_file": "data/player_rankings.csv",
            "player_name": "Robbie Ure",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Loris Karius",
                  "ranking": 4661
                },
                {
                  "player_name": "Lucas Ferreira",
                  "ranking": 4662
                },
                {
                  "player_name": "Hjalmar Ekdal",
                  "ranking": 4663
                },
                {
                  "player_name": "Kevin Stöger",
                  "ranking": 4664
                },
                {
                  "player_name": "Kenan Karaman",
                  "ranking": 4665
                }
              ],
              "lower": [
                {
                  "player_name": "Matías Pérez",
                  "ranking": 4667
                },
                {
                  "player_name": "Jean-Luc Dompé",
                  "ranking": 4668
                },
                {
                  "player_name": "Alessio Castro-Montes",
                  "ranking": 4669
                },
                {
                  "player_name": "Jordan Torunarigha",
                  "ranking": 4670
                },
                {
                  "player_name": "Nikolas Nartey",
                  "ranking": 4671
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.525,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.525,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 36.17,
            "bench_appearance_prob": 0.464,
            "market_value_adjustment": 0.9879,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4,
              "prior_reliability": 0.1667
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 36.2 expected mins (appearance prob 0.46); FBref playing time empirical prior: 1.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1306,
                "goal_rate": 0.1514,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0242,
                "key_pass": 0,
                "rating": 6.5744,
                "minutes": 70,
                "total_pass": 8,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 4.5,
                "dispossessed": 0.0,
                "duels_lost": 8,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.9929,
                  "minutesPlayed": 70.0304,
                  "touches": 16.9088,
                  "dribbleValueNormalized": 0.002
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13058461248874664,
                    "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.0715
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0187
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.017
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0152
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0115
                        }
                      ],
                      "others": -0.0716,
                      "total": 0.1306
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.15143060684204102,
                    "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.0637
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0427
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0324
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0227
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0151
                        }
                      ],
                      "others": -0.0477,
                      "total": 0.1514
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5173576474189758,
                    "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.0427
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0316
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0236
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0219
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0203
                        }
                      ],
                      "others": -0.0386,
                      "total": 0.5174
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.024189040064811707,
                    "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.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.005
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.004
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0036
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0114,
                      "total": 0.0242
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.40230298042297363,
                    "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.1622
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0233
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0231
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0229
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0227
                        }
                      ],
                      "others": -0.118,
                      "total": 0.4023
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.574381351470947,
                    "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.0663
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0412
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0371
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.037
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0351
                        }
                      ],
                      "others": -0.0551,
                      "total": 6.5744
                    }
                  }
                ],
                "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.9879, quality 0.460)",
              "stats": {
                "expected_goals": 0.129,
                "goal_rate": 0.1496,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0239,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 69,
                "total_pass": 8,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 4.4456,
                "dispossessed": 0.0,
                "duels_lost": 8,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 4800000,
                "quality_factor": 0.4597,
                "boost_factor": 0.9879
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0602)",
              "stats": {
                "expected_goals": 0.129,
                "goal_rate": 0.1406,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0239,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 69,
                "total_pass": 8,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 4.4456,
                "dispossessed": 0.0,
                "duels_lost": 8,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8
              },
              "params": {
                "blend_weight": 0.0602,
                "history_matches": 4,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Sevilla"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5111,
                  "after": 0.4803
                },
                {
                  "stat": "goalAssist",
                  "before": 0.247,
                  "after": 0.2562
                },
                {
                  "stat": "goals",
                  "before": 0.1496,
                  "after": 0.1406
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 36.2 expected minutes (appearance prob 0.46)",
              "stats": {
                "expected_goals": 0.0518,
                "goal_rate": 0.0565,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0096,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "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": 7,
                "possession_lost": 1.7866,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 36.17
              },
              "params": {
                "expected_minutes": 36.17,
                "appearance_probability": 0.464
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0518,
                "goal_rate": 0.0565,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0096,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "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": 7,
                "possession_lost": 1.7866,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 36.17
              },
              "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "expected_goals": 0.1241,
                "goal_rate": 0.0565,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0096,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "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": 7,
                "possession_lost": 1.7866,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 36.17,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0518,
                  "after": 0.1241
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 71.0)",
              "stats": {
                "expected_goals": 0.1241,
                "goal_rate": 0.0565,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0096,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "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": 7,
                "possession_lost": 1.7866,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 36.17,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 71.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4666,
                "fifa_rank": 5075.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 71.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Giorgi Kochorashvili": {
          "player_id": 886402,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 176,
          "market_value": 3800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0186,
            "assists": 0,
            "expected_goals": 0.0223,
            "rating": 6.6596,
            "minutes": 30,
            "total_pass": 8,
            "accurate_pass": 7,
            "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": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 2.7616,
            "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,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 0,
            "progressive_carries": 0,
            "total_shots": 2,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 13.3,
            "pointsPerMatch": 0.0,
            "netGoalDifferencePer90": 2.5,
            "bench_appearance_probability": 0.693,
            "bench_expected_minutes": 29.71,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 54,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0181,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 35,
                "rating": 6.8,
                "assists": 0,
                "expected_goals": 0.0687,
                "expected_assists": 0.0183,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 20,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 3657,
            "combined_rank_score": 1619.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 247.0,
            "sofascore_rating": 7.12,
            "sofascore_appearances": 5.0,
            "fifa_rank": 2992.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 6.6596,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giorgi Kochorashvili",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Altimira",
                  "ranking": 3652
                },
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                },
                {
                  "player_name": "Víctor Chust",
                  "ranking": 3655
                },
                {
                  "player_name": "Kevin Lomónaco",
                  "ranking": 3656
                }
              ],
              "lower": [
                {
                  "player_name": "Quilindschy Hartman",
                  "ranking": 3658
                },
                {
                  "player_name": "Oscar Dorley",
                  "ranking": 3659
                },
                {
                  "player_name": "Mykola Matviienko",
                  "ranking": 3660
                },
                {
                  "player_name": "Hamed Junior Traorè",
                  "ranking": 3661
                },
                {
                  "player_name": "Andrés Cubas",
                  "ranking": 3662
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.379,
          "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.379,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 29.71,
            "bench_appearance_prob": 0.693,
            "market_value_adjustment": 0.9842,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 36.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "Bench projection scaled from XGBoost M_service (2 historical appearances) to 29.7 expected mins (appearance prob 0.69); FBref playing time empirical prior: 1.0 sub appearances, 36.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0572,
                "assists": 0,
                "expected_goals": 0.0287,
                "rating": 6.7665,
                "minutes": 44,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 38,
                "possession_lost": 8.5,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 1.8018,
                  "ballRecovery": 1.0811,
                  "intensity_index": 2.9047,
                  "expectedAssists": 0.0182,
                  "kilometersCovered": 5.5832
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7531867623329163,
                    "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.1721
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0591
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.054
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0201
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0182
                        }
                      ],
                      "others": -0.0106,
                      "total": 0.7532
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05721985176205635,
                    "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": "is_starting_11",
                          "contribution": -0.0144
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0124
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0085
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0059
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0151,
                      "total": 0.0572
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07252384722232819,
                    "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.0069
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0052
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0026
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0021
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0095,
                      "total": 0.0725
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.028732893988490105,
                    "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.0279
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0153
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0103
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0082
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0053
                        }
                      ],
                      "others": -0.013,
                      "total": 0.0287
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.766510486602783,
                    "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.0543
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0178
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0139
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0106
                        }
                      ],
                      "others": 0.0044,
                      "total": 6.7665
                    }
                  }
                ],
                "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.9842, quality 0.447)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0563,
                "assists": 0,
                "expected_goals": 0.0283,
                "rating": 6.6596,
                "minutes": 44,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 8.3658,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 3800000,
                "quality_factor": 0.4474,
                "boost_factor": 0.9842
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0124)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0563,
                "assists": 0,
                "expected_goals": 0.0283,
                "rating": 6.6596,
                "minutes": 44,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 8.3658,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 1,
                "fouls_drawn": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 5,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5
              },
              "params": {
                "blend_weight": 0.0124,
                "history_matches": 2,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Sevilla"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 3.4447,
                  "after": 3.495
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9842,
                  "after": 1.003
                },
                {
                  "stat": "fouls",
                  "before": 0.9842,
                  "after": 1.003
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9842,
                  "after": 1.003
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 29.7 expected minutes (appearance prob 0.69)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0186,
                "assists": 0,
                "expected_goals": 0.0093,
                "rating": 6.6596,
                "minutes": 30,
                "total_pass": 8,
                "accurate_pass": 7,
                "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": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.7616,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5,
                "bench_appearance_probability": 0.693,
                "bench_expected_minutes": 29.71
              },
              "params": {
                "expected_minutes": 29.71,
                "appearance_probability": 0.693
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0186,
                "assists": 0,
                "expected_goals": 0.0093,
                "rating": 6.6596,
                "minutes": 30,
                "total_pass": 8,
                "accurate_pass": 7,
                "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": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.7616,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5,
                "bench_appearance_probability": 0.693,
                "bench_expected_minutes": 29.71
              },
              "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0186,
                "assists": 0,
                "expected_goals": 0.0223,
                "rating": 6.6596,
                "minutes": 30,
                "total_pass": 8,
                "accurate_pass": 7,
                "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": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.7616,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5,
                "bench_appearance_probability": 0.693,
                "bench_expected_minutes": 29.71,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0093,
                  "after": 0.0223
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 74.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0186,
                "assists": 0,
                "expected_goals": 0.0223,
                "rating": 6.6596,
                "minutes": 30,
                "total_pass": 8,
                "accurate_pass": 7,
                "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": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 12,
                "possession_lost": 2.7616,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 13.3,
                "pointsPerMatch": 0.0,
                "netGoalDifferencePer90": 2.5,
                "bench_appearance_probability": 0.693,
                "bench_expected_minutes": 29.71,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3657,
                "fifa_rank": 2992.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Isaac Romero": {
          "player_id": 1018190,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 184,
          "market_value": 5200000,
          "stats": {
            "expected_goals": 0.0735,
            "goal_rate": 0.0747,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0078,
            "key_pass": 0,
            "rating": 6.6997,
            "minutes": 30,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 2.5405,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 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": 2,
            "total_progression": 4,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 1.5385,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 33.3,
            "shotConversion": 0.33,
            "minutesPct": 41.9,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.593,
            "bench_expected_minutes": 30.13,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 22,
                "rating": 6.2,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "aerial_won": 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"
            },
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 45,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 1,
                "expected_goals": 0.1863,
                "expected_assists": 0.0039,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assists": 0,
                "expected_goals": 0.143,
                "expected_assists": 0.0071,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 8,
                "aerial_won": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3715,
            "combined_rank_score": 1682.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 490.0,
            "sofascore_rating": 6.8667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2874.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "projected_match_rating": 6.6997,
            "source_file": "data/player_rankings.csv",
            "player_name": "Isaac Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lucas Beltrán",
                  "ranking": 3710
                },
                {
                  "player_name": "Niclas Eliasson",
                  "ranking": 3711
                },
                {
                  "player_name": "Orri Óskarsson",
                  "ranking": 3712
                },
                {
                  "player_name": "Santiago Núñez",
                  "ranking": 3713
                },
                {
                  "player_name": "Viktor Johansson",
                  "ranking": 3714
                }
              ],
              "lower": [
                {
                  "player_name": "Roman Yaremchuk",
                  "ranking": 3716
                },
                {
                  "player_name": "Joe Gelhardt",
                  "ranking": 3717
                },
                {
                  "player_name": "Liam Kitching",
                  "ranking": 3718
                },
                {
                  "player_name": "Andreas Tetteh",
                  "ranking": 3719
                },
                {
                  "player_name": "Kiril Despodov",
                  "ranking": 3720
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.451,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.451,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 30.13,
            "bench_appearance_prob": 0.593,
            "market_value_adjustment": 0.9894,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 34.0,
              "goals_per90": 0.7692307692307692,
              "assists_per90": 0.7692307692307692,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 30.1 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 34.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.0925,
                "goal_rate": 0.2054,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0236,
                "key_pass": 0,
                "rating": 6.7715,
                "minutes": 37,
                "total_pass": 9,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 7.67,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.3304,
                  "totalShots": 0.8921,
                  "minutesPlayed": 36.0593,
                  "touches": 17.8299,
                  "dribbleValueNormalized": 0.031
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09254942089319229,
                    "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.0595
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.031
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0191
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0137
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0095
                        }
                      ],
                      "others": -0.0504,
                      "total": 0.0925
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.20536155998706818,
                    "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.068
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.05
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.029
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0182
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0175
                        }
                      ],
                      "others": 0.0062,
                      "total": 0.2054
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.49406471848487854,
                    "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.0489
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0387
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0252
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0173
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0461,
                      "total": 0.4941
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0235803984105587,
                    "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.0064
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0044
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.003
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0236
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3961634337902069,
                    "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.1554
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0345
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0289
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0219
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0202
                        }
                      ],
                      "others": -0.0258,
                      "total": 0.3962
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.771543025970459,
                    "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.0482
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.042
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0418
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.032
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0279
                        }
                      ],
                      "others": 0.1104,
                      "total": 6.7715
                    }
                  }
                ],
                "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.9894, quality 0.465)",
              "stats": {
                "expected_goals": 0.0916,
                "goal_rate": 0.2032,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0233,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 37,
                "total_pass": 9,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 18,
                "possession_lost": 7.5886,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 5200000,
                "quality_factor": 0.4646,
                "boost_factor": 0.9894
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0352)",
              "stats": {
                "expected_goals": 0.0916,
                "goal_rate": 0.2231,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0233,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 37,
                "total_pass": 9,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 18,
                "possession_lost": 7.5886,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 11,
                "progressive_carries": 0,
                "total_shots": 2,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0352,
                "history_matches": 3,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Sevilla"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1355
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "goals",
                  "before": 0.2032,
                  "after": 0.2231
                },
                {
                  "stat": "goalAssist",
                  "before": 0.3265,
                  "after": 0.3421
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4888,
                  "after": 0.4998
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 30.1 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0307,
                "goal_rate": 0.0747,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0078,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 2.5405,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.593,
                "bench_expected_minutes": 30.13
              },
              "params": {
                "expected_minutes": 30.13,
                "appearance_probability": 0.593
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0307,
                "goal_rate": 0.0747,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0078,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 2.5405,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.593,
                "bench_expected_minutes": 30.13
              },
              "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "expected_goals": 0.0735,
                "goal_rate": 0.0747,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0078,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 2.5405,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.593,
                "bench_expected_minutes": 30.13,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0307,
                  "after": 0.0735
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.0735,
                "goal_rate": 0.0747,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0078,
                "key_pass": 0,
                "rating": 6.6997,
                "minutes": 30,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 2.5405,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 2,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 4,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 1.5385,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 33.3,
                "shotConversion": 0.33,
                "minutesPct": 41.9,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.593,
                "bench_expected_minutes": 30.13,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3715,
                "fifa_rank": 2874.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Oso": {
          "player_id": 1534422,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 183,
          "market_value": 10500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0131,
            "assists": 0,
            "expected_goals": 0.0628,
            "rating": 6.8119,
            "minutes": 22,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 3.8788,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 3,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 7,
            "progressive_carries": 0,
            "bench_appearance_probability": 0.515,
            "bench_expected_minutes": 22.33,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 78,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 1,
                "expected_goals": 0.6198,
                "expected_assists": 0.1026,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 8,
                "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": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 78,
                "rating": 6.4,
                "assists": 0,
                "expected_goals": 0.0479,
                "expected_assists": 0.0199,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3838,
            "combined_rank_score": 1835.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 172.0,
            "sofascore_rating": 7.25,
            "sofascore_appearances": 2.0,
            "fifa_rank": 3498.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "projected_match_rating": 6.8119,
            "source_file": "data/player_rankings.csv",
            "player_name": "Oso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yehvann Diouf",
                  "ranking": 3833
                },
                {
                  "player_name": "Hugo Magnetti",
                  "ranking": 3834
                },
                {
                  "player_name": "Luismi Cruz",
                  "ranking": 3835
                },
                {
                  "player_name": "Sofiane Diop",
                  "ranking": 3836
                },
                {
                  "player_name": "Adam Karabec",
                  "ranking": 3837
                }
              ],
              "lower": [
                {
                  "player_name": "David López",
                  "ranking": 3839
                },
                {
                  "player_name": "Mohammed Salisu",
                  "ranking": 3840
                },
                {
                  "player_name": "Lilian Brassier",
                  "ranking": 3841
                },
                {
                  "player_name": "Thierry Correia",
                  "ranking": 3842
                },
                {
                  "player_name": "Anthony Rouault",
                  "ranking": 3843
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.33213210564965,
            "bench_appearance_prob": 0.5150969138931659,
            "market_value_adjustment": 1.0085,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (2 historical appearances) to 22.3 expected mins (appearance prob 0.52)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0523,
                "assists": 0,
                "expected_goals": 0.1046,
                "rating": 6.7545,
                "minutes": 78,
                "total_pass": 17,
                "accurate_pass": 11,
                "duels_won": 6,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 38,
                "possession_lost": 15.5,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 2,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 2,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 28,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 5.4262,
                  "ballRecovery": 4.7027,
                  "intensity_index": 7.9958,
                  "expectedAssists": 0.0646,
                  "kilometersCovered": 8.4546
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7644466757774353,
                    "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.146
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0621
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0458
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0343
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0169
                        }
                      ],
                      "others": -0.0238,
                      "total": 0.7644
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05229007452726364,
                    "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_p90",
                          "contribution": -0.0174
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0094
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0077
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0065
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.0523
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11318439990282059,
                    "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.0106
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0079
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0048
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0046
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0045
                        }
                      ],
                      "others": 0.001,
                      "total": 0.1132
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1045544445514679,
                    "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.026
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0186
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0142
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0117
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0098
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.1046
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.754482746124268,
                    "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.0639
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0208
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0197
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0127
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0123
                        }
                      ],
                      "others": -0.0141,
                      "total": 6.7545
                    }
                  }
                ],
                "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.0085, quality 0.528)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0527,
                "assists": 0,
                "expected_goals": 0.1054,
                "rating": 6.8119,
                "minutes": 79,
                "total_pass": 17,
                "accurate_pass": 11,
                "duels_won": 6,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 38,
                "possession_lost": 15.6317,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 3,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 2,
                "total_contest": 2,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 29,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 10500000,
                "quality_factor": 0.5283,
                "boost_factor": 1.0085
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.3 expected minutes (appearance prob 0.52)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0131,
                "assists": 0,
                "expected_goals": 0.0262,
                "rating": 6.8119,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.8788,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 7,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.515,
                "bench_expected_minutes": 22.33
              },
              "params": {
                "expected_minutes": 22.33,
                "appearance_probability": 0.515
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0131,
                "assists": 0,
                "expected_goals": 0.0262,
                "rating": 6.8119,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.8788,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 7,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.515,
                "bench_expected_minutes": 22.33
              },
              "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0131,
                "assists": 0,
                "expected_goals": 0.0628,
                "rating": 6.8119,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.8788,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 7,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.515,
                "bench_expected_minutes": 22.33,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0262,
                  "after": 0.0628
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 73.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0131,
                "assists": 0,
                "expected_goals": 0.0628,
                "rating": 6.8119,
                "minutes": 22,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 2,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 9,
                "possession_lost": 3.8788,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 3,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 7,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.515,
                "bench_expected_minutes": 22.33,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 73.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3838,
                "fifa_rank": 3498.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 73.0
              }
            }
          ]
        },
        "Robbie Ure": {
          "player_id": 1142351,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 189,
          "market_value": 4800000,
          "stats": {
            "expected_goals": 0.1241,
            "goal_rate": 0.0565,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0096,
            "key_pass": 0,
            "rating": 6.4949,
            "minutes": 36,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "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": 7,
            "possession_lost": 1.7866,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 4,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assists": 0,
            "shots_off_target": 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": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "total_shots": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 83.3,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 0.8,
            "bench_appearance_probability": 0.464,
            "bench_expected_minutes": 36.17,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.568,
            "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": 71.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416330.0,
              "match_date": "2026-09-11 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": "Sevilla",
              "away_team": "Valencia",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Sevilla",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416323.0,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 54,
                "rating": 6.5,
                "assists": 0,
                "expected_assists": 0.0249,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assists": 1,
                "expected_goals": 0.2605,
                "expected_assists": 0.0246,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 2,
                "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": 16416301.0,
              "match_date": "2026-08-22",
              "home_team": "Athletic Club",
              "away_team": "Sevilla",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Sevilla",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assists": 0,
                "expected_assists": 0.0048,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 1,
                "key_pass": 1,
                "aerial_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"
            },
            {
              "match_id": 16421052.0,
              "match_date": "2026-08-15",
              "home_team": "Sevilla",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Sevilla",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assists": 0,
                "expected_goals": 0.0899,
                "expected_assists": 0.0259,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 4666,
            "combined_rank_score": 2760.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5075.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 6.4949,
            "source_file": "data/player_rankings.csv",
            "player_name": "Robbie Ure",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Loris Karius",
                  "ranking": 4661
                },
                {
                  "player_name": "Lucas Ferreira",
                  "ranking": 4662
                },
                {
                  "player_name": "Hjalmar Ekdal",
                  "ranking": 4663
                },
                {
                  "player_name": "Kevin Stöger",
                  "ranking": 4664
                },
                {
                  "player_name": "Kenan Karaman",
                  "ranking": 4665
                }
              ],
              "lower": [
                {
                  "player_name": "Matías Pérez",
                  "ranking": 4667
                },
                {
                  "player_name": "Jean-Luc Dompé",
                  "ranking": 4668
                },
                {
                  "player_name": "Alessio Castro-Montes",
                  "ranking": 4669
                },
                {
                  "player_name": "Jordan Torunarigha",
                  "ranking": 4670
                },
                {
                  "player_name": "Nikolas Nartey",
                  "ranking": 4671
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.525,
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.525,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 36.17,
            "bench_appearance_prob": 0.464,
            "market_value_adjustment": 0.9879,
            "fbref_prior_metrics": {
              "squad": "Sevilla",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4,
              "prior_reliability": 0.1667
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 36.2 expected mins (appearance prob 0.46); FBref playing time empirical prior: 1.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1306,
                "goal_rate": 0.1514,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0242,
                "key_pass": 0,
                "rating": 6.5744,
                "minutes": 70,
                "total_pass": 8,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 4.5,
                "dispossessed": 0.0,
                "duels_lost": 8,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Espanyol",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.9929,
                  "minutesPlayed": 70.0304,
                  "touches": 16.9088,
                  "dribbleValueNormalized": 0.002
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13058461248874664,
                    "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.0715
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0187
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.017
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0152
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0115
                        }
                      ],
                      "others": -0.0716,
                      "total": 0.1306
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.15143060684204102,
                    "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.0637
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0427
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0324
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0227
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0151
                        }
                      ],
                      "others": -0.0477,
                      "total": 0.1514
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5173576474189758,
                    "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.0427
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0316
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0236
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0219
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0203
                        }
                      ],
                      "others": -0.0386,
                      "total": 0.5174
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.024189040064811707,
                    "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.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.005
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.004
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0036
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0114,
                      "total": 0.0242
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.40230298042297363,
                    "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.1622
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0233
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0231
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0229
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0227
                        }
                      ],
                      "others": -0.118,
                      "total": 0.4023
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.574381351470947,
                    "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.0663
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0412
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0371
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.037
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0351
                        }
                      ],
                      "others": -0.0551,
                      "total": 6.5744
                    }
                  }
                ],
                "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.9879, quality 0.460)",
              "stats": {
                "expected_goals": 0.129,
                "goal_rate": 0.1496,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0239,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 69,
                "total_pass": 8,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 4.4456,
                "dispossessed": 0.0,
                "duels_lost": 8,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 4800000,
                "quality_factor": 0.4597,
                "boost_factor": 0.9879
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0602)",
              "stats": {
                "expected_goals": 0.129,
                "goal_rate": 0.1406,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0239,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 69,
                "total_pass": 8,
                "accurate_pass": 6,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 4.4456,
                "dispossessed": 0.0,
                "duels_lost": 8,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 2,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8
              },
              "params": {
                "blend_weight": 0.0602,
                "history_matches": 4,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Sevilla"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0963
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5111,
                  "after": 0.4803
                },
                {
                  "stat": "goalAssist",
                  "before": 0.247,
                  "after": 0.2562
                },
                {
                  "stat": "goals",
                  "before": 0.1496,
                  "after": 0.1406
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 36.2 expected minutes (appearance prob 0.46)",
              "stats": {
                "expected_goals": 0.0518,
                "goal_rate": 0.0565,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0096,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "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": 7,
                "possession_lost": 1.7866,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 36.17
              },
              "params": {
                "expected_minutes": 36.17,
                "appearance_probability": 0.464
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0518,
                "goal_rate": 0.0565,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0096,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "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": 7,
                "possession_lost": 1.7866,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 36.17
              },
              "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.27 (squad xG sum 0.5323, xG scale 2.3953)",
              "stats": {
                "expected_goals": 0.1241,
                "goal_rate": 0.0565,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0096,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "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": 7,
                "possession_lost": 1.7866,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 36.17,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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.275,
                "squad_xg_sum": 0.5323,
                "xg_scale": 2.3953,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0518,
                  "after": 0.1241
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 71.0)",
              "stats": {
                "expected_goals": 0.1241,
                "goal_rate": 0.0565,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0096,
                "key_pass": 0,
                "rating": 6.4949,
                "minutes": 36,
                "total_pass": 3,
                "accurate_pass": 2,
                "duels_won": 1,
                "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": 7,
                "possession_lost": 1.7866,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 4,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 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": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "total_shots": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 83.3,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 0.8,
                "bench_appearance_probability": 0.464,
                "bench_expected_minutes": 36.17,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.568,
                "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": 71.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4666,
                "fifa_rank": 5075.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 71.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.27,
        "expected_assists": 0.51,
        "total_shots": 14,
        "shots_on_target": 2,
        "total_passes": 311,
        "interceptions": 6,
        "tackles": 14,
        "avg_rating": 6.78,
        "possession_estimated_pct": 47.4,
        "pressing_actions_per_90": 7.3
      }
    },
    "Barcelona": {
      "formation": "3-5-2",
      "players": {
        "Joan García": {
          "player_id": 930267,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 193,
          "market_value": 46000000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0,
            "rating": 7.7492,
            "minutes": 95,
            "total_pass": 27,
            "accurate_pass": 24,
            "duels_won": 0,
            "total_long_balls": 6,
            "accurate_long_balls": 2,
            "touches": 40,
            "clearances": 0,
            "ball_recovery": 13,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 3.278,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 23,
            "expected_saves": 0.69,
            "high_pressure_saves": 0.26,
            "shots_faced": 1.5,
            "opponent_faced": "Lucas Stassin, Kike Salas",
            "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": 86.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15: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": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Levante",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "clearances": 3,
                "ball_recovery": 10,
                "saves": 2,
                "goals_prevented": 0.558
              },
              "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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "ball_recovery": 13,
                "saves": 3,
                "goals_prevented": 0.2351
              },
              "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 30,
                "clearances": 2,
                "ball_recovery": 15
              },
              "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": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "clearances": 1,
                "ball_recovery": 9,
                "saves": 2,
                "goals_prevented": 0.2641
              },
              "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": 123,
            "combined_rank_score": 114.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 140.0,
            "sofascore_rating": 7.34,
            "sofascore_appearances": 30.0,
            "fifa_rank": 89.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "projected_match_rating": 7.7492,
            "source_file": "data/player_rankings.csv",
            "player_name": "Joan García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Adrián de la Fuente",
                  "ranking": 118
                },
                {
                  "player_name": "Jaylan Hankins",
                  "ranking": 119
                },
                {
                  "player_name": "Marquinhos",
                  "ranking": 120
                },
                {
                  "player_name": "Jan Oblak",
                  "ranking": 121
                },
                {
                  "player_name": "Morgan Rogers",
                  "ranking": 122
                }
              ],
              "lower": [
                {
                  "player_name": "Bruno Henrique",
                  "ranking": 124
                },
                {
                  "player_name": "Jung Seung-bae",
                  "ranking": 125
                },
                {
                  "player_name": "Alexander Badolato",
                  "ranking": 126
                },
                {
                  "player_name": "João Neves",
                  "ranking": 127
                },
                {
                  "player_name": "Davron Merganov",
                  "ranking": 128
                }
              ]
            }
          },
          "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": 1.0927,
            "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.0,
                "rating": 7.0921,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 22,
                "duels_won": 0,
                "total_long_balls": 5,
                "accurate_long_balls": 2,
                "touches": 36,
                "clearances": 0,
                "ball_recovery": 12,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 3.0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 21
              },
              "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-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.8143,
                  "touches": 35.8191,
                  "totalOwnHalfPasses": 22.4383,
                  "punches": 0.0,
                  "distribution_accuracy": 0.9262,
                  "accurateKeeperSweeper": 1.8143
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.881727457046509,
                    "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": "possessionLostCtrl",
                          "contribution": -0.1541
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0434
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": 0.0426
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0416
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.04
                        }
                      ],
                      "others": -0.0324,
                      "total": 2.8817
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.0,
                    "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": "accurateLongBalls",
                          "contribution": -0.1021
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0501
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": 0.041
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": 0.0362
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0234
                        }
                      ],
                      "others": 0.063,
                      "total": -0.0422
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.092050552368164,
                    "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": "accurateLongBalls",
                          "contribution": -0.0843
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0777
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0388
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0334
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": 0.0316
                        }
                      ],
                      "others": 0.0787,
                      "total": 7.0921
                    }
                  }
                ],
                "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.0927, quality 0.809)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 7.7492,
                "minutes": 95,
                "total_pass": 27,
                "accurate_pass": 24,
                "duels_won": 0,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "touches": 40,
                "clearances": 0,
                "ball_recovery": 13,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 3.278,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 23
              },
              "params": {
                "market_value_eur": 46000000,
                "quality_factor": 0.8089,
                "boost_factor": 1.0927
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 7.7492,
                "minutes": 95,
                "total_pass": 27,
                "accurate_pass": 24,
                "duels_won": 0,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "touches": 40,
                "clearances": 0,
                "ball_recovery": 13,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 3.278,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 23
              },
              "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.0,
                "rating": 7.7492,
                "minutes": 95,
                "total_pass": 27,
                "accurate_pass": 24,
                "duels_won": 0,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "touches": 40,
                "clearances": 0,
                "ball_recovery": 13,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 3.278,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 23,
                "expected_saves": 0.69,
                "high_pressure_saves": 0.26,
                "shots_faced": 1.5,
                "opponent_faced": "Lucas Stassin, Kike Salas",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lucas Stassin, Kike Salas",
                  "matchup_zone": "Goalkeeper shot-stopping context"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 7.7492,
                "minutes": 95,
                "total_pass": 27,
                "accurate_pass": 24,
                "duels_won": 0,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "touches": 40,
                "clearances": 0,
                "ball_recovery": 13,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 3.278,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 23,
                "expected_saves": 0.69,
                "high_pressure_saves": 0.26,
                "shots_faced": 1.5,
                "opponent_faced": "Lucas Stassin, Kike Salas",
                "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": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 11, fifa_overall 86.0)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 7.7492,
                "minutes": 95,
                "total_pass": 27,
                "accurate_pass": 24,
                "duels_won": 0,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "touches": 40,
                "clearances": 0,
                "ball_recovery": 13,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 3.278,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 23,
                "expected_saves": 0.69,
                "high_pressure_saves": 0.26,
                "shots_faced": 1.5,
                "opponent_faced": "Lucas Stassin, Kike Salas",
                "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": 86.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 123,
                "fifa_rank": 89.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.0,
                "rating": 7.7492,
                "minutes": 95,
                "total_pass": 27,
                "accurate_pass": 24,
                "duels_won": 0,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "touches": 40,
                "clearances": 0,
                "ball_recovery": 13,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 3.278,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 23,
                "expected_saves": 0.69,
                "high_pressure_saves": 0.26,
                "shots_faced": 1.5,
                "opponent_faced": "Lucas Stassin, Kike Salas",
                "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": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 24.3498,
                "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.0,
                "rating": 7.7492,
                "minutes": 95,
                "total_pass": 27,
                "accurate_pass": 24,
                "duels_won": 0,
                "total_long_balls": 6,
                "accurate_long_balls": 2,
                "touches": 40,
                "clearances": 0,
                "ball_recovery": 13,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 3.278,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 23,
                "expected_saves": 0.69,
                "high_pressure_saves": 0.26,
                "shots_faced": 1.5,
                "opponent_faced": "Lucas Stassin, Kike Salas",
                "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": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 13.6589,
                "weight_share": 0.0,
                "position_multiplier": 0.0
              }
            }
          ]
        },
        "Pau Cubarsí": {
          "player_id": 1402913,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 184,
          "market_value": 94000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "rating": 7.7747,
            "minutes": 90,
            "total_pass": 102,
            "accurate_pass": 96,
            "duels_won": 4,
            "total_long_balls": 8,
            "accurate_long_balls": 6,
            "total_own_half_passes": 61,
            "accurate_own_half_passes": 59,
            "total_opp_half_passes": 41,
            "accurate_opp_half_passes": 37,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 114,
            "possession_lost": 7.4524,
            "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.0335,
            "total_shots": 1,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 40,
            "total_progression": 150,
            "progressive_carries": 0,
            "key_pass": 0,
            "tackles_in_zone": 0.8,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Lucas Stassin",
            "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
            "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0412,
            "projected_assists": 0,
            "assist_probability": 0.0126,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 7.7,
                "assists": 0,
                "expected_assists": 0.0194,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 55,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 3,
                "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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assists": 0,
                "expected_goals": 0.0642,
                "expected_assists": 0.023,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 110,
                "accurate_pass": 100,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 3,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assists": 0,
                "expected_goals": 0.3941,
                "expected_assists": 0.0375,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 107,
                "accurate_pass": 102,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 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": 57,
            "combined_rank_score": 69.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 62.0,
            "sofascore_rating": 7.65,
            "sofascore_appearances": 2.0,
            "fifa_rank": 76.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "projected_match_rating": 7.7747,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pau Cubarsí",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matheus Frizzo",
                  "ranking": 52
                },
                {
                  "player_name": "Florian Wirtz",
                  "ranking": 53
                },
                {
                  "player_name": "Martín Zubimendi",
                  "ranking": 54
                },
                {
                  "player_name": "Luan Dias",
                  "ranking": 55
                },
                {
                  "player_name": "César Yanis",
                  "ranking": 56
                }
              ],
              "lower": [
                {
                  "player_name": "Declan Rice",
                  "ranking": 58
                },
                {
                  "player_name": "Frenkie de Jong",
                  "ranking": 59
                },
                {
                  "player_name": "Lucas Paquetá",
                  "ranking": 60
                },
                {
                  "player_name": "Rúben Dias",
                  "ranking": 61
                },
                {
                  "player_name": "Luis Díaz",
                  "ranking": 62
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.1173,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "rating": 6.9585,
                "minutes": 81,
                "total_pass": 91,
                "accurate_pass": 86,
                "duels_won": 4,
                "total_long_balls": 7,
                "accurate_long_balls": 5,
                "total_own_half_passes": 54,
                "accurate_own_half_passes": 53,
                "total_opp_half_passes": 37,
                "accurate_opp_half_passes": 33,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 102,
                "possession_lost": 6.67,
                "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.03,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 36,
                "total_progression": 134,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 8.0
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 83.069,
                  "touches_p90": 110.6919,
                  "possessionLostCtrl": 6.3285,
                  "totalClearance": 3.9913,
                  "aerialWon": 1.9417
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.014080286026001,
                    "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.0456
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0399
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0268
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.026
                        },
                        {
                          "name": "touches",
                          "contribution": 0.017
                        }
                      ],
                      "others": -0.0,
                      "total": 1.0141
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1484488248825073,
                    "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.0735
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0565
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0339
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0259
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0236
                        }
                      ],
                      "others": -0.0453,
                      "total": 1.1484
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7038916945457458,
                    "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": "long_ball_accuracy",
                          "contribution": 0.1
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0751
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0691
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0485
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.038
                        }
                      ],
                      "others": -0.0329,
                      "total": 0.7039
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.147075176239014,
                    "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": 0.277
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.205
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.1892
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1021
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.1017
                        }
                      ],
                      "others": 0.0731,
                      "total": 4.1471
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.3674567937850952,
                    "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.0922
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.061
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0541
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0492
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0438
                        }
                      ],
                      "others": 0.0971,
                      "total": 1.3675
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9584808349609375,
                    "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.0972
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0878
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0321
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0267
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0256
                        }
                      ],
                      "others": 0.0264,
                      "total": 6.9585
                    }
                  }
                ],
                "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.1173, quality 0.891)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 7.7747,
                "minutes": 90,
                "total_pass": 102,
                "accurate_pass": 96,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 6,
                "total_own_half_passes": 61,
                "accurate_own_half_passes": 59,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 37,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 114,
                "possession_lost": 7.4524,
                "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.0335,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 40,
                "total_progression": 150,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 94000000,
                "quality_factor": 0.891,
                "boost_factor": 1.1173
              }
            },
            {
              "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": 2,
                "rating": 7.7747,
                "minutes": 90,
                "total_pass": 102,
                "accurate_pass": 96,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 6,
                "total_own_half_passes": 61,
                "accurate_own_half_passes": 59,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 37,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 114,
                "possession_lost": 7.4524,
                "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.0335,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 40,
                "total_progression": 150,
                "progressive_carries": 0,
                "key_pass": 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": 2,
                "rating": 7.7747,
                "minutes": 90,
                "total_pass": 102,
                "accurate_pass": 96,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 6,
                "total_own_half_passes": 61,
                "accurate_own_half_passes": 59,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 37,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 114,
                "possession_lost": 7.4524,
                "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.0335,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 40,
                "total_progression": 150,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lucas Stassin",
                  "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 7.7747,
                "minutes": 90,
                "total_pass": 102,
                "accurate_pass": 96,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 6,
                "total_own_half_passes": 61,
                "accurate_own_half_passes": 59,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 37,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 114,
                "possession_lost": 7.4524,
                "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.0335,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 40,
                "total_progression": 150,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 4, fifa_overall 86.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 7.7747,
                "minutes": 90,
                "total_pass": 102,
                "accurate_pass": 96,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 6,
                "total_own_half_passes": 61,
                "accurate_own_half_passes": 59,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 37,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 114,
                "possession_lost": 7.4524,
                "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.0335,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 40,
                "total_progression": 150,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 57,
                "fifa_rank": 76.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "rating": 7.7747,
                "minutes": 90,
                "total_pass": 102,
                "accurate_pass": 96,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 6,
                "total_own_half_passes": 61,
                "accurate_own_half_passes": 59,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 37,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 114,
                "possession_lost": 7.4524,
                "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.0335,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 40,
                "total_progression": 150,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0412,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0412,
                "scorer_weight": 0.3389,
                "squad_weight_total": 24.3498,
                "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": 5,
                "aerial_won": 2,
                "rating": 7.7747,
                "minutes": 90,
                "total_pass": 102,
                "accurate_pass": 96,
                "duels_won": 4,
                "total_long_balls": 8,
                "accurate_long_balls": 6,
                "total_own_half_passes": 61,
                "accurate_own_half_passes": 59,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 37,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 114,
                "possession_lost": 7.4524,
                "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.0335,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 40,
                "total_progression": 150,
                "progressive_carries": 0,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0412,
                "projected_assists": 0,
                "assist_probability": 0.0126,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0126,
                "provider_weight": 0.1727,
                "squad_weight_total": 13.6589,
                "weight_share": 0.0126,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Jules Koundé": {
          "player_id": 827212,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 180,
          "market_value": 64000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "rating": 7.3764,
            "minutes": 47,
            "total_pass": 48,
            "accurate_pass": 45,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 24,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 60,
            "possession_lost": 5.5413,
            "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.0,
            "expected_assists": 0.0222,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 78,
            "progressive_carries": 1,
            "key_pass": 0,
            "tackles_in_zone": 0.8,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Lucas Stassin",
            "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
            "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0219,
            "projected_assists": 0,
            "assist_probability": 0.0094,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 7.4,
                "assists": 0,
                "expected_assists": 0.0401,
                "total_shots": 0,
                "total_pass": 78,
                "accurate_pass": 75,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assists": 0,
                "expected_assists": 0.0297,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 66,
                "key_pass": 1,
                "clearances": 4,
                "aerial_won": 2,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 10,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "clearances": 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": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 10,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 540,
            "combined_rank_score": 301.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 444.0,
            "sofascore_rating": 6.9033,
            "sofascore_appearances": 30.0,
            "fifa_rank": 159.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "projected_match_rating": 7.3764,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jules Koundé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Evan Ndicka",
                  "ranking": 535
                },
                {
                  "player_name": "Gabriel Lima",
                  "ranking": 536
                },
                {
                  "player_name": "Eder Aller",
                  "ranking": 537
                },
                {
                  "player_name": "Rafael Leão",
                  "ranking": 538
                },
                {
                  "player_name": "Mattia Zaccagni",
                  "ranking": 539
                }
              ],
              "lower": [
                {
                  "player_name": "Rafa Romero",
                  "ranking": 541
                },
                {
                  "player_name": "Alisher Odilov",
                  "ranking": 542
                },
                {
                  "player_name": "Hyeok-chan Son",
                  "ranking": 543
                },
                {
                  "player_name": "Min-ho Yoon",
                  "ranking": 544
                },
                {
                  "player_name": "Akmal Muzaffarov",
                  "ranking": 545
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.1083,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 6.6559,
                "minutes": 43,
                "total_pass": 44,
                "accurate_pass": 41,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 19,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 54,
                "possession_lost": 5.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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.02,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 70,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 61.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "accuratePass": 45.6526,
                  "touches_p90": 122.9684,
                  "possessionLostCtrl": 5.3761,
                  "totalClearance": 1.6075,
                  "aerialWon": 0.7262
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8788685202598572,
                    "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.0419
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.033
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0327
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0254
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0206
                        }
                      ],
                      "others": -0.0281,
                      "total": 0.8789
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1644388437271118,
                    "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.0791
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0627
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0445
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0309
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0272
                        }
                      ],
                      "others": -0.0009,
                      "total": 1.1644
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7154760360717773,
                    "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.0945
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0579
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0499
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0399
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0382
                        }
                      ],
                      "others": 0.0486,
                      "total": 0.7155
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.878695011138916,
                    "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.4799
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3831
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2408
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.171
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1201
                        }
                      ],
                      "others": -0.1934,
                      "total": 2.8787
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.0877337455749512,
                    "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.0976
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.059
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0486
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0451
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0379
                        }
                      ],
                      "others": -0.0392,
                      "total": 1.0877
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.655858516693115,
                    "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": "minutesPlayed",
                          "contribution": -0.0766
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0561
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0502
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0301
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0272
                        }
                      ],
                      "others": 0.0184,
                      "total": 6.6559
                    }
                  }
                ],
                "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.1083, quality 0.861)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 7.3764,
                "minutes": 47,
                "total_pass": 48,
                "accurate_pass": 45,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 24,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 5.5413,
                "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.0,
                "expected_assists": 0.0222,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 78,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 64000000,
                "quality_factor": 0.8608,
                "boost_factor": 1.1083
              }
            },
            {
              "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,
                "rating": 7.3764,
                "minutes": 47,
                "total_pass": 48,
                "accurate_pass": 45,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 24,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 5.5413,
                "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.0,
                "expected_assists": 0.0222,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 78,
                "progressive_carries": 1,
                "key_pass": 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,
                "rating": 7.3764,
                "minutes": 47,
                "total_pass": 48,
                "accurate_pass": 45,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 24,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 5.5413,
                "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.0,
                "expected_assists": 0.0222,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 78,
                "progressive_carries": 1,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lucas Stassin",
                  "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 7.3764,
                "minutes": 47,
                "total_pass": 48,
                "accurate_pass": 45,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 24,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 5.5413,
                "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.0,
                "expected_assists": 0.0222,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 78,
                "progressive_carries": 1,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 6, fifa_overall 85.0)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 7.3764,
                "minutes": 47,
                "total_pass": 48,
                "accurate_pass": 45,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 24,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 5.5413,
                "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.0,
                "expected_assists": 0.0222,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 78,
                "progressive_carries": 1,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 540,
                "fifa_rank": 159.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "rating": 7.3764,
                "minutes": 47,
                "total_pass": 48,
                "accurate_pass": 45,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 24,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 5.5413,
                "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.0,
                "expected_assists": 0.0222,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 78,
                "progressive_carries": 1,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0219,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0219,
                "scorer_weight": 0.1789,
                "squad_weight_total": 24.3498,
                "weight_share": 0.0073,
                "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,
                "rating": 7.3764,
                "minutes": 47,
                "total_pass": 48,
                "accurate_pass": 45,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 24,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 60,
                "possession_lost": 5.5413,
                "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.0,
                "expected_assists": 0.0222,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 78,
                "progressive_carries": 1,
                "key_pass": 0,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0219,
                "projected_assists": 0,
                "assist_probability": 0.0094,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0094,
                "provider_weight": 0.1279,
                "squad_weight_total": 13.6589,
                "weight_share": 0.0094,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Alejandro Balde": {
          "player_id": 997035,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 177,
          "market_value": 55000000,
          "stats": {
            "interceptions": 2,
            "tackles": 3,
            "tackles_won": 2,
            "clearances": 4,
            "aerial_won": 3,
            "duels_won": 7,
            "total_pass": 55,
            "accurate_pass": 44,
            "expected_goals": 0.0688,
            "rating": 7.4,
            "minutes": 90,
            "total_long_balls": 7,
            "accurate_long_balls": 4,
            "total_own_half_passes": 35,
            "accurate_own_half_passes": 28,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 70,
            "possession_lost": 8.2,
            "dispossessed": 0.6,
            "duels_lost": 4,
            "aerial_lost": 3,
            "total_contest": 5,
            "won_contest": 3,
            "ball_recovery": 6,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assists": 0,
            "expected_assists": 0.077,
            "total_shots": 1,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.02,
            "key_pass": 1,
            "ball_carries": 27,
            "total_progression": 80,
            "progressive_carries": 6,
            "tackles_in_zone": 0.8,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Lucas Stassin",
            "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
            "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0702,
            "projected_assists": 0,
            "assist_probability": 0.0325,
            "fifa_overall": 78.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 1817,
            "combined_rank_score": 965.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 700.0,
            "sofascore_rating": 6.6963,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1231.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "projected_match_rating": 7.4,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alejandro Balde",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nail Omerović",
                  "ranking": 1812
                },
                {
                  "player_name": "Elhan Kastrati",
                  "ranking": 1813
                },
                {
                  "player_name": "Jae-hun Cho",
                  "ranking": 1814
                },
                {
                  "player_name": "Abulfayz Bobomurodov",
                  "ranking": 1815
                },
                {
                  "player_name": "Alejandro Rego Mora",
                  "ranking": 1816
                }
              ],
              "lower": [
                {
                  "player_name": "José Luis Morales",
                  "ranking": 1818
                },
                {
                  "player_name": "Guido Rodríguez",
                  "ranking": 1819
                },
                {
                  "player_name": "Wesley Fofana",
                  "ranking": 1820
                },
                {
                  "player_name": "Marten de Roon",
                  "ranking": 1821
                },
                {
                  "player_name": "Florentino Luís",
                  "ranking": 1822
                }
              ]
            }
          },
          "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"
            ],
            "market_value_adjustment": 0.8399,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€55,000,000) applied for position D (quality factor 0.84)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.84)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 7,
                "total_pass": 55,
                "accurate_pass": 44,
                "expected_goals": 0.026,
                "rating": 7.4,
                "minutes": 90,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 8.2,
                "dispossessed": 0.6,
                "duels_lost": 4,
                "aerial_lost": 3,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.077,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 27,
                "total_progression": 80,
                "progressive_carries": 6
              },
              "params": {
                "market_value_eur": 55000000,
                "quality_factor": 0.8399
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 7,
                "total_pass": 55,
                "accurate_pass": 44,
                "expected_goals": 0.026,
                "rating": 7.4,
                "minutes": 90,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 8.2,
                "dispossessed": 0.6,
                "duels_lost": 4,
                "aerial_lost": 3,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.077,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 27,
                "total_progression": 80,
                "progressive_carries": 6
              },
              "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": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 7,
                "total_pass": 55,
                "accurate_pass": 44,
                "expected_goals": 0.026,
                "rating": 7.4,
                "minutes": 90,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 8.2,
                "dispossessed": 0.6,
                "duels_lost": 4,
                "aerial_lost": 3,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.077,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 27,
                "total_progression": 80,
                "progressive_carries": 6,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lucas Stassin",
                  "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 7,
                "total_pass": 55,
                "accurate_pass": 44,
                "expected_goals": 0.0688,
                "rating": 7.4,
                "minutes": 90,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 8.2,
                "dispossessed": 0.6,
                "duels_lost": 4,
                "aerial_lost": 3,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.077,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 27,
                "total_progression": 80,
                "progressive_carries": 6,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.026,
                  "after": 0.0688
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 9, fifa_overall 78.0)",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 7,
                "total_pass": 55,
                "accurate_pass": 44,
                "expected_goals": 0.0688,
                "rating": 7.4,
                "minutes": 90,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 8.2,
                "dispossessed": 0.6,
                "duels_lost": 4,
                "aerial_lost": 3,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.077,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 27,
                "total_progression": 80,
                "progressive_carries": 6,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "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_filled",
                "ranking_status": "combined",
                "global_player_rank": 1817,
                "fifa_rank": 1231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 7,
                "total_pass": 55,
                "accurate_pass": 44,
                "expected_goals": 0.0688,
                "rating": 7.4,
                "minutes": 90,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 8.2,
                "dispossessed": 0.6,
                "duels_lost": 4,
                "aerial_lost": 3,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.077,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 27,
                "total_progression": 80,
                "progressive_carries": 6,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0702,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0702,
                "scorer_weight": 0.5837,
                "squad_weight_total": 24.3498,
                "weight_share": 0.024,
                "position_multiplier": 0.38
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "interceptions": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 7,
                "total_pass": 55,
                "accurate_pass": 44,
                "expected_goals": 0.0688,
                "rating": 7.4,
                "minutes": 90,
                "total_long_balls": 7,
                "accurate_long_balls": 4,
                "total_own_half_passes": 35,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 10,
                "crosses_total": 1,
                "crosses_accurate": 1,
                "touches": 70,
                "possession_lost": 8.2,
                "dispossessed": 0.6,
                "duels_lost": 4,
                "aerial_lost": 3,
                "total_contest": 5,
                "won_contest": 3,
                "ball_recovery": 6,
                "challenges_lost": 1,
                "fouls": 1,
                "fouls_drawn": 1,
                "blocks": 1,
                "goal_rate": 0.0,
                "goals": 0,
                "assists": 0,
                "expected_assists": 0.077,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.02,
                "key_pass": 1,
                "ball_carries": 27,
                "total_progression": 80,
                "progressive_carries": 6,
                "tackles_in_zone": 0.8,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.4,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Stassin",
                "pressing_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "matchup_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0702,
                "projected_assists": 0,
                "assist_probability": 0.0325,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0325,
                "provider_weight": 0.4445,
                "squad_weight_total": 13.6589,
                "weight_share": 0.0325,
                "position_multiplier": 0.45
              }
            }
          ]
        },
        "Lamine Yamal": {
          "player_id": 1402912,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 183,
          "market_value": 237000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.1782,
            "assists": 1,
            "expected_goals": 0.6599,
            "rating": 7.7978,
            "minutes": 94,
            "total_pass": 57,
            "accurate_pass": 46,
            "duels_won": 6,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 45,
            "accurate_opp_half_passes": 35,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 86,
            "possession_lost": 22.4,
            "dispossessed": 0.0,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 7,
            "won_contest": 4,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 2,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 30,
            "total_progression": 167,
            "progressive_carries": 8,
            "total_shots": 2,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.4,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.512,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Youssouf Fofana",
            "opponent_faced": "Youssouf Fofana",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.2669,
            "projected_assists": 1,
            "assist_probability": 0.2001,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15: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": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Levante",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 8.9,
                "goal_rate": 2.0,
                "goals": 2,
                "assists": 0,
                "expected_goals": 1.1231,
                "expected_assists": 0.3021,
                "total_shots": 8,
                "shots_on_target": 4,
                "shots_off_target": 3,
                "total_pass": 79,
                "accurate_pass": 66,
                "key_pass": 6,
                "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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 10.0,
                "goal_rate": 2.0,
                "goals": 2,
                "assists": 0,
                "expected_goals": 0.327,
                "expected_assists": 0.5343,
                "total_shots": 6,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 40,
                "accurate_pass": 30,
                "key_pass": 7,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 12,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assists": 0,
                "expected_goals": 0.8933,
                "expected_assists": 0.7456,
                "total_shots": 7,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 55,
                "accurate_pass": 45,
                "key_pass": 5,
                "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": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.2063,
                "expected_assists": 0.1498,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 29,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 1,
            "combined_rank_score": 5.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 7.0,
            "sofascore_rating": 8.65,
            "sofascore_appearances": 2.0,
            "fifa_rank": 4.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "projected_match_rating": 7.7978,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lamine Yamal",
            "ranking_neighbors": {
              "upper": [],
              "lower": [
                {
                  "player_name": "Kylian Mbappé",
                  "ranking": 2
                },
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                },
                {
                  "player_name": "Mariano Díaz",
                  "ranking": 4
                },
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                },
                {
                  "player_name": "Pedri",
                  "ranking": 6
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.12,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1591,
                "assists": 0,
                "expected_goals": 0.2226,
                "rating": 6.9623,
                "minutes": 84,
                "total_pass": 51,
                "accurate_pass": 41,
                "duels_won": 6,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 40,
                "accurate_opp_half_passes": 32,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 77,
                "possession_lost": 20.0,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 6,
                "won_contest": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "blocks": 0,
                "big_chances_created": 1,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 26,
                "total_progression": 149,
                "progressive_carries": 8
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 2.5491,
                  "ballRecovery": 2.4009,
                  "intensity_index": 8.8627,
                  "expectedAssists": 0.4353,
                  "kilometersCovered": 9.2363
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.5314732789993286,
                    "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.0926
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0641
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0592
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0539
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0545
                        }
                      ],
                      "others": 0.2381,
                      "total": 1.5315
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.159086674451828,
                    "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": "progressive_carries_p90",
                          "contribution": 0.0092
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0079
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0084
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0076
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.006
                        }
                      ],
                      "others": 0.0271,
                      "total": 0.1591
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1530991494655609,
                    "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.025
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0151
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.011
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.007
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0045
                        }
                      ],
                      "others": 0.0089,
                      "total": 0.1531
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.22260797023773193,
                    "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": "possessionLostCtrl",
                          "contribution": 0.023
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0274
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0127
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0109
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0108
                        }
                      ],
                      "others": 0.0509,
                      "total": 0.2226
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.962315082550049,
                    "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.0287
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0286
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0285
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0247
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0232
                        }
                      ],
                      "others": 0.054,
                      "total": 6.9623
                    }
                  }
                ],
                "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.1200, quality 0.900)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1782,
                "assists": 0,
                "expected_goals": 0.2493,
                "rating": 7.7978,
                "minutes": 94,
                "total_pass": 57,
                "accurate_pass": 46,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 45,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 86,
                "possession_lost": 22.4,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 7,
                "won_contest": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "blocks": 0,
                "big_chances_created": 1,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 167,
                "progressive_carries": 8
              },
              "params": {
                "market_value_eur": 237000000,
                "quality_factor": 0.9,
                "boost_factor": 1.12
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1782,
                "assists": 0,
                "expected_goals": 0.2493,
                "rating": 7.7978,
                "minutes": 94,
                "total_pass": 57,
                "accurate_pass": 46,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 45,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 86,
                "possession_lost": 22.4,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 7,
                "won_contest": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "blocks": 0,
                "big_chances_created": 1,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 167,
                "progressive_carries": 8
              },
              "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.1782,
                "assists": 0,
                "expected_goals": 0.2493,
                "rating": 7.7978,
                "minutes": 94,
                "total_pass": 57,
                "accurate_pass": 46,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 45,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 86,
                "possession_lost": 22.4,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 7,
                "won_contest": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "blocks": 0,
                "big_chances_created": 1,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 167,
                "progressive_carries": 8,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.512,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Youssouf Fofana",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.512,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1782,
                "assists": 0,
                "expected_goals": 0.6599,
                "rating": 7.7978,
                "minutes": 94,
                "total_pass": 57,
                "accurate_pass": 46,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 45,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 86,
                "possession_lost": 22.4,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 7,
                "won_contest": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "blocks": 0,
                "big_chances_created": 1,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 167,
                "progressive_carries": 8,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.512,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "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": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2493,
                  "after": 0.6599
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 1, fifa_overall 90.0)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1782,
                "assists": 0,
                "expected_goals": 0.6599,
                "rating": 7.7978,
                "minutes": 94,
                "total_pass": 57,
                "accurate_pass": 46,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 45,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 86,
                "possession_lost": 22.4,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 7,
                "won_contest": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "blocks": 0,
                "big_chances_created": 1,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 167,
                "progressive_carries": 8,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.512,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 90.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1,
                "fifa_rank": 4.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 90.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1782,
                "assists": 0,
                "expected_goals": 0.6599,
                "rating": 7.7978,
                "minutes": 94,
                "total_pass": 57,
                "accurate_pass": 46,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 45,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 86,
                "possession_lost": 22.4,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 7,
                "won_contest": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "blocks": 0,
                "big_chances_created": 1,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 167,
                "progressive_carries": 8,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.512,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2669,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.2669,
                "scorer_weight": 2.3943,
                "squad_weight_total": 24.3498,
                "weight_share": 0.0983,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1782,
                "assists": 1,
                "expected_goals": 0.6599,
                "rating": 7.7978,
                "minutes": 94,
                "total_pass": 57,
                "accurate_pass": 46,
                "duels_won": 6,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 45,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 86,
                "possession_lost": 22.4,
                "dispossessed": 0.0,
                "duels_lost": 6,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 7,
                "won_contest": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "blocks": 0,
                "big_chances_created": 1,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 167,
                "progressive_carries": 8,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.512,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2669,
                "projected_assists": 1,
                "assist_probability": 0.2001,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2001,
                "provider_weight": 2.7335,
                "squad_weight_total": 13.6589,
                "weight_share": 0.2001,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Pedri": {
          "player_id": 992587,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 174,
          "market_value": 164000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1136,
            "assists": 0,
            "expected_goals": 0.3174,
            "rating": 7.9586,
            "minutes": 81,
            "total_pass": 68,
            "accurate_pass": 64,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 3,
            "total_own_half_passes": 26,
            "accurate_own_half_passes": 25,
            "total_opp_half_passes": 43,
            "accurate_opp_half_passes": 39,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 82,
            "possession_lost": 7.5594,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 31,
            "total_progression": 93,
            "progressive_carries": 1,
            "total_shots": 2,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.476,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Youssouf Fofana",
            "opponent_faced": "Youssouf Fofana",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1476,
            "projected_assists": 0,
            "assist_probability": 0.1229,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15: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": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Levante",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 81,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.297,
                "expected_assists": 0.112,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 69,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 77,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.0773,
                "expected_assists": 0.1121,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 68,
                "key_pass": 2,
                "duels_won": 3,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 85,
                "rating": 8.0,
                "assists": 1,
                "expected_assists": 0.4608,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 52,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 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"
            },
            {
              "match_id": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 46,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.1668,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 6,
            "combined_rank_score": 12.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 12.0,
            "sofascore_rating": 8.425,
            "sofascore_appearances": 4.0,
            "fifa_rank": 12.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "projected_match_rating": 7.9586,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pedri",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lamine Yamal",
                  "ranking": 1
                },
                {
                  "player_name": "Kylian Mbappé",
                  "ranking": 2
                },
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                },
                {
                  "player_name": "Mariano Díaz",
                  "ranking": 4
                },
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                }
              ],
              "lower": [
                {
                  "player_name": "Ryu Won-Woo",
                  "ranking": 7
                },
                {
                  "player_name": "Bruno Fernandes",
                  "ranking": 8
                },
                {
                  "player_name": "Felix Horn Myhre",
                  "ranking": 9
                },
                {
                  "player_name": "Raphinha",
                  "ranking": 10
                },
                {
                  "player_name": "Vini Jr.",
                  "ranking": 11
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.1199,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1014,
                "assists": 0,
                "expected_goals": 0.1071,
                "rating": 7.1064,
                "minutes": 72,
                "total_pass": 61,
                "accurate_pass": 58,
                "duels_won": 3,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 38,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 73,
                "possession_lost": 6.75,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 28,
                "total_progression": 83,
                "progressive_carries": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 46.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 6.7579,
                  "ballRecovery": 5.71,
                  "intensity_index": 5.598,
                  "expectedAssists": 0.2017,
                  "kilometersCovered": 9.602
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0909383296966553,
                    "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.0664
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0497
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0446
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0359
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0269
                        }
                      ],
                      "others": -0.0299,
                      "total": 1.0909
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10140618681907654,
                    "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.0089
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0092
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0095
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0063
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0059
                        }
                      ],
                      "others": -0.0069,
                      "total": 0.1014
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.13788960874080658,
                    "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": "ballCarriesCount",
                          "contribution": 0.0182
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0212
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0095
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0063
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0059
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.1379
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10709205269813538,
                    "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": "ballRecovery_p90",
                          "contribution": -0.0137
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.012
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0084
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0043
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0042
                        }
                      ],
                      "others": 0.0084,
                      "total": 0.1071
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.106444358825684,
                    "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": "totalPass_p90",
                          "contribution": 0.0433
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.031
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0276
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0263
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0237
                        }
                      ],
                      "others": 0.1227,
                      "total": 7.1064
                    }
                  }
                ],
                "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.1199, quality 0.900)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1136,
                "assists": 0,
                "expected_goals": 0.1199,
                "rating": 7.9586,
                "minutes": 81,
                "total_pass": 68,
                "accurate_pass": 64,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 3,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 43,
                "accurate_opp_half_passes": 39,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 7.5594,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 31,
                "total_progression": 93,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 164000000,
                "quality_factor": 0.8997,
                "boost_factor": 1.1199
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1136,
                "assists": 0,
                "expected_goals": 0.1199,
                "rating": 7.9586,
                "minutes": 81,
                "total_pass": 68,
                "accurate_pass": 64,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 3,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 43,
                "accurate_opp_half_passes": 39,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 7.5594,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 31,
                "total_progression": 93,
                "progressive_carries": 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.1136,
                "assists": 0,
                "expected_goals": 0.1199,
                "rating": 7.9586,
                "minutes": 81,
                "total_pass": 68,
                "accurate_pass": 64,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 3,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 43,
                "accurate_opp_half_passes": 39,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 7.5594,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 31,
                "total_progression": 93,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.476,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Youssouf Fofana",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.476,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1136,
                "assists": 0,
                "expected_goals": 0.3174,
                "rating": 7.9586,
                "minutes": 81,
                "total_pass": 68,
                "accurate_pass": 64,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 3,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 43,
                "accurate_opp_half_passes": 39,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 7.5594,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 31,
                "total_progression": 93,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.476,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1199,
                  "after": 0.3174
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 2, fifa_overall 90.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1136,
                "assists": 0,
                "expected_goals": 0.3174,
                "rating": 7.9586,
                "minutes": 81,
                "total_pass": 68,
                "accurate_pass": 64,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 3,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 43,
                "accurate_opp_half_passes": 39,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 7.5594,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 31,
                "total_progression": 93,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.476,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 90.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6,
                "fifa_rank": 12.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 90.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1136,
                "assists": 0,
                "expected_goals": 0.3174,
                "rating": 7.9586,
                "minutes": 81,
                "total_pass": 68,
                "accurate_pass": 64,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 3,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 43,
                "accurate_opp_half_passes": 39,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 7.5594,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 31,
                "total_progression": 93,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.476,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1476,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1476,
                "scorer_weight": 1.2621,
                "squad_weight_total": 24.3498,
                "weight_share": 0.0518,
                "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.1136,
                "assists": 0,
                "expected_goals": 0.3174,
                "rating": 7.9586,
                "minutes": 81,
                "total_pass": 68,
                "accurate_pass": 64,
                "duels_won": 3,
                "total_long_balls": 3,
                "accurate_long_balls": 3,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 25,
                "total_opp_half_passes": 43,
                "accurate_opp_half_passes": 39,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 82,
                "possession_lost": 7.5594,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 31,
                "total_progression": 93,
                "progressive_carries": 1,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.476,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Youssouf Fofana",
                "opponent_faced": "Youssouf Fofana",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1476,
                "projected_assists": 0,
                "assist_probability": 0.1229,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1229,
                "provider_weight": 1.6786,
                "squad_weight_total": 13.6589,
                "weight_share": 0.1229,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Fermín López": {
          "player_id": 1153270,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 176,
          "market_value": 103000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.1694,
            "assists": 0,
            "expected_goals": 0.549,
            "rating": 7.8159,
            "minutes": 79,
            "total_pass": 38,
            "accurate_pass": 32,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 28,
            "accurate_opp_half_passes": 23,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 55,
            "possession_lost": 12.301,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "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,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 15,
            "total_progression": 37,
            "progressive_carries": 2,
            "opponent_faced": "Youssouf Fofana",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.209,
            "projected_assists": 0,
            "assist_probability": 0.195,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15: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": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Levante",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 75,
                "rating": 8.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 2,
                "expected_goals": 0.3788,
                "expected_assists": 0.4771,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 40,
                "key_pass": 4,
                "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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 26,
                "rating": 7.2,
                "assists": 0,
                "expected_goals": 0.3051,
                "expected_assists": 0.0748,
                "total_shots": 1,
                "total_pass": 14,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 1.0318,
                "expected_assists": 0.0498,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 43,
                "accurate_pass": 36,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "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": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "goal_rate": 2.0,
                "goals": 2,
                "assists": 0,
                "expected_goals": 1.0127,
                "expected_assists": 0.0329,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 33,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 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": 33,
            "combined_rank_score": 28.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 44.0,
            "sofascore_rating": 7.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 13.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "projected_match_rating": 7.8159,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fermín López",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rafael Romo",
                  "ranking": 28
                },
                {
                  "player_name": "Michael Olise",
                  "ranking": 29
                },
                {
                  "player_name": "Marko Arnautović",
                  "ranking": 30
                },
                {
                  "player_name": "Mikel Oyarzabal",
                  "ranking": 31
                },
                {
                  "player_name": "Vitinha",
                  "ranking": 32
                }
              ],
              "lower": [
                {
                  "player_name": "Bianneider Tamayo",
                  "ranking": 34
                },
                {
                  "player_name": "Virgil van Dijk",
                  "ranking": 35
                },
                {
                  "player_name": "Remo Freuler",
                  "ranking": 36
                },
                {
                  "player_name": "Pablo Cunat Campos",
                  "ranking": 37
                },
                {
                  "player_name": "Pablo Cuñat",
                  "ranking": 38
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.1183,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1515,
                "assists": 0,
                "expected_goals": 0.1854,
                "rating": 6.9892,
                "minutes": 70,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 20,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 11.0,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 2
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 8.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 2.785,
                  "ballRecovery": 2.0656,
                  "intensity_index": 9.7718,
                  "expectedAssists": 0.1873,
                  "kilometersCovered": 8.2463
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.409158706665039,
                    "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.0954
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0642
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0516
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.046
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0307
                        }
                      ],
                      "others": 0.1522,
                      "total": 1.4092
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.15151028335094452,
                    "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.0135
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0073
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0058
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0054
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0046
                        }
                      ],
                      "others": 0.022,
                      "total": 0.1515
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.16735374927520752,
                    "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.0226
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0173
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0105
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0088
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0039
                        }
                      ],
                      "others": 0.0087,
                      "total": 0.1674
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1854214072227478,
                    "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.0229
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0113
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0079
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0083
                        },
                        {
                          "name": "intensity_index",
                          "contribution": 0.0076
                        }
                      ],
                      "others": 0.0187,
                      "total": 0.1854
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.989233016967773,
                    "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.0318
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0246
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0242
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0218
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0182
                        }
                      ],
                      "others": 0.0368,
                      "total": 6.9892
                    }
                  }
                ],
                "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.1183, quality 0.894)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1694,
                "assists": 0,
                "expected_goals": 0.2074,
                "rating": 7.8159,
                "minutes": 79,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 12.301,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 37,
                "progressive_carries": 2
              },
              "params": {
                "market_value_eur": 103000000,
                "quality_factor": 0.8942,
                "boost_factor": 1.1183
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1694,
                "assists": 0,
                "expected_goals": 0.2074,
                "rating": 7.8159,
                "minutes": 79,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 12.301,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 37,
                "progressive_carries": 2
              },
              "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.1694,
                "assists": 0,
                "expected_goals": 0.2074,
                "rating": 7.8159,
                "minutes": 79,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 12.301,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 37,
                "progressive_carries": 2,
                "opponent_faced": "Youssouf Fofana",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Youssouf Fofana",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1694,
                "assists": 0,
                "expected_goals": 0.549,
                "rating": 7.8159,
                "minutes": 79,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 12.301,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 37,
                "progressive_carries": 2,
                "opponent_faced": "Youssouf Fofana",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2074,
                  "after": 0.549
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 3, fifa_overall 90.0)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1694,
                "assists": 0,
                "expected_goals": 0.549,
                "rating": 7.8159,
                "minutes": 79,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 12.301,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 37,
                "progressive_carries": 2,
                "opponent_faced": "Youssouf Fofana",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 90.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 33,
                "fifa_rank": 13.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 90.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1694,
                "assists": 0,
                "expected_goals": 0.549,
                "rating": 7.8159,
                "minutes": 79,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 12.301,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 37,
                "progressive_carries": 2,
                "opponent_faced": "Youssouf Fofana",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.209,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.209,
                "scorer_weight": 1.8308,
                "squad_weight_total": 24.3498,
                "weight_share": 0.0752,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1694,
                "assists": 0,
                "expected_goals": 0.549,
                "rating": 7.8159,
                "minutes": 79,
                "total_pass": 38,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 12.301,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 37,
                "progressive_carries": 2,
                "opponent_faced": "Youssouf Fofana",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.209,
                "projected_assists": 0,
                "assist_probability": 0.195,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.195,
                "provider_weight": 2.6632,
                "squad_weight_total": 13.6589,
                "weight_share": 0.195,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Raphinha": {
          "player_id": 831005,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 11,
          "height": 176,
          "market_value": 63000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0945,
            "assists": 0,
            "expected_goals": 0.4251,
            "rating": 7.7477,
            "minutes": 88,
            "total_pass": 30,
            "accurate_pass": 26,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 17,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 44,
            "possession_lost": 8.8614,
            "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": 1.6615,
            "goals": 1,
            "shots_on_target": 2,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 1.4511,
            "ball_carries": 12,
            "total_progression": 56,
            "progressive_carries": 2,
            "total_shots": 2,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.5,
            "crosses_attempted": 3.1,
            "duel_win_rate": 0.582,
            "pressing_faced": "LOW",
            "matchup_zone": "LWB vs RWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Gabriel Suazo",
            "opponent_faced": "Gabriel Suazo",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 1,
            "goal_probability": 0.6339,
            "projected_assists": 0,
            "assist_probability": 0.1104,
            "fifa_overall": 88.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15: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": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Levante",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 1.2971,
                "expected_assists": 0.0868,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 39,
                "key_pass": 1,
                "aerial_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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 86,
                "rating": 9.5,
                "goal_rate": 2.0,
                "goals": 2,
                "assists": 0,
                "expected_goals": 1.2998,
                "expected_assists": 0.3009,
                "total_shots": 4,
                "shots_on_target": 3,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 3,
                "tackles": 1,
                "duels_won": 5,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 63,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.7976,
                "expected_assists": 0.1329,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 3,
                "clearances": 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": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 80,
                "rating": 9.9,
                "goal_rate": 2.0,
                "goals": 2,
                "assists": 1,
                "expected_goals": 2.0042,
                "expected_assists": 0.3631,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 18,
                "accurate_pass": 15,
                "key_pass": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 10,
            "combined_rank_score": 17.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 2.0,
            "sofascore_rating": 9.1,
            "sofascore_appearances": 3.0,
            "fifa_rank": 32.0,
            "fifa_overall": 88.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "projected_match_rating": 7.7477,
            "source_file": "data/player_rankings.csv",
            "player_name": "Raphinha",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                },
                {
                  "player_name": "Pedri",
                  "ranking": 6
                },
                {
                  "player_name": "Ryu Won-Woo",
                  "ranking": 7
                },
                {
                  "player_name": "Bruno Fernandes",
                  "ranking": 8
                },
                {
                  "player_name": "Felix Horn Myhre",
                  "ranking": 9
                }
              ],
              "lower": [
                {
                  "player_name": "Vini Jr.",
                  "ranking": 11
                },
                {
                  "player_name": "Nico López",
                  "ranking": 12
                },
                {
                  "player_name": "Harry Kane",
                  "ranking": 13
                },
                {
                  "player_name": "Adrián",
                  "ranking": 14
                },
                {
                  "player_name": "Gabriel",
                  "ranking": 15
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.1077,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0853,
                "assists": 0,
                "expected_goals": 0.145,
                "rating": 6.9945,
                "minutes": 80,
                "total_pass": 28,
                "accurate_pass": 24,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 15,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 40,
                "possession_lost": 8.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": 0,
                "fouls_drawn": 0,
                "goal_rate": 1.5,
                "goals": 2,
                "shots_on_target": 2,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 1.31,
                "ball_carries": 11,
                "total_progression": 51,
                "progressive_carries": 2
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 9.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 9.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 1.4475,
                  "ballRecovery": 1.3138,
                  "intensity_index": 14.5497,
                  "expectedAssists": 0.2076,
                  "kilometersCovered": 9.3196
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1880089044570923,
                    "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": "ballCarriesCount_p90",
                          "contribution": -0.0642
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0542
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0451
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0296
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0283
                        }
                      ],
                      "others": 0.1259,
                      "total": 1.188
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08526932448148727,
                    "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.0091
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0088
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0049
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0042
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0037,
                      "total": 0.0853
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12555770576000214,
                    "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.016
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0147
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0054
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0034
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.003
                        }
                      ],
                      "others": 0.0051,
                      "total": 0.1256
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1449814736843109,
                    "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.0229
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0225
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0074
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.006
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0041
                        }
                      ],
                      "others": 0.0332,
                      "total": 0.145
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.994534015655518,
                    "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.0316
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0303
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0297
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0247
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0247
                        }
                      ],
                      "others": 0.0217,
                      "total": 6.9945
                    }
                  }
                ],
                "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.1077, quality 0.859)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0945,
                "assists": 0,
                "expected_goals": 0.1606,
                "rating": 7.7477,
                "minutes": 88,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 8.8614,
                "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": 1.6615,
                "goals": 2,
                "shots_on_target": 2,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 1.4511,
                "ball_carries": 12,
                "total_progression": 56,
                "progressive_carries": 2
              },
              "params": {
                "market_value_eur": 63000000,
                "quality_factor": 0.8589,
                "boost_factor": 1.1077
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0945,
                "assists": 0,
                "expected_goals": 0.1606,
                "rating": 7.7477,
                "minutes": 88,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 8.8614,
                "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": 1.6615,
                "goals": 2,
                "shots_on_target": 2,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 1.4511,
                "ball_carries": 12,
                "total_progression": 56,
                "progressive_carries": 2
              },
              "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.0945,
                "assists": 0,
                "expected_goals": 0.1606,
                "rating": 7.7477,
                "minutes": 88,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 8.8614,
                "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": 1.6615,
                "goals": 2,
                "shots_on_target": 2,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 1.4511,
                "ball_carries": 12,
                "total_progression": 56,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.582,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Suazo",
                "opponent_faced": "Gabriel Suazo",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Gabriel Suazo",
                  "matchup_zone": "LWB vs RWB",
                  "duel_win_rate": 0.582,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0945,
                "assists": 0,
                "expected_goals": 0.4251,
                "rating": 7.7477,
                "minutes": 88,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 8.8614,
                "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": 1.6615,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 1.4511,
                "ball_carries": 12,
                "total_progression": 56,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.582,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Suazo",
                "opponent_faced": "Gabriel Suazo",
                "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": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1606,
                  "after": 0.4251
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 7, fifa_overall 88.0)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0945,
                "assists": 0,
                "expected_goals": 0.4251,
                "rating": 7.7477,
                "minutes": 88,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 8.8614,
                "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": 1.6615,
                "goals": 0,
                "shots_on_target": 2,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 1.4511,
                "ball_carries": 12,
                "total_progression": 56,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.582,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Suazo",
                "opponent_faced": "Gabriel Suazo",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 88.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 10,
                "fifa_rank": 32.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 88.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0945,
                "assists": 0,
                "expected_goals": 0.4251,
                "rating": 7.7477,
                "minutes": 88,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 8.8614,
                "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": 1.6615,
                "goals": 1,
                "shots_on_target": 2,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 1.4511,
                "ball_carries": 12,
                "total_progression": 56,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.582,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Suazo",
                "opponent_faced": "Gabriel Suazo",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 1,
                "goal_probability": 0.6339,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 1,
                "goal_probability": 0.6339,
                "scorer_weight": 6.9313,
                "squad_weight_total": 24.3498,
                "weight_share": 0.2847,
                "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.0945,
                "assists": 0,
                "expected_goals": 0.4251,
                "rating": 7.7477,
                "minutes": 88,
                "total_pass": 30,
                "accurate_pass": 26,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 17,
                "crosses_total": 3,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 8.8614,
                "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": 1.6615,
                "goals": 1,
                "shots_on_target": 2,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 1,
                "xgot": 1.4511,
                "ball_carries": 12,
                "total_progression": 56,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.582,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Gabriel Suazo",
                "opponent_faced": "Gabriel Suazo",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 1,
                "goal_probability": 0.6339,
                "projected_assists": 0,
                "assist_probability": 0.1104,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1104,
                "provider_weight": 1.5076,
                "squad_weight_total": 13.6589,
                "weight_share": 0.1104,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Dani Olmo": {
          "player_id": 789071,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 179,
          "market_value": 58000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.1377,
            "assists": 0,
            "expected_goals": 0.171,
            "rating": 7.6518,
            "minutes": 36,
            "total_pass": 24,
            "accurate_pass": 22,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 8,
            "accurate_own_half_passes": 7,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 34,
            "possession_lost": 4.6935,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 8,
            "total_progression": 28,
            "progressive_carries": 1,
            "total_shots": 1,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 3.0,
            "duel_win_rate": 0.511,
            "pressing_faced": "LOW",
            "matchup_zone": "RWB vs LWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Kike Salas",
            "opponent_faced": "Kike Salas",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0933,
            "projected_assists": 0,
            "assist_probability": 0.1802,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 15,
                "rating": 7.9,
                "assists": 2,
                "expected_goals": 0.1952,
                "expected_assists": 0.4391,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 64,
                "rating": 7.1,
                "assists": 0,
                "expected_goals": 0.0755,
                "expected_assists": 0.5023,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 7.3,
                "assists": 0,
                "expected_goals": 0.0193,
                "expected_assists": 0.2054,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "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": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 6.5,
                "assists": 0,
                "expected_goals": 0.1185,
                "expected_assists": 0.0063,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 15,
                "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": 426,
            "combined_rank_score": 261.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 230.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "projected_match_rating": 7.6518,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Olmo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ismoilbek Usmonxo'jayev",
                  "ranking": 421
                },
                {
                  "player_name": "Seok-joo Yoon",
                  "ranking": 422
                },
                {
                  "player_name": "Harry Wilson",
                  "ranking": 423
                },
                {
                  "player_name": "Christos Tzolis",
                  "ranking": 424
                },
                {
                  "player_name": "Nordi Mukiele",
                  "ranking": 425
                }
              ],
              "lower": [
                {
                  "player_name": "Piotr Zieliński",
                  "ranking": 427
                },
                {
                  "player_name": "Anvar Gofurov",
                  "ranking": 428
                },
                {
                  "player_name": "Ibrokhimkhalil Yuldoshev",
                  "ranking": 429
                },
                {
                  "player_name": "Iliman Ndiaye",
                  "ranking": 430
                },
                {
                  "player_name": "Lisandro Martínez",
                  "ranking": 431
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.1044,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 5 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1247,
                "assists": 0,
                "expected_goals": 0.0585,
                "rating": 6.9287,
                "minutes": 33,
                "total_pass": 22,
                "accurate_pass": 20,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 4.25,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 7,
                "total_progression": 25,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "ballRecovery_p90": 5.2717,
                  "ballRecovery": 1.3878,
                  "intensity_index": 3.1993,
                  "expectedAssists": 0.3196,
                  "kilometersCovered": 4.1017
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.5408577919006348,
                    "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.1192
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0662
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0674
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0653
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0669
                        }
                      ],
                      "others": 0.1868,
                      "total": 1.5409
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12471725791692734,
                    "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.0139
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0071
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.007
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0068
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.006
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.1247
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11586467921733856,
                    "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": "creative_efficiency",
                          "contribution": 0.0123
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0069
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0042
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0042
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0033
                        }
                      ],
                      "others": 0.0116,
                      "total": 0.1159
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05850463733077049,
                    "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.0178
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0131
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0091
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0087
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.0585
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.928735733032227,
                    "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.0252
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0232
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0206
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0185
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0152
                        }
                      ],
                      "others": 0.0354,
                      "total": 6.9287
                    }
                  }
                ],
                "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.1044, quality 0.848)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1377,
                "assists": 0,
                "expected_goals": 0.0646,
                "rating": 7.6518,
                "minutes": 36,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6935,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 28,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 58000000,
                "quality_factor": 0.8478,
                "boost_factor": 1.1044
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1377,
                "assists": 0,
                "expected_goals": 0.0646,
                "rating": 7.6518,
                "minutes": 36,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6935,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 28,
                "progressive_carries": 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": 2,
                "expected_assists": 0.1377,
                "assists": 0,
                "expected_goals": 0.0646,
                "rating": 7.6518,
                "minutes": 36,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6935,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 28,
                "progressive_carries": 1,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kike Salas",
                "opponent_faced": "Kike Salas",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Kike Salas",
                  "matchup_zone": "RWB vs LWB",
                  "duel_win_rate": 0.511,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1"
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1377,
                "assists": 0,
                "expected_goals": 0.171,
                "rating": 7.6518,
                "minutes": 36,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6935,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 28,
                "progressive_carries": 1,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kike Salas",
                "opponent_faced": "Kike Salas",
                "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": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0646,
                  "after": 0.171
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 8, fifa_overall 84.0)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1377,
                "assists": 0,
                "expected_goals": 0.171,
                "rating": 7.6518,
                "minutes": 36,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6935,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 28,
                "progressive_carries": 1,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kike Salas",
                "opponent_faced": "Kike Salas",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 426,
                "fifa_rank": 230.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1377,
                "assists": 0,
                "expected_goals": 0.171,
                "rating": 7.6518,
                "minutes": 36,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6935,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 28,
                "progressive_carries": 1,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kike Salas",
                "opponent_faced": "Kike Salas",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0933,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0933,
                "scorer_weight": 0.7819,
                "squad_weight_total": 24.3498,
                "weight_share": 0.0321,
                "position_multiplier": 0.78
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1377,
                "assists": 0,
                "expected_goals": 0.171,
                "rating": 7.6518,
                "minutes": 36,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 7,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 4.6935,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 2,
                "won_contest": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 28,
                "progressive_carries": 1,
                "total_shots": 1,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.9,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.511,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kike Salas",
                "opponent_faced": "Kike Salas",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0933,
                "projected_assists": 0,
                "assist_probability": 0.1802,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1802,
                "provider_weight": 2.4619,
                "squad_weight_total": 13.6589,
                "weight_share": 0.1802,
                "position_multiplier": 1.45
              }
            }
          ]
        },
        "Anthony Gordon": {
          "player_id": 914902,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 17,
          "height": 183,
          "market_value": 82000000,
          "stats": {
            "expected_goals": 0.8172,
            "goal_rate": 0.1801,
            "goals": 1,
            "shots_on_target": 1,
            "expected_assists": 0.1694,
            "key_pass": 1,
            "rating": 7.5915,
            "minutes": 68,
            "total_pass": 24,
            "accurate_pass": 21,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 37,
            "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,
            "shots_off_target": 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": 15,
            "total_progression": 83,
            "progressive_carries": 5,
            "total_shots": 3,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.354,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
            "opponent_faced": "José Ángel Carmona, Arouna Sangante",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.5944,
            "projected_assists": 0,
            "assist_probability": 0.0824,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15: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": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Levante",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assists": 1,
                "expected_goals": 0.5656,
                "expected_assists": 0.129,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 1,
                "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"
            },
            {
              "match_id": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 77,
                "rating": 7.4,
                "assists": 1,
                "expected_goals": 0.2531,
                "expected_assists": 0.1888,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 80,
                "rating": 7.2,
                "assists": 0,
                "expected_goals": 0.3171,
                "expected_assists": 0.2526,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "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"
            },
            {
              "match_id": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 7.6,
                "assists": 2,
                "expected_goals": 0.0769,
                "expected_assists": 0.3274,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 13,
                "key_pass": 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": 395,
            "combined_rank_score": 252.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 12.0,
            "fifa_rank": 413.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "projected_match_rating": 7.5915,
            "source_file": "data/player_rankings.csv",
            "player_name": "Anthony Gordon",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Oybek Bozorov",
                  "ranking": 390
                },
                {
                  "player_name": "Marlon Freitas",
                  "ranking": 391
                },
                {
                  "player_name": "Gabriel Paulista",
                  "ranking": 392
                },
                {
                  "player_name": "Sergio Rochet",
                  "ranking": 393
                },
                {
                  "player_name": "João Palhinha",
                  "ranking": 394
                }
              ],
              "lower": [
                {
                  "player_name": "Giorgi Jgerenaia",
                  "ranking": 396
                },
                {
                  "player_name": "Stipe Perica",
                  "ranking": 397
                },
                {
                  "player_name": "Nurillo Tukhtasinov",
                  "ranking": 398
                },
                {
                  "player_name": "Min Ji-Hoon",
                  "ranking": 399
                },
                {
                  "player_name": "Avazbek Ulmasaliyev",
                  "ranking": 400
                }
              ]
            }
          },
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.1151,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.3076,
                "goal_rate": 0.1615,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.1519,
                "key_pass": 1,
                "rating": 6.8079,
                "minutes": 61,
                "total_pass": 21,
                "accurate_pass": 19,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 33,
                "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": 1,
                "shots_off_target": 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": 14,
                "total_progression": 74,
                "progressive_carries": 4
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 1.04,
                  "totalShots": 2.3408,
                  "minutesPlayed": 62.9516,
                  "touches": 34.8627,
                  "dribbleValueNormalized": 0.3978
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.30758264660835266,
                    "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.0307
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0227
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0226
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0159
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0139
                        }
                      ],
                      "others": 0.0327,
                      "total": 0.3076
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.16152676939964294,
                    "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.066
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0324
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0188
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0169
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0151
                        }
                      ],
                      "others": -0.0348,
                      "total": 0.1615
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6176392436027527,
                    "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.0375
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0259
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0171
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0144
                        }
                      ],
                      "others": 0.0131,
                      "total": 0.6176
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.15189874172210693,
                    "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.0191
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0195
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0137
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0135
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0045
                        }
                      ],
                      "others": 0.0237,
                      "total": 0.1519
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8876557350158691,
                    "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.1259
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.1062
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0601
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0368
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0244
                        }
                      ],
                      "others": 0.0452,
                      "total": 0.8877
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.807888984680176,
                    "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.0668
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0637
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.041
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0364
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0352
                        }
                      ],
                      "others": 0.0764,
                      "total": 6.8079
                    }
                  }
                ],
                "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.1151, quality 0.884)",
              "stats": {
                "expected_goals": 0.343,
                "goal_rate": 0.1801,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.1694,
                "key_pass": 1,
                "rating": 7.5915,
                "minutes": 68,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "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": 1,
                "shots_off_target": 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": 15,
                "total_progression": 83,
                "progressive_carries": 5
              },
              "params": {
                "market_value_eur": 82000000,
                "quality_factor": 0.8837,
                "boost_factor": 1.1151
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.343,
                "goal_rate": 0.1801,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.1694,
                "key_pass": 1,
                "rating": 7.5915,
                "minutes": 68,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "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": 1,
                "shots_off_target": 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": 15,
                "total_progression": 83,
                "progressive_carries": 5
              },
              "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.3087,
                "goal_rate": 0.1801,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.1694,
                "key_pass": 1,
                "rating": 7.5915,
                "minutes": 68,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "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": 1,
                "shots_off_target": 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": 15,
                "total_progression": 83,
                "progressive_carries": 5,
                "total_shots": 3,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.354,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_override": 0.3087
                }
              },
              "changes": [
                {
                  "stat": "expectedGoals",
                  "before": 0.343,
                  "after": 0.3087
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "expected_goals": 0.8172,
                "goal_rate": 0.1801,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.1694,
                "key_pass": 1,
                "rating": 7.5915,
                "minutes": 68,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "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,
                "shots_off_target": 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": 15,
                "total_progression": 83,
                "progressive_carries": 5,
                "total_shots": 3,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3087,
                  "after": 0.8172
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 5, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.8172,
                "goal_rate": 0.1801,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.1694,
                "key_pass": 1,
                "rating": 7.5915,
                "minutes": 68,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "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,
                "shots_off_target": 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": 15,
                "total_progression": 83,
                "progressive_carries": 5,
                "total_shots": 3,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 395,
                "fifa_rank": 413.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.8172,
                "goal_rate": 0.1801,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.1694,
                "key_pass": 1,
                "rating": 7.5915,
                "minutes": 68,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "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,
                "shots_off_target": 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": 15,
                "total_progression": 83,
                "progressive_carries": 5,
                "total_shots": 3,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.5944,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 1,
                "goal_probability": 0.5944,
                "scorer_weight": 6.3259,
                "squad_weight_total": 24.3498,
                "weight_share": 0.2598,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.8172,
                "goal_rate": 0.1801,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.1694,
                "key_pass": 1,
                "rating": 7.5915,
                "minutes": 68,
                "total_pass": 24,
                "accurate_pass": 21,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 18,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "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,
                "shots_off_target": 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": 15,
                "total_progression": 83,
                "progressive_carries": 5,
                "total_shots": 3,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.354,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.5944,
                "projected_assists": 0,
                "assist_probability": 0.0824,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0824,
                "provider_weight": 1.1252,
                "squad_weight_total": 13.6589,
                "weight_share": 0.0824,
                "position_multiplier": 0.85
              }
            }
          ]
        },
        "Karim Adeyemi": {
          "player_id": 940054,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 14,
          "height": 180,
          "market_value": 41000000,
          "stats": {
            "expected_goals": 0.3701,
            "goal_rate": 0.1881,
            "goals": 1,
            "shots_on_target": 1,
            "expected_assists": 0.0594,
            "key_pass": 1,
            "rating": 7.3855,
            "minutes": 31,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 5.1575,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 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": 39,
            "progressive_carries": 2,
            "total_shots": 2,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.298,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
            "opponent_faced": "José Ángel Carmona, Arouna Sangante",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.392,
            "projected_assists": 0,
            "assist_probability": 0.0545,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0459,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.9,
                "assists": 1,
                "expected_goals": 0.3099,
                "expected_assists": 0.0195,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "key_pass": 1,
                "aerial_won": 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"
            },
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 10,
                "rating": 6.2,
                "assists": 0,
                "expected_goals": 0.5525,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 3,
                "accurate_pass": 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": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assists": 0,
                "expected_goals": 0.5198,
                "expected_assists": 0.051,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 11,
                "key_pass": 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": 927,
            "combined_rank_score": 430.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 416.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "projected_match_rating": 7.3855,
            "source_file": "data/player_rankings.csv",
            "player_name": "Karim Adeyemi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joaquín Montecinos",
                  "ranking": 922
                },
                {
                  "player_name": "Sang-jun Lee",
                  "ranking": 923
                },
                {
                  "player_name": "Ju-an You",
                  "ranking": 924
                },
                {
                  "player_name": "Julián Brea",
                  "ranking": 925
                },
                {
                  "player_name": "Rodrigo Zalazar",
                  "ranking": 926
                }
              ],
              "lower": [
                {
                  "player_name": "Marlon Maranhão",
                  "ranking": 928
                },
                {
                  "player_name": "Islom Kenzhaboev",
                  "ranking": 929
                },
                {
                  "player_name": "Isco",
                  "ranking": 930
                },
                {
                  "player_name": "Karim Benzema",
                  "ranking": 931
                },
                {
                  "player_name": "Julen Agirrezabala",
                  "ranking": 932
                }
              ]
            }
          },
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0858,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 6 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1574,
                "goal_rate": 0.1733,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0547,
                "key_pass": 1,
                "rating": 6.802,
                "minutes": 29,
                "total_pass": 10,
                "accurate_pass": 7,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 4.75,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 7,
                "total_progression": 36,
                "progressive_carries": 2
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.3138,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.6862,
                  "totalShots": 0.6862,
                  "minutesPlayed": 27.0484,
                  "touches": 14.8575,
                  "dribbleValueNormalized": 0.1394
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.15737740695476532,
                    "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.0723
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0264
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0204
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0181
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0122
                        }
                      ],
                      "others": -0.0625,
                      "total": 0.1574
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17326940596103668,
                    "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.0608
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0429
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0281
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0213
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0175
                        }
                      ],
                      "others": -0.0442,
                      "total": 0.1733
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7454859614372253,
                    "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.0575
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0528
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0339
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.024
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0148
                        }
                      ],
                      "others": -0.0026,
                      "total": 0.7455
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.054691556841135025,
                    "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.0128
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0078
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0057
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0056
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.0547
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7324709296226501,
                    "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.1298
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0733
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.029
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0265
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0229
                        }
                      ],
                      "others": -0.0323,
                      "total": 0.7325
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.802022457122803,
                    "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.0624
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0531
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0439
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0365
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0347
                        }
                      ],
                      "others": 0.1212,
                      "total": 6.802
                    }
                  }
                ],
                "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.0858, quality 0.786)",
              "stats": {
                "expected_goals": 0.1709,
                "goal_rate": 0.1881,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0594,
                "key_pass": 1,
                "rating": 7.3855,
                "minutes": 31,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 5.1575,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 39,
                "progressive_carries": 2
              },
              "params": {
                "market_value_eur": 41000000,
                "quality_factor": 0.7859,
                "boost_factor": 1.0858
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1709,
                "goal_rate": 0.1881,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0594,
                "key_pass": 1,
                "rating": 7.3855,
                "minutes": 31,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 5.1575,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 39,
                "progressive_carries": 2
              },
              "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.1398,
                "goal_rate": 0.1881,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0594,
                "key_pass": 1,
                "rating": 7.3855,
                "minutes": 31,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 5.1575,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 39,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.298,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.298,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_override": 0.1398
                }
              },
              "changes": [
                {
                  "stat": "expectedGoals",
                  "before": 0.1709,
                  "after": 0.1398
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "expected_goals": 0.3701,
                "goal_rate": 0.1881,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0594,
                "key_pass": 1,
                "rating": 7.3855,
                "minutes": 31,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 5.1575,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 39,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.298,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "team_lambda": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1398,
                  "after": 0.3701
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 12, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.3701,
                "goal_rate": 0.1881,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0594,
                "key_pass": 1,
                "rating": 7.3855,
                "minutes": 31,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 5.1575,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 39,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.298,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 927,
                "fifa_rank": 416.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight",
              "stats": {
                "expected_goals": 0.3701,
                "goal_rate": 0.1881,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0594,
                "key_pass": 1,
                "rating": 7.3855,
                "minutes": 31,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 5.1575,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 39,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.298,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.392,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 1,
                "goal_probability": 0.392,
                "scorer_weight": 3.722,
                "squad_weight_total": 24.3498,
                "weight_share": 0.1529,
                "position_multiplier": 1.45
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight",
              "stats": {
                "expected_goals": 0.3701,
                "goal_rate": 0.1881,
                "goals": 1,
                "shots_on_target": 1,
                "expected_assists": 0.0594,
                "key_pass": 1,
                "rating": 7.3855,
                "minutes": 31,
                "total_pass": 10,
                "accurate_pass": 8,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 5.1575,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 39,
                "progressive_carries": 2,
                "total_shots": 2,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.298,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José Ángel Carmona, Arouna Sangante",
                "opponent_faced": "José Ángel Carmona, Arouna Sangante",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.392,
                "projected_assists": 0,
                "assist_probability": 0.0545,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0545,
                "provider_weight": 0.7439,
                "squad_weight_total": 13.6589,
                "weight_share": 0.0545,
                "position_multiplier": 0.85
              }
            }
          ]
        }
      },
      "bench_players": {
        "Dominik Livaković": {
          "player_id": 190419,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 40,
          "height": 186,
          "market_value": 4099999,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0227,
            "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.0148,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1186,
            "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.111,
            "bench_expected_minutes": 4.45,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.654,
            "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": 78.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 2016,
            "combined_rank_score": 769.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 274.0,
            "sofascore_rating": 7.0714,
            "sofascore_appearances": 7.0,
            "fifa_rank": 1264.0,
            "fifa_overall": 78.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": "Dominik Livaković",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ayoub El Kaabi",
                  "ranking": 2011
                },
                {
                  "player_name": "Viktor Tsygankov",
                  "ranking": 2012
                },
                {
                  "player_name": "Brennan Johnson",
                  "ranking": 2013
                },
                {
                  "player_name": "Dani Vivian",
                  "ranking": 2014
                },
                {
                  "player_name": "Joaquín Larrivey",
                  "ranking": 2015
                }
              ],
              "lower": [
                {
                  "player_name": "Alexander Nübel",
                  "ranking": 2017
                },
                {
                  "player_name": "Domingos Duarte",
                  "ranking": 2018
                },
                {
                  "player_name": "Davide Frattesi",
                  "ranking": 2019
                },
                {
                  "player_name": "Sebastian Szymański",
                  "ranking": 2020
                },
                {
                  "player_name": "Ibrokhim Ibrokhimov",
                  "ranking": 2021
                }
              ]
            }
          },
          "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.446242177473513,
            "bench_appearance_prob": 0.11119282624879602,
            "market_value_adjustment": 0.4511,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€4,099,999) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.45)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.46,
                "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": 17
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.0227,
                "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.0148,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1186,
                "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.111,
                "bench_expected_minutes": 4.45
              },
              "params": {
                "expected_minutes": 4.45,
                "appearance_probability": 0.111
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.0227,
                "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.0148,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1186,
                "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.111,
                "bench_expected_minutes": 4.45
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 18, fifa_overall 78.0)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.0227,
                "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.0148,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1186,
                "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.111,
                "bench_expected_minutes": 4.45,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 78.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2016,
                "fifa_rank": 1264.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Eric García": {
          "player_id": 876214,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 182,
          "market_value": 39000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 7.2671,
            "minutes": 15,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 1.6143,
            "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.0,
            "expected_assists": 0.0215,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 3,
            "progressive_carries": 0,
            "key_pass": 0,
            "bench_appearance_probability": 0.36,
            "bench_expected_minutes": 14.91,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.654,
            "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": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 29,
                "rating": 6.7,
                "assists": 0,
                "expected_assists": 0.0181,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 32,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 80,
                "rating": 7.5,
                "assists": 0,
                "expected_goals": 0.0721,
                "expected_assists": 0.1814,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 68,
                "accurate_pass": 58,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 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": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assists": 0,
                "expected_assists": 0.1559,
                "total_shots": 0,
                "total_pass": 71,
                "accurate_pass": 62,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 1,
                "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": 107,
            "combined_rank_score": 106.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 2.0,
            "fifa_rank": 160.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "projected_match_rating": 7.2671,
            "source_file": "data/player_rankings.csv",
            "player_name": "Eric García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "José Sanhueza",
                  "ranking": 102
                },
                {
                  "player_name": "Fedor Lapoukhov",
                  "ranking": 103
                },
                {
                  "player_name": "Ramón Sosa",
                  "ranking": 104
                },
                {
                  "player_name": "Hakan Çalhanoğlu",
                  "ranking": 105
                },
                {
                  "player_name": "Paulo Dybala",
                  "ranking": 106
                }
              ],
              "lower": [
                {
                  "player_name": "Gabriel Castellón",
                  "ranking": 108
                },
                {
                  "player_name": "Ben White",
                  "ranking": 109
                },
                {
                  "player_name": "Federico Dimarco",
                  "ranking": 110
                },
                {
                  "player_name": "Jérémy Doku",
                  "ranking": 111
                },
                {
                  "player_name": "Bruno Lamas",
                  "ranking": 112
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 14.910768701577831,
            "bench_appearance_prob": 0.3595803955262651,
            "market_value_adjustment": 1.0826,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (3 historical appearances) to 14.9 expected mins (appearance prob 0.36)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 6.7124,
                "minutes": 66,
                "total_pass": 58,
                "accurate_pass": 51,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 26,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 31,
                "accurate_opp_half_passes": 26,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 9.0,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "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.12,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 19,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 29.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.9
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 49.0165,
                  "touches_p90": 109.151,
                  "possessionLostCtrl": 8.551,
                  "totalClearance": 2.3955,
                  "aerialWon": 0.9417
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.602644681930542,
                    "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.2542
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0332
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0202
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0195
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0184
                        }
                      ],
                      "others": -0.0421,
                      "total": 0.6026
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.209045648574829,
                    "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": "is_starting_11",
                          "contribution": -0.0716
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0659
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0611
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.058
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0479
                        }
                      ],
                      "others": -0.0694,
                      "total": 1.209
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7599095106124878,
                    "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.1418
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0855
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0543
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0401
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0319
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.7599
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.2383707761764526,
                    "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.6032
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2032
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1628
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0776
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.064
                        }
                      ],
                      "others": -0.182,
                      "total": 1.2384
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7219645380973816,
                    "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.3104
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.055
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0316
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0251
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0198
                        }
                      ],
                      "others": -0.1178,
                      "total": 0.722
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.712439060211182,
                    "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.0615
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0277
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0237
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0203
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0189
                        }
                      ],
                      "others": 0.0234,
                      "total": 6.7124
                    }
                  }
                ],
                "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.0826, quality 0.775)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "rating": 7.2671,
                "minutes": 72,
                "total_pass": 62,
                "accurate_pass": 55,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 29,
                "accurate_own_half_passes": 26,
                "total_opp_half_passes": 34,
                "accurate_opp_half_passes": 29,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 84,
                "possession_lost": 9.7437,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "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.1299,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 21,
                "progressive_carries": 0,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 39000000,
                "quality_factor": 0.7754,
                "boost_factor": 1.0826
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 14.9 expected minutes (appearance prob 0.36)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 7.2671,
                "minutes": 15,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 1.6143,
                "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.0,
                "expected_assists": 0.0215,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 3,
                "progressive_carries": 0,
                "key_pass": 0,
                "bench_appearance_probability": 0.36,
                "bench_expected_minutes": 14.91
              },
              "params": {
                "expected_minutes": 14.91,
                "appearance_probability": 0.36
              }
            },
            {
              "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,
                "rating": 7.2671,
                "minutes": 15,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 1.6143,
                "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.0,
                "expected_assists": 0.0215,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 3,
                "progressive_carries": 0,
                "key_pass": 0,
                "bench_appearance_probability": 0.36,
                "bench_expected_minutes": 14.91
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 13, fifa_overall 85.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 7.2671,
                "minutes": 15,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 14,
                "possession_lost": 1.6143,
                "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.0,
                "expected_assists": 0.0215,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 3,
                "progressive_carries": 0,
                "key_pass": 0,
                "bench_appearance_probability": 0.36,
                "bench_expected_minutes": 14.91,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 85.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 107,
                "fifa_rank": 160.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 85.0
              }
            }
          ]
        },
        "Gerard Martín": {
          "player_id": 1094827,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 186,
          "market_value": 32000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "rating": 7.1382,
            "minutes": 15,
            "total_pass": 14,
            "accurate_pass": 13,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 8,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 0.818,
            "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.0,
            "expected_assists": 0.0035,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 18,
            "progressive_carries": 0,
            "key_pass": 0,
            "bench_appearance_probability": 0.352,
            "bench_expected_minutes": 14.74,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.654,
            "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": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16416329.0,
              "match_date": "2026-09-13 14:15: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": "Levante",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 4.0,
              "team_side": "away",
              "status_code": 100.0,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Levante",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assists": 0,
                "expected_assists": 0.0294,
                "total_shots": 0,
                "total_pass": 89,
                "accurate_pass": 82,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "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": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assists": 0,
                "expected_goals": 0.1036,
                "expected_assists": 0.0267,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 95,
                "accurate_pass": 93,
                "interceptions": 2,
                "clearances": 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"
            },
            {
              "match_id": 16416311.0,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 56,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 12,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 1191,
            "combined_rank_score": 525.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 108.0,
            "sofascore_rating": 7.45,
            "sofascore_appearances": 2.0,
            "fifa_rank": 942.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "projected_match_rating": 7.1382,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gerard Martín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Diego Rubio",
                  "ranking": 1186
                },
                {
                  "player_name": "Ismaïla Sarr",
                  "ranking": 1187
                },
                {
                  "player_name": "Kevin Danso",
                  "ranking": 1188
                },
                {
                  "player_name": "Folarin Balogun",
                  "ranking": 1189
                },
                {
                  "player_name": "Jonathan David",
                  "ranking": 1190
                }
              ],
              "lower": [
                {
                  "player_name": "Keelan Lebon",
                  "ranking": 1192
                },
                {
                  "player_name": "Sukhrob Nurullaev",
                  "ranking": 1193
                },
                {
                  "player_name": "Ayyoub Bouaddi",
                  "ranking": 1194
                },
                {
                  "player_name": "Choi Hee-won",
                  "ranking": 1195
                },
                {
                  "player_name": "Murodbek Rahmatov",
                  "ranking": 1196
                }
              ]
            }
          },
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 14.738792805130341,
            "bench_appearance_prob": 0.35176330932410643,
            "market_value_adjustment": 1.0696,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (3 historical appearances) to 14.7 expected mins (appearance prob 0.35)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 6 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 6.6737,
                "minutes": 90,
                "total_pass": 81,
                "accurate_pass": 77,
                "duels_won": 4,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 47,
                "accurate_own_half_passes": 47,
                "total_opp_half_passes": 33,
                "accurate_opp_half_passes": 30,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 93,
                "possession_lost": 4.67,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.02,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 30,
                "total_progression": 103,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:44.724055+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 374,
                    "rows": 1289
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "accuratePass": 78.3324,
                  "touches_p90": 94.4558,
                  "possessionLostCtrl": 5.0515,
                  "totalClearance": 5.4694,
                  "aerialWon": 0.2809
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6659826040267944,
                    "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.2902
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0182
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0176
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0113
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.666
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.030670166015625,
                    "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.0685
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0625
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0486
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0367
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0258
                        }
                      ],
                      "others": -0.0825,
                      "total": 1.0307
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.4416440427303314,
                    "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.1476
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0638
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0447
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0344
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0312
                        }
                      ],
                      "others": -0.1042,
                      "total": 0.4416
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.9261571168899536,
                    "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.6324
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1762
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.122
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0758
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.069
                        }
                      ],
                      "others": 0.0648,
                      "total": 1.9262
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.0180221796035767,
                    "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.3188
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0531
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0486
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0448
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0251
                        }
                      ],
                      "others": 0.0705,
                      "total": 1.018
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.673691272735596,
                    "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.089
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0413
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0381
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0355
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0272
                        }
                      ],
                      "others": 0.0097,
                      "total": 6.6737
                    }
                  }
                ],
                "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.0696, quality 0.732)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 0,
                "clearances": 2,
                "aerial_won": 1,
                "rating": 7.1382,
                "minutes": 95,
                "total_pass": 86,
                "accurate_pass": 82,
                "duels_won": 4,
                "total_long_balls": 5,
                "accurate_long_balls": 0,
                "total_own_half_passes": 51,
                "accurate_own_half_passes": 50,
                "total_opp_half_passes": 36,
                "accurate_opp_half_passes": 32,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 100,
                "possession_lost": 4.9951,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "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.0214,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 32,
                "total_progression": 110,
                "progressive_carries": 1,
                "key_pass": 0
              },
              "params": {
                "market_value_eur": 32000000,
                "quality_factor": 0.732,
                "boost_factor": 1.0696
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 14.7 expected minutes (appearance prob 0.35)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 7.1382,
                "minutes": 15,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.818,
                "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.0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 18,
                "progressive_carries": 0,
                "key_pass": 0,
                "bench_appearance_probability": 0.352,
                "bench_expected_minutes": 14.74
              },
              "params": {
                "expected_minutes": 14.74,
                "appearance_probability": 0.352
              }
            },
            {
              "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,
                "rating": 7.1382,
                "minutes": 15,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.818,
                "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.0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 18,
                "progressive_carries": 0,
                "key_pass": 0,
                "bench_appearance_probability": 0.352,
                "bench_expected_minutes": 14.74
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 15, fifa_overall 79.0)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "rating": 7.1382,
                "minutes": 15,
                "total_pass": 14,
                "accurate_pass": 13,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 8,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 16,
                "possession_lost": 0.818,
                "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.0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 5,
                "total_progression": 18,
                "progressive_carries": 0,
                "key_pass": 0,
                "bench_appearance_probability": 0.352,
                "bench_expected_minutes": 14.74,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 79.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1191,
                "fifa_rank": 942.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Rodri": {
          "player_id": 827606,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 191,
          "market_value": 50000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0121,
            "assists": 0,
            "expected_goals": 0.0069,
            "rating": 7.5093,
            "minutes": 24,
            "total_pass": 13,
            "accurate_pass": 13,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 0.8596,
            "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,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 15,
            "progressive_carries": 0,
            "bench_appearance_probability": 0.568,
            "bench_expected_minutes": 23.5,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.654,
            "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": 90.0
          },
          "latest_10_games": [
            {
              "match_id": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 7.3,
                "assists": 0,
                "expected_goals": 0.0795,
                "expected_assists": 0.0737,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 83,
                "accurate_pass": 81,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 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": 16416295.0,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 26,
                "rating": 6.9,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 31,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 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"
            },
            {
              "match_id": 16421059.0,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 6.8,
                "assists": 0,
                "expected_assists": 0.0267,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "key_pass": 1,
                "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": 50,
            "combined_rank_score": 60.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 113.0,
            "sofascore_rating": 7.43,
            "sofascore_appearances": 21.0,
            "fifa_rank": 8.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "projected_match_rating": 7.5093,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rodri",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bukayo Saka",
                  "ranking": 45
                },
                {
                  "player_name": "Federico Valverde",
                  "ranking": 46
                },
                {
                  "player_name": "Ayrton Lucas",
                  "ranking": 47
                },
                {
                  "player_name": "Giorgian de Arrascaeta",
                  "ranking": 48
                },
                {
                  "player_name": "Rayan Cherki",
                  "ranking": 49
                }
              ],
              "lower": [
                {
                  "player_name": "Matheus Serafim",
                  "ranking": 51
                },
                {
                  "player_name": "Matheus Frizzo",
                  "ranking": 52
                },
                {
                  "player_name": "Florian Wirtz",
                  "ranking": 53
                },
                {
                  "player_name": "Martín Zubimendi",
                  "ranking": 54
                },
                {
                  "player_name": "Luan Dias",
                  "ranking": 55
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "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",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 23.503601607115876,
            "bench_appearance_prob": 0.5683455275961762,
            "market_value_adjustment": 1.0972,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (3 historical appearances) to 23.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 5 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0422,
                "assists": 0,
                "expected_goals": 0.0242,
                "rating": 6.8438,
                "minutes": 38,
                "total_pass": 47,
                "accurate_pass": 45,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 27,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 53,
                "possession_lost": 3.0,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 52,
                "progressive_carries": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:48.236605+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 461,
                    "rows": 1422
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "ballRecovery_p90": 4.3219,
                  "ballRecovery": 2.6132,
                  "intensity_index": 3.7626,
                  "expectedAssists": 0.0391,
                  "kilometersCovered": 5.4332
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6280872225761414,
                    "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.2124
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0706
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0288
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0199
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0191
                        }
                      ],
                      "others": -0.03,
                      "total": 0.6281
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04219648241996765,
                    "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.0217
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.013
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0039
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.003
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0064,
                      "total": 0.0422
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07457640767097473,
                    "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.0073
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0035
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": 0.0018
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.0746
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.02420302852988243,
                    "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.0268
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0192
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0079
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0068
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.005
                        }
                      ],
                      "others": -0.0188,
                      "total": 0.0242
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.843764305114746,
                    "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.0743
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0312
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0252
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0165
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0148
                        }
                      ],
                      "others": 0.0612,
                      "total": 6.8438
                    }
                  }
                ],
                "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.0972, quality 0.824)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0463,
                "assists": 0,
                "expected_goals": 0.0266,
                "rating": 7.5093,
                "minutes": 42,
                "total_pass": 51,
                "accurate_pass": 49,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 3,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 30,
                "accurate_opp_half_passes": 29,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 58,
                "possession_lost": 3.2917,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 1,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 57,
                "progressive_carries": 0
              },
              "params": {
                "market_value_eur": 50000000,
                "quality_factor": 0.8241,
                "boost_factor": 1.0972
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 23.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0121,
                "assists": 0,
                "expected_goals": 0.0069,
                "rating": 7.5093,
                "minutes": 24,
                "total_pass": 13,
                "accurate_pass": 13,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 0.8596,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 15,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 23.5
              },
              "params": {
                "expected_minutes": 23.5,
                "appearance_probability": 0.568
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0121,
                "assists": 0,
                "expected_goals": 0.0069,
                "rating": 7.5093,
                "minutes": 24,
                "total_pass": 13,
                "accurate_pass": 13,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 0.8596,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 15,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 23.5
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 10, fifa_overall 90.0)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0121,
                "assists": 0,
                "expected_goals": 0.0069,
                "rating": 7.5093,
                "minutes": 24,
                "total_pass": 13,
                "accurate_pass": 13,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 15,
                "possession_lost": 0.8596,
                "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,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 15,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 23.5,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 90.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 50,
                "fifa_rank": 8.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 90.0
              }
            }
          ]
        },
        "Frenkie de Jong": {
          "player_id": 795222,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 180,
          "market_value": 32000000,
          "stats": {
            "key_pass": 1,
            "assists": 0,
            "expected_assists": 0.0491,
            "expected_goals": 0.0314,
            "total_shots": 0,
            "total_pass": 16,
            "accurate_pass": 13,
            "ball_recovery": 2,
            "duels_won": 2,
            "rating": 7.3,
            "minutes": 23,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 2.5967,
            "dispossessed": 1.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "goal_rate": 0.0231,
            "goals": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0213,
            "ball_carries": 10,
            "total_progression": 25,
            "progressive_carries": 2,
            "bench_appearance_probability": 0.552,
            "bench_expected_minutes": 23.14,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.654,
            "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": 86.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 59,
            "combined_rank_score": 74.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 47.0,
            "sofascore_rating": 7.7714,
            "sofascore_appearances": 7.0,
            "fifa_rank": 101.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "projected_match_rating": 7.3,
            "source_file": "data/player_rankings.csv",
            "player_name": "Frenkie de Jong",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Martín Zubimendi",
                  "ranking": 54
                },
                {
                  "player_name": "Luan Dias",
                  "ranking": 55
                },
                {
                  "player_name": "César Yanis",
                  "ranking": 56
                },
                {
                  "player_name": "Pau Cubarsí",
                  "ranking": 57
                },
                {
                  "player_name": "Declan Rice",
                  "ranking": 58
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Paquetá",
                  "ranking": 60
                },
                {
                  "player_name": "Rúben Dias",
                  "ranking": 61
                },
                {
                  "player_name": "Luis Díaz",
                  "ranking": 62
                },
                {
                  "player_name": "Max Weiss",
                  "ranking": 63
                },
                {
                  "player_name": "Paul Villero",
                  "ranking": 64
                }
              ]
            }
          },
          "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": 23.138792805130343,
            "bench_appearance_prob": 0.5517633093241064,
            "market_value_adjustment": 0.732,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€32,000,000) scaled to 23.1 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.73)",
              "stats": {
                "key_pass": 2,
                "assists": 0,
                "expected_assists": 0.191,
                "expected_goals": 0.122,
                "total_shots": 2,
                "total_pass": 62,
                "accurate_pass": 50,
                "ball_recovery": 6,
                "duels_won": 8,
                "rating": 7.3,
                "minutes": 90,
                "total_long_balls": 6,
                "accurate_long_balls": 3,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 20,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 19,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 76,
                "possession_lost": 10.1,
                "dispossessed": 1.0,
                "duels_lost": 5,
                "aerial_won": 2,
                "aerial_lost": 1,
                "interceptions": 1,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 1,
                "total_contest": 5,
                "won_contest": 3,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "goal_rate": 0.09,
                "goals": 0,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.083,
                "ball_carries": 37,
                "total_progression": 99,
                "progressive_carries": 9
              },
              "params": {
                "market_value_eur": 32000000,
                "quality_factor": 0.732
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 23.1 expected minutes (appearance prob 0.55)",
              "stats": {
                "key_pass": 1,
                "assists": 0,
                "expected_assists": 0.0491,
                "expected_goals": 0.0314,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "ball_recovery": 2,
                "duels_won": 2,
                "rating": 7.3,
                "minutes": 23,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 2.5967,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0231,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0213,
                "ball_carries": 10,
                "total_progression": 25,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.552,
                "bench_expected_minutes": 23.14
              },
              "params": {
                "expected_minutes": 23.14,
                "appearance_probability": 0.552
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "assists": 0,
                "expected_assists": 0.0491,
                "expected_goals": 0.0314,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "ball_recovery": 2,
                "duels_won": 2,
                "rating": 7.3,
                "minutes": 23,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 2.5967,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0231,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0213,
                "ball_carries": 10,
                "total_progression": 25,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.552,
                "bench_expected_minutes": 23.14
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 14, fifa_overall 86.0)",
              "stats": {
                "key_pass": 1,
                "assists": 0,
                "expected_assists": 0.0491,
                "expected_goals": 0.0314,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "ball_recovery": 2,
                "duels_won": 2,
                "rating": 7.3,
                "minutes": 23,
                "total_long_balls": 2,
                "accurate_long_balls": 1,
                "total_own_half_passes": 6,
                "accurate_own_half_passes": 5,
                "total_opp_half_passes": 6,
                "accurate_opp_half_passes": 5,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 2.5967,
                "dispossessed": 1.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 1,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "goal_rate": 0.0231,
                "goals": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0213,
                "ball_carries": 10,
                "total_progression": 25,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.552,
                "bench_expected_minutes": 23.14,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 86.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 59,
                "fifa_rank": 101.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 86.0
              }
            }
          ]
        },
        "Gabriel Jesus": {
          "player_id": 794839,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 175,
          "market_value": 17600000,
          "stats": {
            "expected_goals": 0.0958,
            "goal_rate": 0.0503,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0093,
            "key_pass": 0,
            "rating": 6.0718,
            "minutes": 26,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.1909,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 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": 2,
            "total_progression": 6,
            "progressive_carries": 0,
            "bench_appearance_probability": 0.589,
            "bench_expected_minutes": 25.96,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.654,
            "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": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.123,
                "expected_assists": 0.222,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "key_pass": 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": 2126,
            "combined_rank_score": 803.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 862.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.0718,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Jesus",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Edvinas Girdvainis",
                  "ranking": 2121
                },
                {
                  "player_name": "Son Seung-Min",
                  "ranking": 2122
                },
                {
                  "player_name": "Diogo Dalot",
                  "ranking": 2123
                },
                {
                  "player_name": "Ainsley Maitland-Niles",
                  "ranking": 2124
                },
                {
                  "player_name": "Crysencio Summerville",
                  "ranking": 2125
                }
              ],
              "lower": [
                {
                  "player_name": "Sepp van den Berg",
                  "ranking": 2127
                },
                {
                  "player_name": "Chan-hyung Lee",
                  "ranking": 2128
                },
                {
                  "player_name": "Sarvar Abduhamidov",
                  "ranking": 2129
                },
                {
                  "player_name": "Oleksiy Shchebetun",
                  "ranking": 2130
                },
                {
                  "player_name": "Nurzhakhon Muzaffarov",
                  "ranking": 2131
                }
              ]
            }
          },
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.963015995530526,
            "bench_appearance_prob": 0.5892279997968422,
            "market_value_adjustment": 1.032,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (1 historical appearances) to 26.0 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1216,
                "goal_rate": 0.1688,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0312,
                "key_pass": 0,
                "rating": 5.8833,
                "minutes": 9,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 4.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 1,
                "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": 20,
                "progressive_carries": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 2.0,
                  "minutesPlayed": 9.0,
                  "touches": 21.0,
                  "dribbleValueNormalized": 0.3
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12161743640899658,
                    "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.0649
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0351
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0186
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0126
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0057
                        }
                      ],
                      "others": -0.0286,
                      "total": 0.1216
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.16883952915668488,
                    "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.0575
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0391
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0318
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0155
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.015
                        }
                      ],
                      "others": -0.0478,
                      "total": 0.1688
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6122474670410156,
                    "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_p90",
                          "contribution": 0.0293
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0224
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0201
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0195
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0186
                        }
                      ],
                      "others": -0.0468,
                      "total": 0.6122
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.031219758093357086,
                    "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.0121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0045
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0037
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0019
                        }
                      ],
                      "others": -0.0017,
                      "total": 0.0312
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4990933835506439,
                    "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.1283
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.047
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0438
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.033
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0228
                        }
                      ],
                      "others": -0.0029,
                      "total": 0.4991
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 5.883261203765869,
                    "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.2798
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.2368
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.1094
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0873
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.085
                        }
                      ],
                      "others": -0.202,
                      "total": 5.8833
                    }
                  }
                ],
                "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.0320, quality 0.607)",
              "stats": {
                "expected_goals": 0.1255,
                "goal_rate": 0.1743,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0322,
                "key_pass": 1,
                "rating": 6.0718,
                "minutes": 9,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 4.1282,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 1,
                "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": 20,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 17600000,
                "quality_factor": 0.6068,
                "boost_factor": 1.032
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 26.0 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0362,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.0718,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.1909,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 6,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "expected_minutes": 25.96,
                "appearance_probability": 0.589
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0362,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.0718,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.1909,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 6,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "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 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "expected_goals": 0.0958,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.0718,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.1909,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 6,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0362,
                  "after": 0.0958
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.0958,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.0718,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.1909,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 6,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2126,
                "fifa_rank": 862.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Roony Bardghji": {
          "player_id": 1162107,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 173,
          "market_value": 15500000,
          "stats": {
            "expected_goals": 0.2147,
            "goal_rate": 0.0518,
            "goals": 0,
            "total_shots": 1,
            "shots_on_target": 0,
            "expected_assists": 0.0293,
            "duels_won": 1,
            "aerial_won": 0,
            "rating": 7.1,
            "minutes": 26,
            "total_pass": 9,
            "accurate_pass": 7,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 2.6163,
            "dispossessed": 1.2,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 0,
            "key_pass": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0618,
            "offsides": 1,
            "ball_carries": 6,
            "total_progression": 16,
            "progressive_carries": 2,
            "bench_appearance_probability": 0.585,
            "bench_expected_minutes": 25.88,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.654,
            "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": 74.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3803,
            "combined_rank_score": 1804.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 702.0,
            "sofascore_rating": 6.6944,
            "sofascore_appearances": 21.0,
            "fifa_rank": 2907.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 7.1,
            "source_file": "data/player_rankings.csv",
            "player_name": "Roony Bardghji",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jaden Philogene",
                  "ranking": 3798
                },
                {
                  "player_name": "Kenny McLean",
                  "ranking": 3799
                },
                {
                  "player_name": "Carlos Izquierdoz",
                  "ranking": 3800
                },
                {
                  "player_name": "Bartłomiej Drągowski",
                  "ranking": 3801
                },
                {
                  "player_name": "Eliesse Ben Seghir",
                  "ranking": 3802
                }
              ],
              "lower": [
                {
                  "player_name": "Nilson Angulo",
                  "ranking": 3804
                },
                {
                  "player_name": "James McAtee",
                  "ranking": 3805
                },
                {
                  "player_name": "Jens-Lys Cajuste",
                  "ranking": 3806
                },
                {
                  "player_name": "Yáser Asprilla",
                  "ranking": 3807
                },
                {
                  "player_name": "Stephen Eustaquio",
                  "ranking": 3808
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "F_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 25.875021941280785,
            "bench_appearance_prob": 0.5852282700582175,
            "market_value_adjustment": 0.5846,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€15,500,000) scaled to 25.9 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.58)",
              "stats": {
                "expected_goals": 0.282,
                "goal_rate": 0.18,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.102,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.1,
                "minutes": 90,
                "total_pass": 31,
                "accurate_pass": 23,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 45,
                "possession_lost": 9.1,
                "dispossessed": 1.2,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.215,
                "offsides": 1,
                "ball_carries": 22,
                "total_progression": 54,
                "progressive_carries": 6
              },
              "params": {
                "market_value_eur": 15500000,
                "quality_factor": 0.5846
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.9 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0811,
                "goal_rate": 0.0518,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0293,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 7.1,
                "minutes": 26,
                "total_pass": 9,
                "accurate_pass": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.6163,
                "dispossessed": 1.2,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0618,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88
              },
              "params": {
                "expected_minutes": 25.88,
                "appearance_probability": 0.585
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0811,
                "goal_rate": 0.0518,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0293,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 7.1,
                "minutes": 26,
                "total_pass": 9,
                "accurate_pass": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.6163,
                "dispossessed": 1.2,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0618,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88
              },
              "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 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "expected_goals": 0.2147,
                "goal_rate": 0.0518,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0293,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 7.1,
                "minutes": 26,
                "total_pass": 9,
                "accurate_pass": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.6163,
                "dispossessed": 1.2,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0618,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0811,
                  "after": 0.2147
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.2147,
                "goal_rate": 0.0518,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0293,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 7.1,
                "minutes": 26,
                "total_pass": 9,
                "accurate_pass": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.6163,
                "dispossessed": 1.2,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0618,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3803,
                "fifa_rank": 2907.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Gabriel Jesus": {
          "player_id": 794839,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 175,
          "market_value": 17600000,
          "stats": {
            "expected_goals": 0.0958,
            "goal_rate": 0.0503,
            "goals": 0,
            "shots_on_target": 0,
            "expected_assists": 0.0093,
            "key_pass": 0,
            "rating": 6.0718,
            "minutes": 26,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 1.1909,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 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": 2,
            "total_progression": 6,
            "progressive_carries": 0,
            "bench_appearance_probability": 0.589,
            "bench_expected_minutes": 25.96,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.654,
            "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": 16416325.0,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assists": 0,
                "expected_goals": 0.123,
                "expected_assists": 0.222,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "key_pass": 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": 2126,
            "combined_rank_score": 803.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 862.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "projected_match_rating": 6.0718,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Jesus",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Edvinas Girdvainis",
                  "ranking": 2121
                },
                {
                  "player_name": "Son Seung-Min",
                  "ranking": 2122
                },
                {
                  "player_name": "Diogo Dalot",
                  "ranking": 2123
                },
                {
                  "player_name": "Ainsley Maitland-Niles",
                  "ranking": 2124
                },
                {
                  "player_name": "Crysencio Summerville",
                  "ranking": 2125
                }
              ],
              "lower": [
                {
                  "player_name": "Sepp van den Berg",
                  "ranking": 2127
                },
                {
                  "player_name": "Chan-hyung Lee",
                  "ranking": 2128
                },
                {
                  "player_name": "Sarvar Abduhamidov",
                  "ranking": 2129
                },
                {
                  "player_name": "Oleksiy Shchebetun",
                  "ranking": 2130
                },
                {
                  "player_name": "Nurzhakhon Muzaffarov",
                  "ranking": 2131
                }
              ]
            }
          },
          "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",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.963015995530526,
            "bench_appearance_prob": 0.5892279997968422,
            "market_value_adjustment": 1.032,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (1 historical appearances) to 26.0 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 6 target models",
              "stats": {
                "expected_goals": 0.1216,
                "goal_rate": 0.1688,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0312,
                "key_pass": 0,
                "rating": 5.8833,
                "minutes": 9,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 4.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 1,
                "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": 20,
                "progressive_carries": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 3,
                  "trained_at": "2026-09-15T10:01:52.318462+00:00",
                  "trained_on": {
                    "matches": 93,
                    "players": 278,
                    "rows": 769
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 1.0,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 2.0,
                  "minutesPlayed": 9.0,
                  "touches": 21.0,
                  "dribbleValueNormalized": 0.3
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12161743640899658,
                    "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.0649
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0351
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0186
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0126
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0057
                        }
                      ],
                      "others": -0.0286,
                      "total": 0.1216
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.16883952915668488,
                    "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.0575
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0391
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0318
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0155
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.015
                        }
                      ],
                      "others": -0.0478,
                      "total": 0.1688
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6122474670410156,
                    "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_p90",
                          "contribution": 0.0293
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0224
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0201
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0195
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0186
                        }
                      ],
                      "others": -0.0468,
                      "total": 0.6122
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.031219758093357086,
                    "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.0121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0045
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0037
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0019
                        }
                      ],
                      "others": -0.0017,
                      "total": 0.0312
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4990933835506439,
                    "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.1283
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.047
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0438
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.033
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0228
                        }
                      ],
                      "others": -0.0029,
                      "total": 0.4991
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 5.883261203765869,
                    "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.2798
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.2368
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.1094
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0873
                        },
                        {
                          "name": "topSpeed",
                          "contribution": 0.085
                        }
                      ],
                      "others": -0.202,
                      "total": 5.8833
                    }
                  }
                ],
                "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.0320, quality 0.607)",
              "stats": {
                "expected_goals": 0.1255,
                "goal_rate": 0.1743,
                "goals": 0,
                "shots_on_target": 1,
                "expected_assists": 0.0322,
                "key_pass": 1,
                "rating": 6.0718,
                "minutes": 9,
                "total_pass": 14,
                "accurate_pass": 11,
                "duels_won": 2,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 4.1282,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 2,
                "won_contest": 2,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 1,
                "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": 20,
                "progressive_carries": 1
              },
              "params": {
                "market_value_eur": 17600000,
                "quality_factor": 0.6068,
                "boost_factor": 1.032
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 26.0 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0362,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.0718,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.1909,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 6,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "expected_minutes": 25.96,
                "appearance_probability": 0.589
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0362,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.0718,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.1909,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 6,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "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 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "expected_goals": 0.0958,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.0718,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.1909,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 6,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0362,
                  "after": 0.0958
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 16, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.0958,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.0718,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 1.1909,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 1,
                "won_contest": 1,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 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": 2,
                "total_progression": 6,
                "progressive_carries": 0,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 16,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2126,
                "fifa_rank": 862.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Roony Bardghji": {
          "player_id": 1162107,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 173,
          "market_value": 15500000,
          "stats": {
            "expected_goals": 0.2147,
            "goal_rate": 0.0518,
            "goals": 0,
            "total_shots": 1,
            "shots_on_target": 0,
            "expected_assists": 0.0293,
            "duels_won": 1,
            "aerial_won": 0,
            "rating": 7.1,
            "minutes": 26,
            "total_pass": 9,
            "accurate_pass": 7,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 2.6163,
            "dispossessed": 1.2,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assists": 0,
            "shots_off_target": 0,
            "key_pass": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0618,
            "offsides": 1,
            "ball_carries": 6,
            "total_progression": 16,
            "progressive_carries": 2,
            "bench_appearance_probability": 0.585,
            "bench_expected_minutes": 25.88,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.654,
            "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": 74.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3803,
            "combined_rank_score": 1804.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 702.0,
            "sofascore_rating": 6.6944,
            "sofascore_appearances": 21.0,
            "fifa_rank": 2907.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "projected_match_rating": 7.1,
            "source_file": "data/player_rankings.csv",
            "player_name": "Roony Bardghji",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jaden Philogene",
                  "ranking": 3798
                },
                {
                  "player_name": "Kenny McLean",
                  "ranking": 3799
                },
                {
                  "player_name": "Carlos Izquierdoz",
                  "ranking": 3800
                },
                {
                  "player_name": "Bartłomiej Drągowski",
                  "ranking": 3801
                },
                {
                  "player_name": "Eliesse Ben Seghir",
                  "ranking": 3802
                }
              ],
              "lower": [
                {
                  "player_name": "Nilson Angulo",
                  "ranking": 3804
                },
                {
                  "player_name": "James McAtee",
                  "ranking": 3805
                },
                {
                  "player_name": "Jens-Lys Cajuste",
                  "ranking": 3806
                },
                {
                  "player_name": "Yáser Asprilla",
                  "ranking": 3807
                },
                {
                  "player_name": "Stephen Eustaquio",
                  "ranking": 3808
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "F_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 25.875021941280785,
            "bench_appearance_prob": 0.5852282700582175,
            "market_value_adjustment": 0.5846,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€15,500,000) scaled to 25.9 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.58)",
              "stats": {
                "expected_goals": 0.282,
                "goal_rate": 0.18,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.102,
                "duels_won": 4,
                "aerial_won": 2,
                "rating": 7.1,
                "minutes": 90,
                "total_pass": 31,
                "accurate_pass": 23,
                "total_long_balls": 1,
                "accurate_long_balls": 1,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 12,
                "crosses_total": 2,
                "crosses_accurate": 1,
                "touches": 45,
                "possession_lost": 9.1,
                "dispossessed": 1.2,
                "duels_lost": 5,
                "aerial_lost": 1,
                "total_contest": 6,
                "won_contest": 3,
                "ball_recovery": 2,
                "challenges_lost": 1,
                "fouls": 2,
                "fouls_drawn": 1,
                "assists": 0,
                "shots_off_target": 1,
                "key_pass": 1,
                "interceptions": 0,
                "tackles_won": 1,
                "tackles": 1,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.215,
                "offsides": 1,
                "ball_carries": 22,
                "total_progression": 54,
                "progressive_carries": 6
              },
              "params": {
                "market_value_eur": 15500000,
                "quality_factor": 0.5846
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.9 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0811,
                "goal_rate": 0.0518,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0293,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 7.1,
                "minutes": 26,
                "total_pass": 9,
                "accurate_pass": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.6163,
                "dispossessed": 1.2,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0618,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88
              },
              "params": {
                "expected_minutes": 25.88,
                "appearance_probability": 0.585
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0811,
                "goal_rate": 0.0518,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0293,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 7.1,
                "minutes": 26,
                "total_pass": 9,
                "accurate_pass": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.6163,
                "dispossessed": 1.2,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0618,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88
              },
              "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 3.69 (squad xG sum 1.3936, xG scale 2.6471)",
              "stats": {
                "expected_goals": 0.2147,
                "goal_rate": 0.0518,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0293,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 7.1,
                "minutes": 26,
                "total_pass": 9,
                "accurate_pass": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.6163,
                "dispossessed": 1.2,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0618,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 3.689,
                "squad_xg_sum": 1.3936,
                "xg_scale": 2.6471,
                "scoreline_reset": true
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0811,
                  "after": 0.2147
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached (match squad rank 17, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.2147,
                "goal_rate": 0.0518,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0293,
                "duels_won": 1,
                "aerial_won": 0,
                "rating": 7.1,
                "minutes": 26,
                "total_pass": 9,
                "accurate_pass": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 5,
                "accurate_opp_half_passes": 3,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 13,
                "possession_lost": 2.6163,
                "dispossessed": 1.2,
                "duels_lost": 1,
                "aerial_lost": 1,
                "total_contest": 2,
                "won_contest": 1,
                "ball_recovery": 1,
                "challenges_lost": 1,
                "fouls": 0,
                "fouls_drawn": 0,
                "assists": 0,
                "shots_off_target": 0,
                "key_pass": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0618,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.585,
                "bench_expected_minutes": 25.88,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.654,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3803,
                "fifa_rank": 2907.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "fifa_overall": 74.0
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 3,
        "expected_goals": 3.69,
        "expected_assists": 1.09,
        "total_shots": 15,
        "shots_on_target": 4,
        "total_passes": 496,
        "interceptions": 4,
        "tackles": 5,
        "avg_rating": 7.66,
        "possession_estimated_pct": 52.6,
        "pressing_actions_per_90": 8.6
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Lucas Stassin",
        "attacker_role": "ST",
        "attacker_market_value": 15700000,
        "attacker_height": 184,
        "attacker_skill_quality": 0.587,
        "defenders": [
          "Pau Cubarsí",
          "Jules Koundé",
          "Alejandro Balde"
        ],
        "defender_roles": [
          "CB",
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.864,
        "duel_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
        "numerical_situation": "1v3",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1425,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Pau Cubarsí",
            "role": "CB",
            "market_value": 94000000,
            "tackles_attempted": 0.8,
            "tackles_won": 0.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Jules Koundé",
            "role": "CB",
            "market_value": 64000000,
            "tackles_attempted": 0.8,
            "tackles_won": 0.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Alejandro Balde",
            "role": "CB",
            "market_value": 55000000,
            "tackles_attempted": 0.8,
            "tackles_won": 0.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Lucas Stassin (ST) is heavily outmatched defensively against Pau Cubarsí and Jules Koundé and Alejandro Balde in a 3-defender block. Duel win probability: 18%. The quality gap is significant (€16M vs €71M avg). Projected xG contribution: 0.143 — with very limited chance creation expected."
      },
      {
        "attacker": "Kike Salas",
        "attacker_role": "LWB",
        "attacker_market_value": 15400000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.584,
        "defenders": [
          "Dani Olmo"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.848,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.329,
        "xg_contribution": 0.0763,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.5,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Dani Olmo",
            "role": "RWB",
            "market_value": 58000000,
            "tackles_attempted": 2.3,
            "tackles_won": 2.2,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.671
          }
        ],
        "duel_analysis": "Kike Salas (LWB) faces tough defensive resistance against Dani Olmo in a direct 1v1 contest. Duel win probability: 33%. The quality gap is significant (€15M vs €58M avg). Projected xG contribution: 0.076 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Gabriel Suazo",
        "attacker_role": "RWB",
        "attacker_market_value": 6600000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.482,
        "defenders": [
          "Raphinha"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.859,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.258,
        "xg_contribution": 0.0594,
        "shots_in_zone": 0.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 2.3,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Raphinha",
            "role": "LWB",
            "market_value": 63000000,
            "tackles_attempted": 2.3,
            "tackles_won": 2.4,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.742
          }
        ],
        "duel_analysis": "Gabriel Suazo (RWB) is heavily outmatched defensively against Raphinha in a direct 1v1 contest. Duel win probability: 26%. The quality gap is significant (€7M vs €63M avg). Projected xG contribution: 0.059 — with very limited chance creation expected."
      },
      {
        "attacker": "Youssouf Fofana",
        "attacker_role": "CM",
        "attacker_market_value": 25000000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.677,
        "defenders": [
          "Lamine Yamal"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.9,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.328,
        "xg_contribution": 0.0506,
        "shots_in_zone": 1.4,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Lamine Yamal",
            "role": "CM",
            "market_value": 237000000,
            "tackles_attempted": 2.3,
            "tackles_won": 2.3,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.672
          }
        ],
        "duel_analysis": "Youssouf Fofana (CM) faces tough defensive resistance against Lamine Yamal in a direct 1v1 contest. Duel win probability: 33%. The quality gap is significant (€25M vs €237M avg). Projected xG contribution: 0.051 — and is restricted in space and time on the ball."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Raphinha",
        "attacker_role": "LWB",
        "attacker_market_value": 63000000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.859,
        "defenders": [
          "Gabriel Suazo"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.482,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.582,
        "xg_contribution": 0.1984,
        "shots_in_zone": 1.2,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.5,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 3.1,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Gabriel Suazo",
            "role": "RWB",
            "market_value": 6600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.418
          }
        ],
        "duel_analysis": "Raphinha (LWB) is slightly favored against Gabriel Suazo in a direct 1v1 contest. Duel win probability: 58%. The quality gap is significant (€63M vs €7M avg). Projected xG contribution: 0.198 — creating consistent moderate threat."
      },
      {
        "attacker": "Lamine Yamal",
        "attacker_role": "CM",
        "attacker_market_value": 237000000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.9,
        "defenders": [
          "Youssouf Fofana"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.677,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.512,
        "xg_contribution": 0.2824,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.4,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Youssouf Fofana",
            "role": "CM",
            "market_value": 25000000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.488
          }
        ],
        "duel_analysis": "Lamine Yamal (CM) is slightly favored against Youssouf Fofana in a direct 1v1 contest. Duel win probability: 51%. The quality gap is significant (€237M vs €25M avg). Projected xG contribution: 0.282 — creating consistent moderate threat."
      },
      {
        "attacker": "Pedri",
        "attacker_role": "CM",
        "attacker_market_value": 164000000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.9,
        "defenders": [
          "Youssouf Fofana"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.677,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.476,
        "xg_contribution": 0.1295,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Youssouf Fofana",
            "role": "CM",
            "market_value": 25000000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.524
          }
        ],
        "duel_analysis": "Pedri (CM) is evenly matched against Youssouf Fofana in a direct 1v1 contest. Duel win probability: 48%. The quality gap is significant (€164M vs €25M avg). Projected xG contribution: 0.129 — with neither side clearly dominant."
      },
      {
        "attacker": "Dani Olmo",
        "attacker_role": "RWB",
        "attacker_market_value": 58000000,
        "attacker_height": 179,
        "attacker_skill_quality": 0.848,
        "defenders": [
          "Kike Salas"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.584,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.511,
        "xg_contribution": 0.0731,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 3.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Kike Salas",
            "role": "LWB",
            "market_value": 15400000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.6,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.489
          }
        ],
        "duel_analysis": "Dani Olmo (RWB) is slightly favored against Kike Salas in a direct 1v1 contest. Duel win probability: 51%. The quality gap is significant (€58M vs €15M avg). Projected xG contribution: 0.073 — creating consistent moderate threat."
      },
      {
        "attacker": "Anthony Gordon",
        "attacker_role": "ST",
        "attacker_market_value": 82000000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.884,
        "defenders": [
          "José Ángel Carmona",
          "Arouna Sangante"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.515,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.354,
        "xg_contribution": 0.3087,
        "shots_in_zone": 2.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "José Ángel Carmona",
            "role": "CB",
            "market_value": 11100000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.646
          },
          {
            "player": "Arouna Sangante",
            "role": "CB",
            "market_value": 7700000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.646
          }
        ],
        "duel_analysis": "Anthony Gordon (ST) faces tough defensive resistance against José Ángel Carmona and Arouna Sangante in a 2-defender block. Duel win probability: 35%. The quality gap is significant (€82M vs €9M avg). Projected xG contribution: 0.309 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Karim Adeyemi",
        "attacker_role": "ST",
        "attacker_market_value": 41000000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.786,
        "defenders": [
          "José Ángel Carmona",
          "Arouna Sangante"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.515,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.298,
        "xg_contribution": 0.1398,
        "shots_in_zone": 2.5,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "José Ángel Carmona",
            "role": "CB",
            "market_value": 11100000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.702
          },
          {
            "player": "Arouna Sangante",
            "role": "CB",
            "market_value": 7700000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.702
          }
        ],
        "duel_analysis": "Karim Adeyemi (ST) is heavily outmatched defensively against José Ángel Carmona and Arouna Sangante in a 2-defender block. Duel win probability: 30%. The quality gap is significant (€41M vs €9M avg). Projected xG contribution: 0.140 — with very limited chance creation expected."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.612,
      "away_midfield_power": 0.93,
      "home_creative_power": 0.551,
      "away_creative_power": 0.907,
      "home_defensive_power": 0.577,
      "away_defensive_power": 0.747,
      "home_dominance_ratio": 0.397,
      "home_midfield_count": 4,
      "away_midfield_count": 5,
      "home_midfield_players": [
        "Youssouf Fofana",
        "Lucien Agoumé",
        "Rubén Vargas",
        "Félix Correia"
      ],
      "away_midfield_players": [
        "Lamine Yamal",
        "Pedri",
        "Fermín López",
        "Raphinha",
        "Dani Olmo"
      ],
      "possession_advantage": "away",
      "estimated_possession_home_pct": 47.4,
      "estimated_possession_away_pct": 52.6,
      "home_pressing_actions_per_90": 7.3,
      "away_pressing_actions_per_90": 8.6,
      "home_key_passes_projected": 4.8,
      "away_key_passes_projected": 6.9,
      "home_throughball_threat": 2.3,
      "away_throughball_threat": 3.3,
      "key_personal_duel": "Youssouf Fofana vs Lamine Yamal",
      "midfield_lambda_factor_home": 0.967,
      "midfield_lambda_factor_away": 1.038
    },
    "formation_analysis": {
      "home_formation": "5-4-1",
      "away_formation": "3-5-2",
      "home_tactical_bonus": -0.04,
      "away_tactical_bonus": 0.04,
      "formation_verdict": "Tactical parity between 5-4-1 and 3-5-2. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.275,
    "away_lambda": 3.689,
    "home_top_threat_zones": [
      "Striker vs Three Centre Backs — Overloaded Defensive Block",
      "LWB vs RWB"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Central Mid vs Central Mid — Box-to-Box Midfield Contest"
    ],
    "home_player_antagonists": {
      "Lucas Stassin": {
        "opponents": [
          "Pau Cubarsí",
          "Jules Koundé",
          "Alejandro Balde"
        ],
        "primary_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
        "source": "attacking_duel"
      },
      "Kike Salas": {
        "opponents": [
          "Dani Olmo"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "attacking_duel, defensive_duel"
      },
      "Gabriel Suazo": {
        "opponents": [
          "Raphinha"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "attacking_duel, defensive_duel"
      },
      "Youssouf Fofana": {
        "opponents": [
          "Lamine Yamal",
          "Pedri",
          "Fermín López",
          "Dani Olmo"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "José Ángel Carmona": {
        "opponents": [
          "Anthony Gordon",
          "Karim Adeyemi"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Arouna Sangante": {
        "opponents": [
          "Anthony Gordon",
          "Karim Adeyemi"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Lucien Agoumé": {
        "opponents": [
          "Lamine Yamal"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Rubén Vargas": {
        "opponents": [
          "Pedri"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Félix Correia": {
        "opponents": [
          "Raphinha"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Odysseas Vlachodimos": {
        "opponents": [
          "Anthony Gordon",
          "Karim Adeyemi"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Andrés Castrin": {
        "opponents": [
          "Anthony Gordon"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Pau Cubarsí": {
        "opponents": [
          "Lucas Stassin"
        ],
        "primary_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
        "source": "defensive_duel"
      },
      "Jules Koundé": {
        "opponents": [
          "Lucas Stassin"
        ],
        "primary_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
        "source": "defensive_duel"
      },
      "Alejandro Balde": {
        "opponents": [
          "Lucas Stassin"
        ],
        "primary_zone": "Striker vs Three Centre Backs — Overloaded Defensive Block",
        "source": "defensive_duel"
      },
      "Dani Olmo": {
        "opponents": [
          "Kike Salas",
          "Youssouf Fofana"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Raphinha": {
        "opponents": [
          "Gabriel Suazo",
          "Félix Correia"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Lamine Yamal": {
        "opponents": [
          "Youssouf Fofana",
          "Lucien Agoumé"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Pedri": {
        "opponents": [
          "Youssouf Fofana",
          "Rubén Vargas"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, midfield_pairing"
      },
      "Anthony Gordon": {
        "opponents": [
          "José Ángel Carmona",
          "Arouna Sangante"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Karim Adeyemi": {
        "opponents": [
          "José Ángel Carmona",
          "Arouna Sangante"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Fermín López": {
        "opponents": [
          "Youssouf Fofana"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Joan García": {
        "opponents": [
          "Lucas Stassin",
          "Lucien Agoumé"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Away midfield dictates play with ~53% possession expected (Youssouf Fofana vs Lamine Yamal). Total antagonist xG — Home: 0.33, Away: 1.13. Home danger zone: Striker vs Three Centre Backs — Overloaded Defensive Block. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle.",
    "lambda_factors": {
      "home_gk_opposition_factor": 0.8584,
      "away_gk_opposition_factor": 1.0096,
      "home_set_piece_bonus": 0.088,
      "away_set_piece_bonus": 0.0611,
      "home_defensive_solidity_vs": 0.8671,
      "away_defensive_solidity_vs": 0.9648,
      "home_midfield_factor": 0.967,
      "away_midfield_factor": 1.038,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.5511,
      "away_avg_quality": 0.8662,
      "avg_quality_gap": -0.3151,
      "squad_value_gap_log": -1.9576,
      "top5_value_gap_log": -1.9776,
      "attack_value_gap_log": -2.1331,
      "elite_count_gap": -10,
      "combined_quality_gap": -0.6867,
      "stronger_lambda_boost": 0.3777,
      "weaker_lambda_suppression": 0.2197,
      "home_bench_lambda_bonus": 0.0698,
      "away_bench_lambda_bonus": 0.1061,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Sevilla",
        "away_squad": "FC Barcelona",
        "home_goals_per90": 2.0,
        "away_goals_against_per90": 4.0,
        "away_goals_per90": 3.6666666666666665,
        "home_goals_against_per90": 2.0,
        "home_empirical_lambda": 3.5,
        "away_empirical_lambda": 3.5,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": true,
      "mismatch_score_pressure_gap": -0.6867,
      "mismatch_favorite_lambda_boost": 1.1767,
      "mismatch_underdog_lambda_factor": 0.9413,
      "pre_mismatch_home_lambda": 1.354,
      "pre_mismatch_away_lambda": 3.135,
      "competitive_underdog_floor_applied": false,
      "pre_calibration_home_lambda": 1.3537,
      "pre_calibration_away_lambda": 3.1349,
      "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.275,
      "final_away_lambda": 3.689
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 7,
    "opponent_position": 1,
    "standing_lambda_multiplier": 0.8131,
    "attack_index": 1.458,
    "defense_concede_index": 0.416,
    "form_multiplier": 0.949,
    "team_attack_rate_contextual": 1.75,
    "opp_defense_rate_contextual": 0.5,
    "team_ppg": 1.75,
    "opponent_ppg": 3.0
  },
  "away_standing": {
    "available": true,
    "team_position": 1,
    "opponent_position": 7,
    "standing_lambda_multiplier": 1.6502,
    "attack_index": 3.54,
    "defense_concede_index": 1.249,
    "form_multiplier": 1.051,
    "team_attack_rate_contextual": 4.25,
    "opp_defense_rate_contextual": 1.5,
    "team_ppg": 3.0,
    "opponent_ppg": 1.75
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Sevilla vs Barcelona. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 5-4-1 vs 3-5-2 (duel lambdas: Home 1.354, Away 3.135). Final calibrated Poisson lambdas: Home 1.275, Away 3.689 (most likely score 1-3).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 10,
      "home_fbref_players": 6,
      "away_starters_count": 11,
      "away_xgboost_players": 10,
      "away_fbref_players": 0,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Sevilla",
      "away_squad": "FC Barcelona",
      "home_goals_per90": 2.0,
      "away_goals_against_per90": 4.0,
      "away_goals_per90": 3.6666666666666665,
      "home_goals_against_per90": 2.0,
      "home_empirical_lambda": 3.5,
      "away_empirical_lambda": 3.5,
      "blending_weight": 0.228
    },
    "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.275,
      "away_lambda": 3.689,
      "micro_duel_home_lambda": 1.354,
      "micro_duel_away_lambda": 3.135
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-09-19T13:31:52Z",
  "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
  }
}