{
  "match_info": {
    "home_team": "Alavés",
    "away_team": "Atl. Madrid",
    "tournament": "LaLiga",
    "date": "20261011",
    "timezone": "America/New_York",
    "home_formation": "3-5-2",
    "away_formation": "3-5-2",
    "lineup_status": "projected_from_squad",
    "lineup_source": "/teams/get-squad",
    "lineup_confirmed": false,
    "lineup_confidence": 0.45
  },
  "prediction": {
    "most_likely_score": "1-2",
    "home_goals": 1,
    "away_goals": 2,
    "most_likely_score_probability": 0.0881,
    "match_resolution": "regulation",
    "predicted_winner": "Atl. Madrid",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.1508,
      "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-2",
        "probability": 0.0881
      },
      {
        "score": "0-2",
        "probability": 0.0831
      },
      {
        "score": "1-3",
        "probability": 0.0816
      },
      {
        "score": "0-3",
        "probability": 0.0769
      },
      {
        "score": "1-1",
        "probability": 0.0637
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0218,
      "0-1": 0.0595,
      "0-2": 0.0831,
      "0-3": 0.0769,
      "0-4": 0.0534,
      "0-5": 0.0297,
      "0-6": 0.0137,
      "0-7": 0.0055,
      "0-8": 0.0019,
      "0-9": 0.0006,
      "1-0": 0.0226,
      "1-1": 0.0637,
      "1-2": 0.0881,
      "1-3": 0.0816,
      "1-4": 0.0567,
      "1-5": 0.0315,
      "1-6": 0.0146,
      "1-7": 0.0058,
      "1-8": 0.002,
      "1-9": 0.0006,
      "2-0": 0.0121,
      "2-1": 0.0337,
      "2-2": 0.0468,
      "2-3": 0.0433,
      "2-4": 0.0301,
      "2-5": 0.0167,
      "2-6": 0.0077,
      "2-7": 0.0031,
      "2-8": 0.0011,
      "3-0": 0.0043,
      "3-1": 0.0119,
      "3-2": 0.0165,
      "3-3": 0.0153,
      "3-4": 0.0106,
      "3-5": 0.0059,
      "3-6": 0.0027,
      "3-7": 0.0011,
      "4-0": 0.0011,
      "4-1": 0.0032,
      "4-2": 0.0044,
      "4-3": 0.0041,
      "4-4": 0.0028,
      "4-5": 0.0016,
      "4-6": 0.0007,
      "5-1": 0.0007,
      "5-2": 0.0009,
      "5-3": 0.0009,
      "5-4": 0.0006
    },
    "outcome": {
      "home_win": 0.1179,
      "draw": 0.1508,
      "away_win": 0.7313
    },
    "markets": {
      "over_2_5_goals": 0.7372,
      "under_2_5_goals": 0.2628,
      "btts_yes": 0.6135,
      "btts_no": 0.3865,
      "home_clean_sheet": 0.0622,
      "away_clean_sheet": 0.3461
    },
    "home_ratings": {
      "DR": 6.77,
      "MCR": 6.79,
      "ATR": 6.81,
      "GK": 7.22
    },
    "away_ratings": {
      "DR": 6.87,
      "MCR": 6.99,
      "ATR": 6.76,
      "GK": 6.96
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Alavés vs Atl. Madrid. Most likely scoreline: 1-2. Lambdas derived from 6 home and 6 away individual player duels.",
      "key_player": "Projected scorer(s): Lucas Boyé, Giuliano Simeone, Julián Alvarez",
      "tactical_analysis": "Tactical parity between 3-5-2 and 3-5-2. Match outcome driven primarily by individual player quality. Away midfield dictates play with ~54% possession expected (Antonio Blanco vs Pablo Barrios). Total antagonist xG — Home: 0.78, Away: 1.51. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle."
    },
    "confidence": 0.72,
    "home_lambda": 1.061,
    "away_lambda": 2.778,
    "modal_scoreline": null,
    "modal_scoreline_probability": null,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.1179,
      "draw": 0.1508,
      "away_win": 0.7313
    },
    "favorite": "Atl. Madrid",
    "favorite_win_probability": 0.7313,
    "fair_spread": -1.717,
    "fair_total": 3.839,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Alavés",
        "estimate": 1.061,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Atl. Madrid",
        "estimate": 2.778,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.7372,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.6135,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Alavés",
        "estimate": 1.0,
        "probability": 0.0622,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Atl. Madrid",
        "estimate": 1.0,
        "probability": 0.3461,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Lucas Boyé (Alavés)",
        "estimate": 0.2051,
        "probability": 0.1854,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Julián Alvarez (Atl. Madrid)",
        "estimate": 0.6573,
        "probability": 0.4818,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Ángel Pérez (Alavés)",
        "estimate": 0.2089,
        "probability": 0.1885,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Alex Baena (Atl. Madrid)",
        "estimate": 0.3226,
        "probability": 0.2757,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 3.839,
      "expected_total_shots": 21,
      "expected_total_passes": 680,
      "expected_pressing_actions_per_90": 14.4,
      "possession_home_pct": 46.1,
      "possession_away_pct": 53.9,
      "notes": "Atl. Madrid projects to control midfield possession"
    },
    "expected_game_script": {
      "favorite": "Atl. Madrid",
      "favorite_win_probability": 0.7313,
      "script": "Atl. Madrid is the fair winner side, but the baseline remains favorite-led: fair spread -1.72 goals and fair total 3.84.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 10 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Alavés must keep the match inside one goal.",
      "late_game": "A Atl. Madrid lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Atl. Madrid chance creation leans on Julián Alvarez against Youssef Enriquez, Nahuel Tenaglia in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; Atl. Madrid projects to control midfield possession.",
    "expected_rotation_usage_behavior": [
      "Alavés: starters carry the main goal usage through Lucas Boyé; bench watchlist: Abderrahman Rebbach, Aitor Mañas, Mariano Díaz.",
      "Atl. Madrid: starters carry the main goal usage through Giuliano Simeone, Julián Alvarez; bench watchlist: Jonathan David, Alejandro Grimaldo, Alexander Sørloth.",
      "Assist usage should flow through Ángel Pérez, Alex Baena; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Atl. Madrid tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 10 total first-half shots, and 1.92 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 Alavés 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 Atl. Madrid.",
      "Alavés 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": {
    "Alavés": {
      "formation": "3-5-2",
      "players": {
        "Antonio Sivera": {
          "player_id": 369004,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 184,
          "market_value": 5600000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0063,
            "rating": 7.218,
            "minutes": 90,
            "total_pass": 25,
            "accurate_pass": 15,
            "duels_won": 0,
            "total_long_balls": 19,
            "accurate_long_balls": 9,
            "touches": 37,
            "clearances": 0,
            "ball_recovery": 9,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 10.196,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "gk_engine_opponent_lambda": 2.5968,
            "shots_faced": 26.4,
            "expected_saves": 6.46,
            "high_pressure_saves": 2.22,
            "opponent_faced": "Julián Alvarez, Ademola Lookman",
            "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,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 13,
                "ball_recovery": 15,
                "saves": 6,
                "goals_prevented": 0.9777
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 9,
                "saves": 2,
                "goals_prevented": -0.3886
              },
              "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": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 15,
                "clearances": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": 0.1349
              },
              "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": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0104,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 19,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 4,
                "saves": 3,
                "goals_prevented": -0.1219
              },
              "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0044,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 15,
                "clearances": 1,
                "ball_recovery": 9,
                "saves": 6,
                "goals_prevented": 0.663
              },
              "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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 13,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": 0.0097
              },
              "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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 15,
                "clearances": 2,
                "ball_recovery": 14,
                "saves": 2,
                "goals_prevented": 0.0882
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 194,
            "combined_rank_score": 156.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 3.0,
            "fifa_rank": 156.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.218,
            "source_file": "data/player_rankings.csv",
            "player_name": "Antonio Sivera",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Renzo Malanca",
                  "ranking": 189
                },
                {
                  "player_name": "Andy Robertson",
                  "ranking": 190
                },
                {
                  "player_name": "Nicolás de la Cruz",
                  "ranking": 191
                },
                {
                  "player_name": "Osmar Barba",
                  "ranking": 192
                },
                {
                  "player_name": "Yarden Shua",
                  "ranking": 193
                }
              ],
              "lower": [
                {
                  "player_name": "Igor Lichnovsky",
                  "ranking": 195
                },
                {
                  "player_name": "Luis Rojas",
                  "ranking": 196
                },
                {
                  "player_name": "Armandas Kučys",
                  "ranking": 197
                },
                {
                  "player_name": "Javier Hernández",
                  "ranking": 198
                },
                {
                  "player_name": "Daler Tukhsanov",
                  "ranking": 199
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "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": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9909,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (G_service) evaluated 7 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.0063,
                "rating": 7.218,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 19,
                "accurate_long_balls": 9,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.29,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 8
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 4,
                  "trained_at": "2026-09-29T10:01:45.250339+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 135,
                    "rows": 3738
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "save_contribution": 3.7123,
                  "goalkeeperValueNormalized": 0.1741,
                  "sweeper_actions_p90": 0.7923,
                  "possessionLostCtrl": 10.6345,
                  "accurateKeeperSweeper": 0.7923,
                  "accurateLongBalls": 9.3852
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.9997730255126953,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0645
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0523
                      },
                      {
                        "name": "saves",
                        "importance": 0.0514
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0475
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0445
                      }
                    ],
                    "decomposition": {
                      "base": 2.9861,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0634
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0611
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0473
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0262
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0215
                        }
                      ],
                      "others": -0.036,
                      "total": 2.9998,
                      "log_link": true,
                      "margin_base": 1.093963,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.021466
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.02068
                        },
                        {
                          "name": "saves",
                          "margin": 0.015717
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.008609
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.007052
                        }
                      ],
                      "others_margin": -0.011914
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.0063481321558356285,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0582
                      },
                      {
                        "name": "punches",
                        "importance": 0.0515
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.051
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0478
                      },
                      {
                        "name": "touches",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": -0.0455,
                      "items": [
                        {
                          "name": "save_contribution",
                          "contribution": 0.0619
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.05
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0431
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0384
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": 0.0268
                        }
                      ],
                      "others": 0.0052,
                      "total": -0.0063,
                      "log_link": false,
                      "margin_base": -0.045465,
                      "item_margins": [
                        {
                          "name": "save_contribution",
                          "margin": 0.061935
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.04999
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.043051
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.038396
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": 0.026772
                        }
                      ],
                      "others_margin": 0.005055
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.217975616455078,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.075
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0537
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0529
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0478
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 7.0878,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0839
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0553
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0498
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0493
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0278
                        }
                      ],
                      "others": -0.0253,
                      "total": 7.218,
                      "log_link": false,
                      "margin_base": 7.087778,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.083917
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.055253
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.049843
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.049344
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.027757
                        }
                      ],
                      "others_margin": -0.02541
                    }
                  }
                ],
                "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.9909, quality 0.470)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.0063,
                "rating": 7.218,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 19,
                "accurate_long_balls": 9,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.196,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 8
              },
              "params": {
                "market_value_eur": 5600000,
                "quality_factor": 0.4695,
                "boost_factor": 0.9909
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.0063,
                "rating": 7.218,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 19,
                "accurate_long_balls": 9,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.196,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 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": {
                "saves": 3,
                "goals_prevented": -0.0063,
                "rating": 7.218,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 19,
                "accurate_long_balls": 9,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.196,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 8,
                "gk_engine_opponent_lambda": 2.5968,
                "shots_faced": 24.7,
                "expected_saves": 6.05,
                "high_pressure_saves": 2.08,
                "opponent_faced": "Julián Alvarez, Ademola Lookman",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Julián Alvarez, Ademola Lookman",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 2.5968
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.0063,
                "rating": 7.218,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 19,
                "accurate_long_balls": 9,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.196,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 8,
                "gk_engine_opponent_lambda": 2.5968,
                "shots_faced": 26.4,
                "expected_saves": 6.46,
                "high_pressure_saves": 2.22,
                "opponent_faced": "Julián Alvarez, Ademola Lookman",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 24.7,
                  "after": 26.4
                },
                {
                  "stat": "expected_saves",
                  "before": 6.05,
                  "after": 6.46
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 2.08,
                  "after": 2.22
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 85.0; not used by the projection)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.0063,
                "rating": 7.218,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 19,
                "accurate_long_balls": 9,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.196,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 8,
                "gk_engine_opponent_lambda": 2.5968,
                "shots_faced": 26.4,
                "expected_saves": 6.46,
                "high_pressure_saves": 2.22,
                "opponent_faced": "Julián Alvarez, Ademola Lookman",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 194,
                "fifa_rank": 156.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.0063,
                "rating": 7.218,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 19,
                "accurate_long_balls": 9,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.196,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 8,
                "gk_engine_opponent_lambda": 2.5968,
                "shots_faced": 26.4,
                "expected_saves": 6.46,
                "high_pressure_saves": 2.22,
                "opponent_faced": "Julián Alvarez, Ademola Lookman",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.0416,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.0063,
                "rating": 7.218,
                "minutes": 90,
                "total_pass": 25,
                "accurate_pass": 15,
                "duels_won": 0,
                "total_long_balls": 19,
                "accurate_long_balls": 9,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 10.196,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 8,
                "gk_engine_opponent_lambda": 2.5968,
                "shots_faced": 26.4,
                "expected_saves": 6.46,
                "high_pressure_saves": 2.22,
                "opponent_faced": "Julián Alvarez, Ademola Lookman",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Youssef Enriquez": {
          "player_id": 1403364,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 170,
          "market_value": 4300000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7501,
            "minutes": 25,
            "total_pass": 9,
            "accurate_pass": 8,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 3.2836,
            "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,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0416,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.8,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.628,
            "opponent_faced": "Julián Alvarez",
            "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.0407,
            "finishing_factor": 1.0,
            "creation_factor": 0.8,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 25,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "interceptions": 1,
                "clearances": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 23,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0182,
                "expected_assists": 0.0057,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 4,
                "clearances": 2,
                "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": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0338,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 36,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "duels_won": 6,
                "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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 20,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0741,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 25,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0674,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 413,
            "combined_rank_score": 283.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 3.0,
            "fifa_rank": 310.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7501,
            "source_file": "data/player_rankings.csv",
            "player_name": "Youssef Enriquez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jun-sang Lee",
                  "ranking": 408
                },
                {
                  "player_name": "Boburbek Yuldashov",
                  "ranking": 409
                },
                {
                  "player_name": "Dor Peretz",
                  "ranking": 410
                },
                {
                  "player_name": "Itsuki Urata",
                  "ranking": 411
                },
                {
                  "player_name": "Chi-Won Choi",
                  "ranking": 412
                }
              ],
              "lower": [
                {
                  "player_name": "Beom Song",
                  "ranking": 414
                },
                {
                  "player_name": "Irakli Azarovi",
                  "ranking": 415
                },
                {
                  "player_name": "Alexander Freeman",
                  "ranking": 416
                },
                {
                  "player_name": "Johaneko Louis Jean",
                  "ranking": 417
                },
                {
                  "player_name": "Roman Begunov",
                  "ranking": 418
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9861,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 6 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7501,
                "minutes": 25,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.33,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 25.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.174,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.1479,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 25.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.5895,
                  "defensive_actions": 1.198,
                  "wonTackle": 0.5095,
                  "totalTackle_p90": 3.2685,
                  "totalClearance_p90": 5.1997,
                  "aerialWon": 0.2047
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7134180068969727,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1256
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0288
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0267
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0196
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0165
                        }
                      ],
                      "others": -0.0696,
                      "total": 0.7134,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.149681
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.036315
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.033706
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.024873
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.020843
                        }
                      ],
                      "others_margin": -0.093015
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1277958154678345,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.124
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.1172
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0583
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0526
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0432
                        }
                      ],
                      "others": -0.0562,
                      "total": 1.1278,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.08904
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.083969
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.04451
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.04197
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.035796
                        }
                      ],
                      "others_margin": -0.048695
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6086553335189819,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1691
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0358
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0261
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0231
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0194
                        }
                      ],
                      "others": -0.015,
                      "total": 0.6087,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.229234
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.053123
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.038425
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.035282
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.030696
                        }
                      ],
                      "others_margin": -0.024377
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.768846869468689,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.9249
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.2649
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.1305
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.082
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0693
                        }
                      ],
                      "others": -0.1472,
                      "total": 1.7688,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.318877
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.113792
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.061208
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.040466
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.035546
                        }
                      ],
                      "others_margin": -0.079905
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.43952012062072754,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6608
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.071
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0258
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0234
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0168
                        }
                      ],
                      "others": -0.0659,
                      "total": 0.4395,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.734934
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.124063
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.049146
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.046681
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.033887
                        }
                      ],
                      "others_margin": -0.139853
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2751,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0763
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0364
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0327
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0224
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0175
                        }
                      ],
                      "others": -0.0604,
                      "total": 0.2751,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "minutesPlayed",
                          "margin": -0.076344
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.036419
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.03274
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.022381
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.017462
                        }
                      ],
                      "others_margin": -0.060378
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.750091552734375,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0662
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0324
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.031
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0144
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0122
                        }
                      ],
                      "others": -0.0459,
                      "total": 6.7501,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.06625
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.032362
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.031043
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.014388
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.012235
                        }
                      ],
                      "others_margin": -0.046005
                    }
                  }
                ],
                "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.9861, quality 0.454)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7501,
                "minutes": 25,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 3.2836,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0296,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9861
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7501,
                "minutes": 25,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 3.2836,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0296,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7501,
                "minutes": 25,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 3.2836,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0296,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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": "Julián Alvarez",
                  "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.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7501,
                "minutes": 25,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 3.2836,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0416,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0296,
                  "after": 0.0416
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7501,
                "minutes": 25,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 3.2836,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0416,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 413,
                "fifa_rank": 310.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7501,
                "minutes": 25,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 3.2836,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0416,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.0416,
                "weight_share": 0.001,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7501,
                "minutes": 25,
                "total_pass": 9,
                "accurate_pass": 8,
                "duels_won": 4,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 5,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 4,
                "accurate_opp_half_passes": 4,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 3.2836,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0416,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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.0407,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0407,
                "provider_weight": 0.0333,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0508,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Nahuel Tenaglia": {
          "player_id": 896073,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 14,
          "height": 182,
          "market_value": 3200000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7013,
            "minutes": 84,
            "total_pass": 28,
            "accurate_pass": 23,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 49,
            "possession_lost": 9.535,
            "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": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0691,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 61,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.8,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.628,
            "opponent_faced": "Julián Alvarez",
            "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.0668,
            "finishing_factor": 1.0,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0166,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2619,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0533,
                "expected_assists": 0.0113,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 35,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0147,
                "expected_assists": 0.0129,
                "total_shots": 1,
                "total_pass": 29,
                "accurate_pass": 21,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3096,
                "expected_assists": 0.0325,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 61,
                "accurate_pass": 52,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2146,
            "combined_rank_score": 809.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 62.0,
            "sofascore_rating": 7.65,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1557.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7013,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nahuel Tenaglia",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kaito Taniguchi",
                  "ranking": 2141
                },
                {
                  "player_name": "Seok-jun Hong",
                  "ranking": 2142
                },
                {
                  "player_name": "Álvaro Valles",
                  "ranking": 2143
                },
                {
                  "player_name": "Lazar Samardžić",
                  "ranking": 2144
                },
                {
                  "player_name": "Giovanny Avalos",
                  "ranking": 2145
                }
              ],
              "lower": [
                {
                  "player_name": "Breel Embolo",
                  "ranking": 2147
                },
                {
                  "player_name": "Sergi Cardona",
                  "ranking": 2148
                },
                {
                  "player_name": "Kim Geon-oh",
                  "ranking": 2149
                },
                {
                  "player_name": "Ben Chilwell",
                  "ranking": 2150
                },
                {
                  "player_name": "Nicholas Duarte",
                  "ranking": 2151
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.982,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 7 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7013,
                "minutes": 84,
                "total_pass": 29,
                "accurate_pass": 24,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 50,
                "possession_lost": 9.71,
                "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": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.05,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 62,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 8.6
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.7067,
                  "defensive_actions": 3.204,
                  "wonTackle": 1.1685,
                  "totalTackle_p90": 1.9958,
                  "totalClearance_p90": 4.3448,
                  "aerialWon": 0.8753
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1427925825119019,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": 0.1018
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.1045
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0232
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0232
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.016
                        }
                      ],
                      "others": -0.0293,
                      "total": 1.1428,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": 0.106755
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.09892
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.020675
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.02031
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.013744
                        }
                      ],
                      "others_margin": -0.025298
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7096880674362183,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1492
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1444
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0201
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0155
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.012
                        }
                      ],
                      "others": 0.0372,
                      "total": 1.7097,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.106227
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.093072
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.012323
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.009387
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.007209
                        }
                      ],
                      "others_margin": 0.021926
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8106193542480469,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0461
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0427
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0245
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0188
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0012,
                      "total": 0.8106,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": 0.054346
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.050256
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.029947
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.023124
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014092
                        }
                      ],
                      "others_margin": -0.001521
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.486814260482788,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.381
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1841
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1315
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0798
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.043
                        }
                      ],
                      "others": -0.003,
                      "total": 3.4868,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.106573
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050095
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.037363
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.022858
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.012254
                        }
                      ],
                      "others_margin": -0.000853
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5608102679252625,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6096
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0569
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0227
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0227
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0155
                        }
                      ],
                      "others": -0.0268,
                      "total": 0.5608,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.65414
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.090169
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.036965
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.036911
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.026023
                        }
                      ],
                      "others_margin": -0.046813
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4975,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": 0.0312
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0211
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0187
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0131
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0129
                        }
                      ],
                      "others": -0.0333,
                      "total": 0.4975,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "duelLost",
                          "margin": 0.031184
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.021147
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.018657
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.013134
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.012872
                        }
                      ],
                      "others_margin": -0.033272
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.70131254196167,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0225
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.017
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0148
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.014
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0084
                        }
                      ],
                      "others": -0.0138,
                      "total": 6.7013,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "duel_win_rate",
                          "margin": -0.022519
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.016957
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.014803
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.013972
                        },
                        {
                          "name": "touches",
                          "margin": -0.008376
                        }
                      ],
                      "others_margin": -0.013763
                    }
                  }
                ],
                "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": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7013,
                "minutes": 84,
                "total_pass": 28,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 9.535,
                "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": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0491,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.982
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7013,
                "minutes": 84,
                "total_pass": 28,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 9.535,
                "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": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0491,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7013,
                "minutes": 84,
                "total_pass": 28,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 9.535,
                "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": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0491,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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": "Julián Alvarez",
                  "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.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7013,
                "minutes": 84,
                "total_pass": 28,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 9.535,
                "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": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0691,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0491,
                  "after": 0.0691
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7013,
                "minutes": 84,
                "total_pass": 28,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 9.535,
                "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": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0691,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2146,
                "fifa_rank": 1557.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7013,
                "minutes": 84,
                "total_pass": 28,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 9.535,
                "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": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0691,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.0416,
                "weight_share": 0.001,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7013,
                "minutes": 84,
                "total_pass": 28,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 15,
                "accurate_own_half_passes": 14,
                "total_opp_half_passes": 13,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 49,
                "possession_lost": 9.535,
                "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": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0691,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 11,
                "total_progression": 61,
                "progressive_carries": 2,
                "key_pass": 0,
                "shots_off_target": 0,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.628,
                "opponent_faced": "Julián Alvarez",
                "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.0668,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0668,
                "provider_weight": 0.0553,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0844,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Nicolás Valentini": {
          "player_id": 1116570,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 184,
          "market_value": 3100000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.8702,
            "minutes": 59,
            "total_pass": 24,
            "accurate_pass": 17,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 32,
            "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,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0276,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 8,
            "total_progression": 23,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Julián Alvarez",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0272,
            "finishing_factor": 1.0,
            "creation_factor": 0.8,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 18,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 7,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0745,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 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": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 14,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0244,
                "expected_assists": 0.0002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 4138,
            "combined_rank_score": 2135.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 3449.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8702,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nicolás Valentini",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yunus Musah",
                  "ranking": 4133
                },
                {
                  "player_name": "Florent Muslija",
                  "ranking": 4134
                },
                {
                  "player_name": "Darnell Furlong",
                  "ranking": 4135
                },
                {
                  "player_name": "Lucas Noubi",
                  "ranking": 4136
                },
                {
                  "player_name": "Marcão",
                  "ranking": 4137
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Christos Mouzakitis",
                  "ranking": 4143
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9816,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8702,
                "minutes": 59,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 6,
                "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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.02,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 23,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.9838,
                  "defensive_actions": 1.4349,
                  "wonTackle": 0.8944,
                  "totalTackle_p90": 0.8944,
                  "totalClearance_p90": 4.4373,
                  "aerialWon": 0.9529
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7528603076934814,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1318
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0231
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0224
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0181
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0142
                        }
                      ],
                      "others": -0.0503,
                      "total": 0.7529,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.157651
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.030452
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.029486
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.023218
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.017891
                        }
                      ],
                      "others_margin": -0.064737
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1821131706237793,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0641
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0454
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0337
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.022
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0199
                        }
                      ],
                      "others": -0.0039,
                      "total": 1.1821,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": -0.049355
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.036524
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.02797
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.018702
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.016941
                        }
                      ],
                      "others_margin": -0.003253
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6267829537391663,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1507
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0268
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0169
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0116
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0098
                        }
                      ],
                      "others": -0.0168,
                      "total": 0.6268,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.201603
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.040457
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.025699
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.017593
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.015166
                        }
                      ],
                      "others_margin": -0.026424
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.962707042694092,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.4291
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1985
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1432
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1326
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1033
                        }
                      ],
                      "others": 0.12,
                      "total": 3.9627,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.119258
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.05071
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.036319
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.034836
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.027258
                        }
                      ],
                      "others_margin": 0.030735
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6749603152275085,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6455
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0617
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0346
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0282
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.014
                        }
                      ],
                      "others": -0.0184,
                      "total": 0.675,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.71006
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.094323
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.051772
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.042334
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.020371
                        }
                      ],
                      "others_margin": -0.027017
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.42684492468833923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0324
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0285
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0222
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0186
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.015
                        }
                      ],
                      "others": -0.0339,
                      "total": 0.4268,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.03244
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.028467
                        },
                        {
                          "name": "touches",
                          "margin": 0.022195
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.018565
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.015033
                        }
                      ],
                      "others_margin": -0.033824
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.870175838470459,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0683
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0665
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0162
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0095
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0093
                        }
                      ],
                      "others": -0.0198,
                      "total": 6.8702,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.068331
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.066464
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.016173
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.009496
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.00926
                        }
                      ],
                      "others_margin": -0.019825
                    }
                  }
                ],
                "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.9816, quality 0.439)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8702,
                "minutes": 59,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 23,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387,
                "boost_factor": 0.9816
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8702,
                "minutes": 59,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 23,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8702,
                "minutes": 59,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 23,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Julián Alvarez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Julián Alvarez",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8702,
                "minutes": 59,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 23,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Julián Alvarez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0196,
                  "after": 0.0276
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8702,
                "minutes": 59,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 23,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Julián Alvarez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4138,
                "fifa_rank": 3449.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8702,
                "minutes": 59,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 23,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Julián Alvarez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.0416,
                "weight_share": 0.001,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8702,
                "minutes": 59,
                "total_pass": 24,
                "accurate_pass": 17,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 13,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 32,
                "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,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0276,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 23,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "opponent_faced": "Julián Alvarez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0272,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0272,
                "provider_weight": 0.0221,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0337,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Antonio Blanco": {
          "player_id": 855832,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 176,
          "market_value": 9700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0722,
            "assist_rate": 0.0618,
            "assists": 0,
            "expected_goals": 0.079,
            "goal_rate": 0.0618,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8543,
            "minutes": 75,
            "total_pass": 36,
            "accurate_pass": 31,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 51,
            "possession_lost": 8.9103,
            "dispossessed": 0.0,
            "duels_lost": 4,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 10,
            "total_progression": 21,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.8169,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.325,
            "pressing_faced": "HIGH",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Alex Baena",
            "opponent_faced": "Alex Baena",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.076,
            "projected_assists": 0,
            "assist_probability": 0.0697,
            "finishing_factor": 0.8966,
            "creation_factor": 1.1037,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 7,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 85,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0093,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 31,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 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": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 67,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.0078,
                "total_shots": 1,
                "total_pass": 32,
                "accurate_pass": 25,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 5,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0841,
                "expected_assists": 0.0948,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 58,
                "accurate_pass": 54,
                "tackles": 2,
                "tackles_won": 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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0305,
                "expected_assists": 0.089,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 4,
                "clearances": 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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0154,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 41,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 2,
                "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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 89,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0741,
                "expected_assists": 0.0159,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 42,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2382,
            "combined_rank_score": 863.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 481.0,
            "sofascore_rating": 6.8722,
            "sofascore_appearances": 36.0,
            "fifa_rank": 1245.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8543,
            "source_file": "data/player_rankings.csv",
            "player_name": "Antonio Blanco",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Douglas Luiz",
                  "ranking": 2377
                },
                {
                  "player_name": "Bayron Oyarzo",
                  "ranking": 2378
                },
                {
                  "player_name": "Ignacio Mesías",
                  "ranking": 2379
                },
                {
                  "player_name": "Virgiliu Postolachi",
                  "ranking": 2380
                },
                {
                  "player_name": "Jung Se-jun",
                  "ranking": 2381
                }
              ],
              "lower": [
                {
                  "player_name": "Gorka Guruzeta",
                  "ranking": 2383
                },
                {
                  "player_name": "Alfon González",
                  "ranking": 2384
                },
                {
                  "player_name": "Rashid Abubakar",
                  "ranking": 2385
                },
                {
                  "player_name": "Fredrik André Bjørkan",
                  "ranking": 2386
                },
                {
                  "player_name": "Carlos Escobar",
                  "ranking": 2387
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0057,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.051,
                "assist_rate": 0.0615,
                "assists": 0,
                "expected_goals": 0.0909,
                "goal_rate": 0.0752,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8543,
                "minutes": 75,
                "total_pass": 36,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 16,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 8.86,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 21,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 15.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.7957,
                  "expectedAssists": 0.0294,
                  "creative_index": 0.0971,
                  "creative_efficiency": 0.0116,
                  "shotValueNormalized": -0.0659,
                  "dribbleValueNormalized": 0.0471
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.696449339389801,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1403
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0888
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0422
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0311
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0277
                        }
                      ],
                      "others": -0.0468,
                      "total": 0.6964,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.16414
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.119831
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.058689
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.041187
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.036532
                        }
                      ],
                      "others_margin": -0.064986
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.051009126007556915,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0198
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0046
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0038
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0032
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.051,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.257264
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.069959
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.058637
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.049867
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.041846
                        }
                      ],
                      "others_margin": -0.176261
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.061456650495529175,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0112
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0031
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.003
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0022
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.008,
                      "total": 0.0615,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.140558
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.042537
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.042075
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.030842
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.029605
                        }
                      ],
                      "others_margin": -0.124515
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09093520790338516,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0406
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0149
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0075
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0064
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0189,
                      "total": 0.0909,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.251368
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.111103
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.060663
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.05496
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.030864
                        }
                      ],
                      "others_margin": -0.188341
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07520229369401932,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0303
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0106
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0076
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.006
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0134,
                      "total": 0.0752,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.229076
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.094482
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.073911
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.062675
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.052755
                        }
                      ],
                      "others_margin": -0.163508
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.24207335710525513,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0211
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0153
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0097
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0093
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0085
                        }
                      ],
                      "others": -0.0314,
                      "total": 0.2421,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "numberOfSprints",
                          "margin": -0.064716
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.049441
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.03282
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.03244
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.030488
                        }
                      ],
                      "others_margin": -0.122213
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8474022746086121,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0349
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0342
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0334
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0314
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0223
                        }
                      ],
                      "others": -0.1029,
                      "total": 0.8474,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.034858
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.034246
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.033428
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.031446
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.022291
                        }
                      ],
                      "others_margin": -0.102889
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.854308605194092,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0334
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0297
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0243
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0225
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0104
                        }
                      ],
                      "others": -0.0664,
                      "total": 6.8543,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.033386
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.029729
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.024259
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.022549
                        },
                        {
                          "name": "touches",
                          "margin": 0.010395
                        }
                      ],
                      "others_margin": -0.066307
                    }
                  }
                ],
                "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.0057, quality 0.519)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0513,
                "assist_rate": 0.0618,
                "assists": 0,
                "expected_goals": 0.0915,
                "goal_rate": 0.0756,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8543,
                "minutes": 75,
                "total_pass": 36,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 8.9103,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 21,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 9700000,
                "quality_factor": 0.5189,
                "boost_factor": 1.0057
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0513,
                "assist_rate": 0.0618,
                "assists": 0,
                "expected_goals": 0.0915,
                "goal_rate": 0.0756,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8543,
                "minutes": 75,
                "total_pass": 36,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 8.9103,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 21,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0513,
                "assist_rate": 0.0618,
                "assists": 0,
                "expected_goals": 0.0747,
                "goal_rate": 0.0618,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8543,
                "minutes": 75,
                "total_pass": 36,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 8.9103,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 21,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.325,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alex Baena",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.325,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8169,
                  "skill_edge": -0.1326,
                  "height_edge": 0.008,
                  "attacker_skill": 0.5316,
                  "defender_skill": 0.8262,
                  "xg_override": 0.0747
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.8522,
                  "after": 0.6962
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6087,
                  "after": 0.4972
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2434,
                  "after": 0.1988
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0915,
                  "after": 0.0747
                },
                {
                  "stat": "goals",
                  "before": 0.0756,
                  "after": 0.0618
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0722,
                "assist_rate": 0.0618,
                "assists": 0,
                "expected_goals": 0.079,
                "goal_rate": 0.0618,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8543,
                "minutes": 75,
                "total_pass": 36,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 8.9103,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 21,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.325,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8966,
                "creation_factor": 1.1037
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0513,
                  "after": 0.0722
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0722,
                "assist_rate": 0.0618,
                "assists": 0,
                "expected_goals": 0.079,
                "goal_rate": 0.0618,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8543,
                "minutes": 75,
                "total_pass": 36,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 8.9103,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 21,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.325,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8966,
                "creation_factor": 1.1037,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2382,
                "fifa_rank": 1245.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0722,
                "assist_rate": 0.0618,
                "assists": 0,
                "expected_goals": 0.079,
                "goal_rate": 0.0618,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8543,
                "minutes": 75,
                "total_pass": 36,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 8.9103,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 21,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.325,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.076,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8966,
                "creation_factor": 1.1037,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.076,
                "scorer_weight": 0.0708,
                "squad_weight_total": 1.0416,
                "weight_share": 0.068,
                "finishing_factor": 0.8966,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0722,
                "assist_rate": 0.0618,
                "assists": 0,
                "expected_goals": 0.079,
                "goal_rate": 0.0618,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8543,
                "minutes": 75,
                "total_pass": 36,
                "accurate_pass": 31,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 18,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 19,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 8.9103,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 10,
                "total_progression": 21,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.325,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.076,
                "projected_assists": 0,
                "assist_probability": 0.0697,
                "finishing_factor": 0.8966,
                "creation_factor": 1.1037,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0697,
                "provider_weight": 0.0797,
                "squad_weight_total": 0.6548,
                "weight_share": 0.1217,
                "creation_factor": 1.1037,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Miguel Rodríguez": {
          "player_id": 1014118,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 22,
          "height": 179,
          "market_value": 4099999,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0387,
            "assist_rate": 0.0686,
            "assists": 0,
            "expected_goals": 0.1072,
            "goal_rate": 0.0522,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6989,
            "minutes": 8,
            "total_pass": 2,
            "accurate_pass": 35,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 5,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.8221,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.299,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "LWB vs RWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Kang-in Lee",
            "opponent_faced": "Kang-in Lee",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1017,
            "projected_assists": 0,
            "assist_probability": 0.038,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0172,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0091,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 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": 4196,
            "combined_rank_score": 2227.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4258.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6989,
            "source_file": "data/player_rankings.csv",
            "player_name": "Miguel Rodríguez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "José Sosa",
                  "ranking": 4191
                },
                {
                  "player_name": "Jason Knight",
                  "ranking": 4192
                },
                {
                  "player_name": "Pablo Marín",
                  "ranking": 4193
                },
                {
                  "player_name": "Yvan Neyou",
                  "ranking": 4194
                },
                {
                  "player_name": "Sidiki Cherif",
                  "ranking": 4195
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Navarro",
                  "ranking": 4197
                },
                {
                  "player_name": "Yukinari Sugawara",
                  "ranking": 4198
                },
                {
                  "player_name": "Patrick Pentz",
                  "ranking": 4199
                },
                {
                  "player_name": "Álex Sancris",
                  "ranking": 4200
                },
                {
                  "player_name": "Bartosz Slisz",
                  "ranking": 4201
                }
              ]
            }
          },
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9853,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 3 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0279,
                "assist_rate": 0.0696,
                "assists": 0,
                "expected_goals": 0.1251,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6989,
                "minutes": 8,
                "total_pass": 2,
                "accurate_pass": 36,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 1.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": null
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.0,
                  "expectedAssists": 0.0097,
                  "creative_index": 0.3168,
                  "creative_efficiency": 0.0033,
                  "shotValueNormalized": 0.0,
                  "dribbleValueNormalized": 0.0194
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6623692512512207,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1199
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0645
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0459
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0444
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0297
                        }
                      ],
                      "others": -0.0517,
                      "total": 0.6624,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.138551
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.083261
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.059992
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.057919
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.040799
                        }
                      ],
                      "others_margin": -0.075246
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.027924658730626106,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0412
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0046
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0034
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0024
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.0279,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.639896
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.104856
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.086906
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.064477
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.055634
                        }
                      ],
                      "others_margin": -0.187284
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06962314248085022,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0111
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0107
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0092
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0034
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0031
                        }
                      ],
                      "others": 0.0006,
                      "total": 0.0696,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.139916
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.135325
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.115418
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.046295
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.043818
                        }
                      ],
                      "others_margin": 0.008905
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12511855363845825,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0275
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0115
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0101
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0081
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0078
                        }
                      ],
                      "others": -0.0311,
                      "total": 0.1251,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.163417
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.071715
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.062214
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.053404
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.051157
                        }
                      ],
                      "others_margin": -0.222021
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06440317630767822,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0312
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0236
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0083
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0068
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.0644,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.236758
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.226206
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.093258
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.08362
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.042366
                        }
                      ],
                      "others_margin": -0.149217
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.15095971524715424,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1173
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0273
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.014
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0095
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0291,
                      "total": 0.151,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.427282
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.132275
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.07528
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.051502
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.044271
                        }
                      ],
                      "others_margin": -0.17674
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4989672303199768,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3935
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0517
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0429
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0385
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0368
                        }
                      ],
                      "others": -0.1527,
                      "total": 0.499,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.39352
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.051698
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.042889
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.038485
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.0368
                        }
                      ],
                      "others_margin": -0.152705
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.698877334594727,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0525
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0349
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0261
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0256
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0114
                        }
                      ],
                      "others": -0.0616,
                      "total": 6.6989,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.052455
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.034948
                        },
                        {
                          "name": "touches",
                          "margin": -0.026138
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.025602
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011406
                        }
                      ],
                      "others_margin": -0.06153
                    }
                  }
                ],
                "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.9853, quality 0.451)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0275,
                "assist_rate": 0.0686,
                "assists": 0,
                "expected_goals": 0.1233,
                "goal_rate": 0.0635,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6989,
                "minutes": 8,
                "total_pass": 2,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9853
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0275,
                "assist_rate": 0.0686,
                "assists": 0,
                "expected_goals": 0.1233,
                "goal_rate": 0.0635,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6989,
                "minutes": 8,
                "total_pass": 2,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0275,
                "assist_rate": 0.0686,
                "assists": 0,
                "expected_goals": 0.1014,
                "goal_rate": 0.0522,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6989,
                "minutes": 8,
                "total_pass": 2,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8221,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.299,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kang-in Lee",
                "opponent_faced": "Kang-in Lee",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Kang-in Lee",
                  "matchup_zone": "LWB vs RWB",
                  "duel_win_rate": 0.299,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8221,
                  "skill_edge": -0.145,
                  "height_edge": 0.024,
                  "attacker_skill": 0.4727,
                  "defender_skill": 0.795,
                  "xg_override": 0.1014
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 0.4916,
                  "after": 0.4041
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.3429,
                  "after": 0.2819
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1487,
                  "after": 0.1222
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1233,
                  "after": 0.1014
                },
                {
                  "stat": "goals",
                  "before": 0.0635,
                  "after": 0.0522
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0387,
                "assist_rate": 0.0686,
                "assists": 0,
                "expected_goals": 0.1072,
                "goal_rate": 0.0522,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6989,
                "minutes": 8,
                "total_pass": 2,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8221,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.299,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kang-in Lee",
                "opponent_faced": "Kang-in Lee",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1014,
                  "after": 0.1072
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0275,
                  "after": 0.0387
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0387,
                "assist_rate": 0.0686,
                "assists": 0,
                "expected_goals": 0.1072,
                "goal_rate": 0.0522,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6989,
                "minutes": 8,
                "total_pass": 2,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8221,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.299,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kang-in Lee",
                "opponent_faced": "Kang-in Lee",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4196,
                "fifa_rank": 4258.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0387,
                "assist_rate": 0.0686,
                "assists": 0,
                "expected_goals": 0.1072,
                "goal_rate": 0.0522,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6989,
                "minutes": 8,
                "total_pass": 2,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8221,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.299,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kang-in Lee",
                "opponent_faced": "Kang-in Lee",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1017,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1017,
                "scorer_weight": 0.0858,
                "squad_weight_total": 1.0416,
                "weight_share": 0.0823,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0387,
                "assist_rate": 0.0686,
                "assists": 0,
                "expected_goals": 0.1072,
                "goal_rate": 0.0522,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6989,
                "minutes": 8,
                "total_pass": 2,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 5,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.8221,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.299,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Kang-in Lee",
                "opponent_faced": "Kang-in Lee",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1017,
                "projected_assists": 0,
                "assist_probability": 0.038,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.038,
                "provider_weight": 0.0484,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0739,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pablo Ibáñez": {
          "player_id": 1084381,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 19,
          "height": 179,
          "market_value": 4099999,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0661,
            "assist_rate": 0.0538,
            "assists": 0,
            "expected_goals": 0.1422,
            "goal_rate": 0.1509,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7956,
            "minutes": 83,
            "total_pass": 29,
            "accurate_pass": 23,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 11.1243,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 2,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 15,
            "total_progression": 71,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "opponent_faced": "Morten Hjulmand, Pablo Barrios, Alex Baena",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1326,
            "projected_assists": 0,
            "assist_probability": 0.064,
            "finishing_factor": 1.0889,
            "creation_factor": 1.0701,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 85,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3817,
                "expected_assists": 0.0358,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 36,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "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"
            },
            {
              "match_id": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "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"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2584,
                "expected_assists": 0.0132,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 40,
                "accurate_pass": 35,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.0078,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 1,
                "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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.066,
                "expected_assists": 0.0519,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 32,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 9,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 23,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3981,
            "combined_rank_score": 1953.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 2.0,
            "fifa_rank": 3516.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7956,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Ibáñez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Patrick Sequeira",
                  "ranking": 3976
                },
                {
                  "player_name": "Javi Rueda",
                  "ranking": 3977
                },
                {
                  "player_name": "Freddie Potts",
                  "ranking": 3978
                },
                {
                  "player_name": "Chupe",
                  "ranking": 3979
                },
                {
                  "player_name": "Bigas",
                  "ranking": 3980
                }
              ],
              "lower": [
                {
                  "player_name": "Jonny",
                  "ranking": 3982
                },
                {
                  "player_name": "Mohamed Belloumi",
                  "ranking": 3983
                },
                {
                  "player_name": "Jack Hendry",
                  "ranking": 3984
                },
                {
                  "player_name": "Areso",
                  "ranking": 3985
                },
                {
                  "player_name": "Gorosabel",
                  "ranking": 3986
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9853,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0477,
                "assist_rate": 0.0546,
                "assists": 0,
                "expected_goals": 0.1365,
                "goal_rate": 0.1532,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7956,
                "minutes": 83,
                "total_pass": 29,
                "accurate_pass": 23,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 46,
                "possession_lost": 11.29,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 16,
                "total_progression": 72,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.2229,
                  "expectedAssists": 0.0169,
                  "creative_index": 0.1735,
                  "creative_efficiency": 0.0084,
                  "shotValueNormalized": -0.0681,
                  "dribbleValueNormalized": 0.1578
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7342758774757385,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.0993
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0874
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0447
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0445
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0231
                        }
                      ],
                      "others": -0.029,
                      "total": 0.7343,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.113349
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.111705
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.058697
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.058406
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.030708
                        }
                      ],
                      "others_margin": -0.038667
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04773905128240585,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0316
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0034
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0022
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0017
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0024,
                      "total": 0.0477,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.449578
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.062196
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.042818
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.033251
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.031991
                        }
                      ],
                      "others_margin": -0.049483
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05458463355898857,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0106
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0076
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0029
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0019
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0011
                        }
                      ],
                      "others": -0.0064,
                      "total": 0.0546,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.132825
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.107803
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.043711
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.030297
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.017981
                        }
                      ],
                      "others_margin": -0.111944
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13653965294361115,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0131
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.013
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0121
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0109
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0165,
                      "total": 0.1365,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.069272
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.068715
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.068233
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.065691
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.043044
                        }
                      ],
                      "others_margin": -0.11442
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1531594693660736,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0581
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0312
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0102
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0089
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0069
                        }
                      ],
                      "others": -0.0094,
                      "total": 0.1532,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.331334
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.164009
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.06041
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.055478
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.043535
                        }
                      ],
                      "others_margin": -0.06008
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.29713231325149536,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0205
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0195
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0122
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0085
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.2971,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "numberOfSprints",
                          "margin": -0.062535
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.059694
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.036864
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.026462
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.02542
                        }
                      ],
                      "others_margin": -0.035595
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7910459041595459,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2002
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0344
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0249
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0212
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0202
                        }
                      ],
                      "others": -0.0554,
                      "total": 0.791,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.200181
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.034385
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.024866
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.021238
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.020248
                        }
                      ],
                      "others_margin": -0.055372
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.795586585998535,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.049
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0326
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0311
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0191
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0099
                        }
                      ],
                      "others": -0.0427,
                      "total": 6.7956,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.049026
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.032644
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.031144
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.0191
                        },
                        {
                          "name": "touches",
                          "margin": 0.009885
                        }
                      ],
                      "others_margin": -0.042628
                    }
                  }
                ],
                "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.9853, quality 0.451)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.047,
                "assist_rate": 0.0538,
                "assists": 0,
                "expected_goals": 0.1345,
                "goal_rate": 0.1509,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7956,
                "minutes": 83,
                "total_pass": 29,
                "accurate_pass": 23,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 11.1243,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 71,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9853
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.047,
                "assist_rate": 0.0538,
                "assists": 0,
                "expected_goals": 0.1345,
                "goal_rate": 0.1509,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7956,
                "minutes": 83,
                "total_pass": 29,
                "accurate_pass": 23,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 11.1243,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 71,
                "progressive_carries": 1,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.047,
                "assist_rate": 0.0538,
                "assists": 0,
                "expected_goals": 0.1345,
                "goal_rate": 0.1509,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7956,
                "minutes": 83,
                "total_pass": 29,
                "accurate_pass": 23,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 11.1243,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 71,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Morten Hjulmand, Pablo Barrios, Alex Baena",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Morten Hjulmand, Pablo Barrios, Alex Baena",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0661,
                "assist_rate": 0.0538,
                "assists": 0,
                "expected_goals": 0.1422,
                "goal_rate": 0.1509,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7956,
                "minutes": 83,
                "total_pass": 29,
                "accurate_pass": 23,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 11.1243,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 71,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Morten Hjulmand, Pablo Barrios, Alex Baena",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0889,
                "creation_factor": 1.0701
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1345,
                  "after": 0.1422
                },
                {
                  "stat": "expected_assists",
                  "before": 0.047,
                  "after": 0.0661
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0661,
                "assist_rate": 0.0538,
                "assists": 0,
                "expected_goals": 0.1422,
                "goal_rate": 0.1509,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7956,
                "minutes": 83,
                "total_pass": 29,
                "accurate_pass": 23,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 11.1243,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 71,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Morten Hjulmand, Pablo Barrios, Alex Baena",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0889,
                "creation_factor": 1.0701,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3981,
                "fifa_rank": 3516.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0661,
                "assist_rate": 0.0538,
                "assists": 0,
                "expected_goals": 0.1422,
                "goal_rate": 0.1509,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7956,
                "minutes": 83,
                "total_pass": 29,
                "accurate_pass": 23,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 11.1243,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 71,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Morten Hjulmand, Pablo Barrios, Alex Baena",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1326,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0889,
                "creation_factor": 1.0701,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1326,
                "scorer_weight": 0.1548,
                "squad_weight_total": 1.0416,
                "weight_share": 0.1487,
                "finishing_factor": 1.0889,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0661,
                "assist_rate": 0.0538,
                "assists": 0,
                "expected_goals": 0.1422,
                "goal_rate": 0.1509,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.7956,
                "minutes": 83,
                "total_pass": 29,
                "accurate_pass": 23,
                "duels_won": 5,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 18,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 11.1243,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 2,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 71,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "opponent_faced": "Morten Hjulmand, Pablo Barrios, Alex Baena",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1326,
                "projected_assists": 0,
                "assist_probability": 0.064,
                "finishing_factor": 1.0889,
                "creation_factor": 1.0701,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.064,
                "provider_weight": 0.0707,
                "squad_weight_total": 0.6548,
                "weight_share": 0.108,
                "creation_factor": 1.0701,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ángel Pérez": {
          "player_id": 1513222,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 183,
          "market_value": 2800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.2089,
            "assist_rate": 0.1267,
            "assists": 1,
            "expected_goals": 0.1554,
            "goal_rate": 0.1609,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9192,
            "minutes": 70,
            "total_pass": 16,
            "accurate_pass": 35,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 4,
            "crosses_accurate": 0,
            "touches": 34,
            "possession_lost": 10.9309,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 3,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 8,
            "total_progression": 46,
            "progressive_carries": 2,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.7967,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.312,
            "pressing_faced": "HIGH",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Alex Baena",
            "opponent_faced": "Alex Baena",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1439,
            "projected_assists": 1,
            "assist_probability": 0.1885,
            "finishing_factor": 1.0706,
            "creation_factor": 0.8902,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 15,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1035,
                "total_shots": 0,
                "total_pass": 2,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 85,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0565,
                "expected_assists": 0.1624,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "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": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 86,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4533,
                "expected_assists": 0.196,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1634,
                "expected_assists": 0.4685,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 3,
                "aerial_won": 1,
                "duels_won": 6,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 71,
                "rating": 7.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1179,
                "expected_assists": 0.3338,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 7,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 80,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0598,
                "expected_assists": 0.3395,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 12,
                "key_pass": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 65,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0715,
                "expected_assists": 0.0587,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4209,
            "combined_rank_score": 2239.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 236.0,
            "sofascore_rating": 7.1333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 4243.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9192,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ángel Pérez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Toti",
                  "ranking": 4204
                },
                {
                  "player_name": "Tristan Crama",
                  "ranking": 4205
                },
                {
                  "player_name": "Léo Scienza",
                  "ranking": 4206
                },
                {
                  "player_name": "Iván Villar",
                  "ranking": 4207
                },
                {
                  "player_name": "Arthur Avom Ebong",
                  "ranking": 4208
                }
              ],
              "lower": [
                {
                  "player_name": "Salomón Rondón",
                  "ranking": 4210
                },
                {
                  "player_name": "Adrián Niño",
                  "ranking": 4211
                },
                {
                  "player_name": "Anthony Lopes",
                  "ranking": 4212
                },
                {
                  "player_name": "Thorgan Hazard",
                  "ranking": 4213
                },
                {
                  "player_name": "Kenny Lala",
                  "ranking": 4214
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1514,
                "assist_rate": 0.1291,
                "assists": 0,
                "expected_goals": 0.188,
                "goal_rate": 0.2058,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9192,
                "minutes": 70,
                "total_pass": 16,
                "accurate_pass": 36,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 11.14,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 47,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 15.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.2416,
                  "expectedAssists": 0.2247,
                  "creative_index": 0.6997,
                  "creative_efficiency": 0.1071,
                  "shotValueNormalized": -0.0902,
                  "dribbleValueNormalized": 0.1003
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4335159063339233,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1434
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0786
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0776
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0401
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0365
                        }
                      ],
                      "others": 0.1306,
                      "total": 1.4335,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.1439
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.070845
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.065407
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.032191
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.028433
                        }
                      ],
                      "others_margin": 0.095502
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.15135960280895233,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0406
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0083
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0083
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.007
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0062
                        }
                      ],
                      "others": 0.0104,
                      "total": 0.1514,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.382329
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.062951
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.062658
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.052976
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.045198
                        }
                      ],
                      "others_margin": 0.0703
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1291281282901764,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0086
                        },
                        {
                          "name": "cross_accuracy",
                          "contribution": -0.0072
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0071
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0069
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0069
                        }
                      ],
                      "others": 0.0217,
                      "total": 0.1291,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "totalPass_p90",
                          "margin": 0.095695
                        },
                        {
                          "name": "cross_accuracy",
                          "margin": -0.080133
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.078503
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.070788
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.066557
                        }
                      ],
                      "others_margin": 0.185082
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.18799807131290436,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0095
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0091
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0083
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0081
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0071
                        }
                      ],
                      "others": 0.0131,
                      "total": 0.188,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.0536
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.051236
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.046907
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.045607
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.040027
                        }
                      ],
                      "others_margin": 0.072678
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.205805703997612,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0486
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0295
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0145
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0085
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0081
                        }
                      ],
                      "others": 0.0367,
                      "total": 0.2058,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.284191
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.16235
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.090467
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.054191
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.048865
                        }
                      ],
                      "others_margin": 0.195915
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.42203572392463684,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0237
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0164
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0161
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0134
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0123
                        }
                      ],
                      "others": 0.0273,
                      "total": 0.422,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.067775
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.044501
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.041853
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.03349
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.030805
                        }
                      ],
                      "others_margin": 0.066916
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0489702224731445,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1483
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0461
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0407
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0375
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0325
                        }
                      ],
                      "others": 0.0838,
                      "total": 1.049,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.148298
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.046088
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.040725
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.037457
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.032476
                        }
                      ],
                      "others_margin": 0.083902
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.919164180755615,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.059
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0346
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0257
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0152
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0145
                        }
                      ],
                      "others": -0.0592,
                      "total": 6.9192,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.059008
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.034643
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.025706
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.015177
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.014468
                        }
                      ],
                      "others_margin": -0.059239
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1485,
                "assist_rate": 0.1267,
                "assists": 0,
                "expected_goals": 0.1845,
                "goal_rate": 0.2019,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9192,
                "minutes": 70,
                "total_pass": 16,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 10.9309,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 46,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1485,
                "assist_rate": 0.1267,
                "assists": 0,
                "expected_goals": 0.1845,
                "goal_rate": 0.2019,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9192,
                "minutes": 70,
                "total_pass": 16,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 10.9309,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 46,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1485,
                "assist_rate": 0.1267,
                "assists": 0,
                "expected_goals": 0.147,
                "goal_rate": 0.1609,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9192,
                "minutes": 70,
                "total_pass": 16,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 10.9309,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 46,
                "progressive_carries": 2,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7967,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.312,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alex Baena",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.312,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7967,
                  "skill_edge": -0.1743,
                  "height_edge": 0.036,
                  "attacker_skill": 0.4388,
                  "defender_skill": 0.8262,
                  "xg_override": 0.147
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.0293,
                  "after": 0.82
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6151,
                  "after": 0.4901
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4141,
                  "after": 0.3299
                },
                {
                  "stat": "goals",
                  "before": 0.2019,
                  "after": 0.1609
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1845,
                  "after": 0.147
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.2089,
                "assist_rate": 0.1267,
                "assists": 0,
                "expected_goals": 0.1554,
                "goal_rate": 0.1609,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9192,
                "minutes": 70,
                "total_pass": 16,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 10.9309,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 46,
                "progressive_carries": 2,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7967,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.312,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0706,
                "creation_factor": 0.8902
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.147,
                  "after": 0.1554
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1485,
                  "after": 0.2089
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.2089,
                "assist_rate": 0.1267,
                "assists": 0,
                "expected_goals": 0.1554,
                "goal_rate": 0.1609,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9192,
                "minutes": 70,
                "total_pass": 16,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 10.9309,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 46,
                "progressive_carries": 2,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7967,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.312,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0706,
                "creation_factor": 0.8902,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4209,
                "fifa_rank": 4243.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.2089,
                "assist_rate": 0.1267,
                "assists": 0,
                "expected_goals": 0.1554,
                "goal_rate": 0.1609,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9192,
                "minutes": 70,
                "total_pass": 16,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 10.9309,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 46,
                "progressive_carries": 2,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7967,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.312,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1439,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0706,
                "creation_factor": 0.8902,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1439,
                "scorer_weight": 0.1664,
                "squad_weight_total": 1.0416,
                "weight_share": 0.1597,
                "finishing_factor": 1.0706,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.2089,
                "assist_rate": 0.1267,
                "assists": 1,
                "expected_goals": 0.1554,
                "goal_rate": 0.1609,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.9192,
                "minutes": 70,
                "total_pass": 16,
                "accurate_pass": 35,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 8,
                "crosses_total": 4,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 10.9309,
                "dispossessed": 0.0,
                "duels_lost": 3,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 8,
                "total_progression": 46,
                "progressive_carries": 2,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7967,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.312,
                "pressing_faced": "HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Alex Baena",
                "opponent_faced": "Alex Baena",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1439,
                "projected_assists": 1,
                "assist_probability": 0.1885,
                "finishing_factor": 1.0706,
                "creation_factor": 0.8902,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1885,
                "provider_weight": 0.186,
                "squad_weight_total": 0.6548,
                "weight_share": 0.284,
                "creation_factor": 0.8902,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Carles Aleñá": {
          "player_id": 794937,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 180,
          "market_value": 2800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0453,
            "assist_rate": 0.0562,
            "assists": 0,
            "expected_goals": 0.0794,
            "goal_rate": 0.0452,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7069,
            "minutes": 21,
            "total_pass": 11,
            "accurate_pass": 9,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 4.4155,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 10,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.7707,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.264,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "RWB vs LWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Giuliano Simeone",
            "opponent_faced": "Giuliano Simeone",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0763,
            "projected_assists": 0,
            "assist_probability": 0.0443,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 11,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0065,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 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": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 23,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_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": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0901,
                "expected_assists": 0.0221,
                "total_shots": 1,
                "total_pass": 30,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0054,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2212,
            "combined_rank_score": 1041.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1260.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7069,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carles Aleñá",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Darko Velkovski",
                  "ranking": 2207
                },
                {
                  "player_name": "Sandro Wieser",
                  "ranking": 2208
                },
                {
                  "player_name": "Zafar Sadullayev",
                  "ranking": 2209
                },
                {
                  "player_name": "Tyrell Malacia",
                  "ranking": 2210
                },
                {
                  "player_name": "Yeremay Hernández",
                  "ranking": 2211
                }
              ],
              "lower": [
                {
                  "player_name": "Jorge Cestero",
                  "ranking": 2213
                },
                {
                  "player_name": "Wallace Yan",
                  "ranking": 2214
                },
                {
                  "player_name": "Behruz Uktamov",
                  "ranking": 2215
                },
                {
                  "player_name": "Ilkhomzhon Kenzhaev",
                  "ranking": 2216
                },
                {
                  "player_name": "Ravshanbek Yagudin",
                  "ranking": 2217
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 6 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0329,
                "assist_rate": 0.0573,
                "assists": 0,
                "expected_goals": 0.0994,
                "goal_rate": 0.0597,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7069,
                "minutes": 21,
                "total_pass": 12,
                "accurate_pass": 10,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 18,
                "possession_lost": 4.5,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 11.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 1.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.2548,
                  "expectedAssists": 0.0075,
                  "creative_index": 0.1139,
                  "creative_efficiency": 0.0046,
                  "shotValueNormalized": 0.0,
                  "dribbleValueNormalized": 0.0671
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5307605862617493,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1543
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1038
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0453
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0355
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0316
                        }
                      ],
                      "others": -0.0886,
                      "total": 0.5308,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.182085
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.144366
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.0701
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.058702
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.052322
                        }
                      ],
                      "others_margin": -0.154366
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03286348655819893,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0385
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0027
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0025
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0023
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0066,
                      "total": 0.0329,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.581769
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.057736
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.055209
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.053059
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.042987
                        }
                      ],
                      "others_margin": -0.185441
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05731438845396042,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0117
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0095
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.003
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0026
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0034,
                      "total": 0.0573,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.148073
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.137787
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.048152
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.044123
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.039608
                        }
                      ],
                      "others_margin": -0.057234
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09938986599445343,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0315
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0095
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0083
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0061
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0233,
                      "total": 0.0994,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.189428
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.064684
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.060614
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.046853
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.035902
                        }
                      ],
                      "others_margin": -0.210915
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05969349667429924,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0299
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0229
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0087
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0077
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0157,
                      "total": 0.0597,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.225639
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.215589
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.096013
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.093
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.042527
                        }
                      ],
                      "others_margin": -0.234597
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.13753940165042877,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1156
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0245
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0146
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0106
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0055
                        }
                      ],
                      "others": -0.0291,
                      "total": 0.1375,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.419492
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.116925
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.07679
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.05979
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.032721
                        }
                      ],
                      "others_margin": -0.19173
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4920627474784851,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.294
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0432
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0356
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0337
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0334
                        }
                      ],
                      "others": -0.1735,
                      "total": 0.4921,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.294025
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.043222
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.035563
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.033705
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.03344
                        }
                      ],
                      "others_margin": -0.173462
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.70687198638916,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0541
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.036
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0288
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0259
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0132
                        }
                      ],
                      "others": -0.0731,
                      "total": 6.7069,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.054054
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.035968
                        },
                        {
                          "name": "touches",
                          "margin": -0.028763
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.025926
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.013239
                        }
                      ],
                      "others_margin": -0.073263
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0322,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0975,
                "goal_rate": 0.0586,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7069,
                "minutes": 21,
                "total_pass": 11,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4155,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0322,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0975,
                "goal_rate": 0.0586,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7069,
                "minutes": 21,
                "total_pass": 11,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4155,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0322,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0751,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7069,
                "minutes": 21,
                "total_pass": 11,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4155,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7707,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Giuliano Simeone",
                  "matchup_zone": "RWB vs LWB",
                  "duel_win_rate": 0.264,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7707,
                  "skill_edge": -0.184,
                  "height_edge": 0.028,
                  "attacker_skill": 0.4498,
                  "defender_skill": 0.8586,
                  "xg_override": 0.0751
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.4828,
                  "after": 0.3721
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.3478,
                  "after": 0.268
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.135,
                  "after": 0.104
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0975,
                  "after": 0.0751
                },
                {
                  "stat": "goals",
                  "before": 0.0586,
                  "after": 0.0452
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0453,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0794,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7069,
                "minutes": 21,
                "total_pass": 11,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4155,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7707,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0322,
                  "after": 0.0453
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0453,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0794,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7069,
                "minutes": 21,
                "total_pass": 11,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4155,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7707,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2212,
                "fifa_rank": 1260.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0453,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0794,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7069,
                "minutes": 21,
                "total_pass": 11,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4155,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7707,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0763,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0763,
                "scorer_weight": 0.0635,
                "squad_weight_total": 1.0416,
                "weight_share": 0.061,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0453,
                "assist_rate": 0.0562,
                "assists": 0,
                "expected_goals": 0.0794,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7069,
                "minutes": 21,
                "total_pass": 11,
                "accurate_pass": 9,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 7,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 17,
                "possession_lost": 4.4155,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "duel_xg_multiplier": 0.7707,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0763,
                "projected_assists": 0,
                "assist_probability": 0.0443,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0443,
                "provider_weight": 0.0566,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0865,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Toni Martínez": {
          "player_id": 831253,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 180,
          "market_value": 7300000,
          "stats": {
            "expected_goals": 0.1996,
            "goal_rate": 0.1423,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0502,
            "key_pass": 1,
            "rating": 6.7116,
            "minutes": 58,
            "total_pass": 8,
            "accurate_pass": 5,
            "duels_won": 5,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 6.9795,
            "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": 2,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7326,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "HIGH",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Cristian Romero, Marc Pubill",
            "opponent_faced": "Cristian Romero, Marc Pubill",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1809,
            "projected_assists": 0,
            "assist_probability": 0.049,
            "finishing_factor": 0.8053,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 25,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 67,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1819,
                "expected_assists": 0.0095,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 11,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 23,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0527,
                "expected_assists": 0.1076,
                "total_shots": 1,
                "total_pass": 3,
                "accurate_pass": 1,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 54,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3729,
                "expected_assists": 0.0107,
                "total_shots": 4,
                "shots_off_target": 4,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 5,
                "duels_won": 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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3202,
                "expected_assists": 0.012,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 13,
                "accurate_pass": 9,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2078,
            "combined_rank_score": 790.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 345.0,
            "sofascore_rating": 6.9892,
            "sofascore_appearances": 37.0,
            "fifa_rank": 1236.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7116,
            "source_file": "data/player_rankings.csv",
            "player_name": "Toni Martínez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luiz Júnior",
                  "ranking": 2073
                },
                {
                  "player_name": "Maximiliano Rodríguez",
                  "ranking": 2074
                },
                {
                  "player_name": "Abbos Gulomov",
                  "ranking": 2075
                },
                {
                  "player_name": "Chan-dong Lee",
                  "ranking": 2076
                },
                {
                  "player_name": "Leonardo Spinazzola",
                  "ranking": 2077
                }
              ],
              "lower": [
                {
                  "player_name": "Callum Hudson Odoi",
                  "ranking": 2079
                },
                {
                  "player_name": "Cédric Bakambu",
                  "ranking": 2080
                },
                {
                  "player_name": "Renato Veiga",
                  "ranking": 2081
                },
                {
                  "player_name": "Shodiyor Shodiboev",
                  "ranking": 2082
                },
                {
                  "player_name": "Matija Rom",
                  "ranking": 2083
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9971,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 6 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2584,
                "goal_rate": 0.1948,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0358,
                "key_pass": 1,
                "rating": 6.7116,
                "minutes": 58,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 6,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 7.0,
                "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": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 25.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 1.6115,
                  "minutesPlayed": 52.6557,
                  "shotValueNormalized": -0.2701,
                  "accuratePass": 4.3296,
                  "expectedAssists": 0.0235
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2584317922592163,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0585
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0169
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0069
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0066
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0061
                        }
                      ],
                      "others": -0.0214,
                      "total": 0.2584,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.175914
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.057255
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.024272
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.023821
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.022186
                        }
                      ],
                      "others_margin": -0.079583
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.19483734667301178,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0305
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0272
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0142
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.01
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0093
                        }
                      ],
                      "others": -0.0392,
                      "total": 0.1948,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.112689
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.112091
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.063951
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.045665
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.040674
                        }
                      ],
                      "others_margin": -0.183604
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.333353191614151,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.1388
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1026
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0173
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0165
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0357,
                      "total": 0.3334,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "shot_accuracy",
                          "margin": -0.268781
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.258828
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.048603
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.04425
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.032145
                        }
                      ],
                      "others_margin": -0.101991
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.311900019645691,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1535
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0828
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0686
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0549
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0475
                        }
                      ],
                      "others": -0.1328,
                      "total": 1.3119,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.153454
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.082777
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.068603
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.054889
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.047534
                        }
                      ],
                      "others_margin": -0.132724
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03579249233007431,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0135
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.003
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0022
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.002
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0061,
                      "total": 0.0358,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.254955
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.066893
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.050311
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.044255
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.041122
                        }
                      ],
                      "others_margin": -0.16048
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.610888659954071,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.167
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0769
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0447
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0447
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0267
                        }
                      ],
                      "others": -0.0933,
                      "total": 0.6109,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.282632
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.140072
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.07324
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.068208
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.038591
                        }
                      ],
                      "others_margin": -0.142036
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.711636066436768,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0318
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.024
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0148
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0137
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0092
                        }
                      ],
                      "others": -0.0395,
                      "total": 6.7116,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.031803
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024008
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.014755
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.01368
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.009224
                        }
                      ],
                      "others_margin": -0.039365
                    }
                  }
                ],
                "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.9971, quality 0.490)",
              "stats": {
                "expected_goals": 0.2577,
                "goal_rate": 0.1943,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0357,
                "key_pass": 1,
                "rating": 6.7116,
                "minutes": 58,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.9795,
                "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": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 7300000,
                "quality_factor": 0.4903,
                "boost_factor": 0.9971
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2577,
                "goal_rate": 0.1943,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0357,
                "key_pass": 1,
                "rating": 6.7116,
                "minutes": 58,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.9795,
                "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": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.1888,
                "goal_rate": 0.1423,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0357,
                "key_pass": 1,
                "rating": 6.7116,
                "minutes": 58,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.9795,
                "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": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7326,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Cristian Romero, Marc Pubill",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.7326,
                  "skill_edge": -0.1519,
                  "height_edge": -0.03,
                  "attacker_skill": 0.4903,
                  "defender_skill": 0.8279,
                  "xg_override": 0.1888
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.3081,
                  "after": 0.9583
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9756,
                  "after": 0.7147
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3324,
                  "after": 0.2435
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2577,
                  "after": 0.1888
                },
                {
                  "stat": "goals",
                  "before": 0.1943,
                  "after": 0.1423
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1996,
                "goal_rate": 0.1423,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0502,
                "key_pass": 1,
                "rating": 6.7116,
                "minutes": 58,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.9795,
                "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": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7326,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8053,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1888,
                  "after": 0.1996
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0357,
                  "after": 0.0502
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1996,
                "goal_rate": 0.1423,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0502,
                "key_pass": 1,
                "rating": 6.7116,
                "minutes": 58,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.9795,
                "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": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7326,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8053,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2078,
                "fifa_rank": 1236.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1996,
                "goal_rate": 0.1423,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0502,
                "key_pass": 1,
                "rating": 6.7116,
                "minutes": 58,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.9795,
                "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": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7326,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1809,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8053,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1809,
                "scorer_weight": 0.1607,
                "squad_weight_total": 1.0416,
                "weight_share": 0.1543,
                "finishing_factor": 0.8053,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1996,
                "goal_rate": 0.1423,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0502,
                "key_pass": 1,
                "rating": 6.7116,
                "minutes": 58,
                "total_pass": 8,
                "accurate_pass": 5,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 7,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 6.9795,
                "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": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7326,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1809,
                "projected_assists": 0,
                "assist_probability": 0.049,
                "finishing_factor": 0.8053,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.049,
                "provider_weight": 0.0402,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0613,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Lucas Boyé": {
          "player_id": 814385,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 15,
          "height": 183,
          "market_value": 5300000,
          "stats": {
            "expected_goals": 0.2051,
            "goal_rate": 0.2683,
            "goals": 1,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0452,
            "key_pass": 1,
            "rating": 6.9034,
            "minutes": 81,
            "total_pass": 15,
            "accurate_pass": 11,
            "duels_won": 7,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 37,
            "possession_lost": 13.8566,
            "dispossessed": 1.3164,
            "duels_lost": 9,
            "aerial_lost": 3,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7341,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "HIGH",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Cristian Romero, Marc Pubill",
            "opponent_faced": "Cristian Romero, Marc Pubill",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.1854,
            "projected_assists": 0,
            "assist_probability": 0.0442,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 75,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0054,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2173,
                "expected_assists": 0.0304,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 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": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1505,
                "expected_assists": 0.032,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 10,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 85,
                "rating": 10.0,
                "goal_rate": 3.0,
                "goals": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2454,
                "expected_assists": 0.0198,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 24,
                "accurate_pass": 19,
                "tackles": 3,
                "tackles_won": 3,
                "aerial_won": 3,
                "duels_won": 13,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 82,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.533,
                "expected_assists": 0.003,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 8,
                "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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1089,
                "expected_assists": 0.2737,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 2629,
            "combined_rank_score": 921.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1550.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9034,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Boyé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Augustine Chidi Kwem",
                  "ranking": 2624
                },
                {
                  "player_name": "Otabek Ahadov",
                  "ranking": 2625
                },
                {
                  "player_name": "Rodrigo Sandoval",
                  "ranking": 2626
                },
                {
                  "player_name": "Ruben Loftus-Cheek",
                  "ranking": 2627
                },
                {
                  "player_name": "Edu Expósito",
                  "ranking": 2628
                }
              ],
              "lower": [
                {
                  "player_name": "Duván Zapata",
                  "ranking": 2630
                },
                {
                  "player_name": "Tosin Adarabioyo",
                  "ranking": 2631
                },
                {
                  "player_name": "Selton Sanchez",
                  "ranking": 2632
                },
                {
                  "player_name": "Jung-Min Kim",
                  "ranking": 2633
                },
                {
                  "player_name": "Enzo Barrenechea",
                  "ranking": 2634
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9898,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 6 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2671,
                "goal_rate": 0.3693,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0324,
                "key_pass": 1,
                "rating": 6.9034,
                "minutes": 81,
                "total_pass": 16,
                "accurate_pass": 12,
                "duels_won": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 14.0,
                "dispossessed": 1.33,
                "duels_lost": 10,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 21,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.8998,
                  "totalShots": 2.5494,
                  "minutesPlayed": 81.6504,
                  "shotValueNormalized": 0.024,
                  "accuratePass": 11.4718,
                  "expectedAssists": 0.0456
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2670629918575287,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0726
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0247
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0242
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.022
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0179
                        }
                      ],
                      "others": -0.0319,
                      "total": 0.2671,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.223334
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.081794
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.073962
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.067161
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.058224
                        }
                      ],
                      "others_margin": -0.112844
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3692518472671509,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0586
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0425
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0289
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0195
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0148
                        }
                      ],
                      "others": 0.0034,
                      "total": 0.3693,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.1859
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.131337
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.091213
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.057075
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.041236
                        }
                      ],
                      "others_margin": 0.009231
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5594975352287292,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1204
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0564
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0526
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0146
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.014
                        }
                      ],
                      "others": 0.0107,
                      "total": 0.5595,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.228739
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.113783
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.095519
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.025678
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.025272
                        }
                      ],
                      "others_margin": 0.019331
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.9719975352287293,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3589
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.219
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0876
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0491
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0415
                        }
                      ],
                      "others": -0.0441,
                      "total": 1.972,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.358911
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.219042
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.08756
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.049099
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.041455
                        }
                      ],
                      "others_margin": -0.044144
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.032416388392448425,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "aerialLost",
                          "contribution": -0.0068
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0057
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0025
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.002
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0088,
                      "total": 0.0324,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "aerialLost",
                          "margin": -0.120933
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.113805
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.055073
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.046458
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.042552
                        }
                      ],
                      "others_margin": -0.237647
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5264113545417786,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2061
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0295
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0262
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0252
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0177
                        }
                      ],
                      "others": 0.0061,
                      "total": 0.5264,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.362303
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.060669
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.050909
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.048968
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.034617
                        }
                      ],
                      "others_margin": 0.011688
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.903443813323975,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0408
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0367
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.029
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0223
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0214
                        }
                      ],
                      "others": -0.0038,
                      "total": 6.9034,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.040779
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.036675
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.028956
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.022268
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.021397
                        }
                      ],
                      "others_margin": -0.003681
                    }
                  }
                ],
                "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.9898, quality 0.466)",
              "stats": {
                "expected_goals": 0.2643,
                "goal_rate": 0.3655,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0321,
                "key_pass": 1,
                "rating": 6.9034,
                "minutes": 81,
                "total_pass": 15,
                "accurate_pass": 11,
                "duels_won": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 13.8566,
                "dispossessed": 1.3164,
                "duels_lost": 9,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 9,
                "total_progression": 21,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 5300000,
                "quality_factor": 0.4659,
                "boost_factor": 0.9898
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2643,
                "goal_rate": 0.3655,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0321,
                "key_pass": 1,
                "rating": 6.9034,
                "minutes": 81,
                "total_pass": 15,
                "accurate_pass": 11,
                "duels_won": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 13.8566,
                "dispossessed": 1.3164,
                "duels_lost": 9,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 9,
                "total_progression": 21,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.194,
                "goal_rate": 0.2683,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0321,
                "key_pass": 1,
                "rating": 6.9034,
                "minutes": 81,
                "total_pass": 15,
                "accurate_pass": 11,
                "duels_won": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 13.8566,
                "dispossessed": 1.3164,
                "duels_lost": 9,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 9,
                "total_progression": 21,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7341,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Cristian Romero, Marc Pubill",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.7341,
                  "skill_edge": -0.1629,
                  "height_edge": -0.018,
                  "attacker_skill": 0.4659,
                  "defender_skill": 0.8279,
                  "xg_override": 0.194
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.9518,
                  "after": 1.4328
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.398,
                  "after": 1.0263
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5538,
                  "after": 0.4065
                },
                {
                  "stat": "goals",
                  "before": 0.3655,
                  "after": 0.2683
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2643,
                  "after": 0.194
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.2051,
                "goal_rate": 0.2683,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0452,
                "key_pass": 1,
                "rating": 6.9034,
                "minutes": 81,
                "total_pass": 15,
                "accurate_pass": 11,
                "duels_won": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 13.8566,
                "dispossessed": 1.3164,
                "duels_lost": 9,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 9,
                "total_progression": 21,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7341,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.194,
                  "after": 0.2051
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0321,
                  "after": 0.0452
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.2051,
                "goal_rate": 0.2683,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0452,
                "key_pass": 1,
                "rating": 6.9034,
                "minutes": 81,
                "total_pass": 15,
                "accurate_pass": 11,
                "duels_won": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 13.8566,
                "dispossessed": 1.3164,
                "duels_lost": 9,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 9,
                "total_progression": 21,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7341,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2629,
                "fifa_rank": 1550.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2051,
                "goal_rate": 0.2683,
                "goals": 1,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0452,
                "key_pass": 1,
                "rating": 6.9034,
                "minutes": 81,
                "total_pass": 15,
                "accurate_pass": 11,
                "duels_won": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 13.8566,
                "dispossessed": 1.3164,
                "duels_lost": 9,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 9,
                "total_progression": 21,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7341,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.1854,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.1854,
                "scorer_weight": 0.2564,
                "squad_weight_total": 1.0416,
                "weight_share": 0.2461,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.2051,
                "goal_rate": 0.2683,
                "goals": 1,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0452,
                "key_pass": 1,
                "rating": 6.9034,
                "minutes": 81,
                "total_pass": 15,
                "accurate_pass": 11,
                "duels_won": 7,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 37,
                "possession_lost": 13.8566,
                "dispossessed": 1.3164,
                "duels_lost": 9,
                "aerial_lost": 3,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 3,
                "challenges_lost": 0,
                "fouls": 2,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 2,
                "tackles": 2,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 9,
                "total_progression": 21,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "duel_xg_multiplier": 0.7341,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.3,
                "aerial_won": 2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Cristian Romero, Marc Pubill",
                "opponent_faced": "Cristian Romero, Marc Pubill",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.1854,
                "projected_assists": 0,
                "assist_probability": 0.0442,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0442,
                "provider_weight": 0.0362,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0552,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Grégoire Swiderski": {
          "player_id": 1440572,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 0,
          "height": 187,
          "market_value": 240000,
          "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": 3,
            "projected_substitution_expected_count": 2.415,
            "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": null
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": null,
            "combined_rank_score": null,
            "ranking_source": "missing_player_rankings_csv_row",
            "ranking_status": "missing",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": null,
            "fifa_rank": null,
            "fifa_overall": null,
            "fifa_source": null,
            "match_squad_rank": 9,
            "squad_role": "substitute",
            "ranking_match": "none",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Grégoire Swiderski",
            "ranking_neighbors": {
              "upper": [],
              "lower": []
            }
          },
          "data_sources": [
            "market_value",
            "fbref_season"
          ],
          "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",
              "fbref_season"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection from market-value prior (€240,000) scaled to 4.4 expected mins; FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "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": 240000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "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": {
                "blend_weight": 0.0,
                "history_matches": 0,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Alavés"
              }
            },
            {
              "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 for display (match squad rank 9 by projected rating, fifa_overall n/a; not used by the projection)",
              "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": 3,
                "projected_substitution_expected_count": 2.415,
                "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": null
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "missing_player_rankings_csv_row",
                "ranking_status": "missing",
                "ranking_match": "none"
              }
            }
          ]
        },
        "Jonny Otto": {
          "player_id": 235648,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 175,
          "market_value": 2100000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.735,
            "minutes": 14,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 1.1349,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.003,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 8,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "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": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 34,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 6,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_type": "played",
              "match_id": "16416334.0",
              "match_date": "2026-09-15 18: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": "Alavés",
              "away_team": "Valencia",
              "home_score_current": 0.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": "100",
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": "True",
              "team": "Alavés",
              "opponent": "Valencia",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0828,
                "expected_assists": 0.0919,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 47,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 10
              },
              "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": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 80,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0049,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 33,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 4,
                "aerial_won": 2,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0141,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 9,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0135,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0108,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 30,
                "tackles": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 275,
            "combined_rank_score": 212.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 199.0,
            "sofascore_rating": 7.2,
            "sofascore_appearances": 3.0,
            "fifa_rank": 225.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.735,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonny Otto",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Seong-min Hwang",
                  "ranking": 270
                },
                {
                  "player_name": "Anzur Ismoilov",
                  "ranking": 271
                },
                {
                  "player_name": "Juan Cruz Gonzalez",
                  "ranking": 272
                },
                {
                  "player_name": "Matheus Bidu",
                  "ranking": 273
                },
                {
                  "player_name": "Alibek Davronov",
                  "ranking": 274
                }
              ],
              "lower": [
                {
                  "player_name": "Mauricio Isla",
                  "ranking": 276
                },
                {
                  "player_name": "Park Byeong Gyu",
                  "ranking": 277
                },
                {
                  "player_name": "Svetoslav Vutsov",
                  "ranking": 278
                },
                {
                  "player_name": "Negueba",
                  "ranking": 279
                },
                {
                  "player_name": "Léo Ortiz",
                  "ranking": 280
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (6 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.735,
                "minutes": 85,
                "total_pass": 35,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 19,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 52,
                "possession_lost": 7.67,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.02,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 55,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.0162,
                  "defensive_actions": 3.12,
                  "wonTackle": 1.9136,
                  "totalTackle_p90": 2.5021,
                  "totalClearance_p90": 4.1391,
                  "aerialWon": 0.7853
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.723392903804779,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1615
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0851
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0245
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0135
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0105
                        }
                      ],
                      "others": 0.0181,
                      "total": 0.7234,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.197027
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.121832
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.036601
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.019639
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.015052
                        }
                      ],
                      "others_margin": 0.025396
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.616258144378662,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1337
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.103
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0469
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0353
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0147
                        }
                      ],
                      "others": 0.022,
                      "total": 1.6163,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.095723
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.067938
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.029469
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.022096
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.009291
                        }
                      ],
                      "others_margin": 0.013624
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.031373143196106,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": 0.1141
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0528
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0211
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0216
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0159
                        }
                      ],
                      "others": 0.0121,
                      "total": 1.0314,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": 0.129409
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.054702
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.021055
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.021041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.015522
                        }
                      ],
                      "others_margin": 0.011817
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.5700697898864746,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.0787
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1767
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1297
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0629
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0494
                        }
                      ],
                      "others": -0.0317,
                      "total": 2.5701,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.383347
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.073727
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.050859
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.024358
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.019158
                        }
                      ],
                      "others_margin": -0.012228
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5854557156562805,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4883
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2338
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0277
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0279
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0259
                        }
                      ],
                      "others": -0.0435,
                      "total": 0.5855,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.48543
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.355501
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.049414
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.047332
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.042
                        }
                      ],
                      "others_margin": -0.071899
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.35310298204421997,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0532
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0255
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0158
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0104
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0103
                        }
                      ],
                      "others": -0.0491,
                      "total": 0.3531,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053235
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.025518
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.015776
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.010353
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.010321
                        }
                      ],
                      "others_margin": -0.049087
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7350239753723145,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0478
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.017
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0129
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0097
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0093
                        }
                      ],
                      "others": -0.0217,
                      "total": 6.735,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.047823
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.017036
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.012923
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.009672
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.009254
                        }
                      ],
                      "others_margin": -0.021703
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.735,
                "minutes": 85,
                "total_pass": 34,
                "accurate_pass": 29,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 19,
                "total_opp_half_passes": 14,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 7.526,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0196,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 14,
                "total_progression": 54,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.735,
                "minutes": 14,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 1.1349,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.003,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.735,
                "minutes": 14,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 1.1349,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.003,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.735,
                "minutes": 14,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 2,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 8,
                "possession_lost": 1.1349,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.003,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 2,
                "total_progression": 8,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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": 84.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 275,
                "fifa_rank": 225.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            }
          ]
        },
        "Moussa Diarra": {
          "player_id": 985262,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 0,
          "height": 183,
          "market_value": 1800000,
          "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,
            "assist_rate": 0.006,
            "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": 3,
            "projected_substitution_expected_count": 2.415,
            "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": 69.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 5684,
            "combined_rank_score": 3964.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 3.0,
            "fifa_rank": 6969.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Moussa Diarra",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Javi Llabrés",
                  "ranking": 5679
                },
                {
                  "player_name": "Jack Stephens",
                  "ranking": 5680
                },
                {
                  "player_name": "Darko Gyabi",
                  "ranking": 5681
                },
                {
                  "player_name": "Alex Mowatt",
                  "ranking": 5682
                },
                {
                  "player_name": "Miguel Brizuela",
                  "ranking": 5683
                }
              ],
              "lower": [
                {
                  "player_name": "James McConnell",
                  "ranking": 5685
                },
                {
                  "player_name": "Bryan Rabello",
                  "ranking": 5686
                },
                {
                  "player_name": "Jherson Mosquera",
                  "ranking": 5687
                },
                {
                  "player_name": "Luka Ilić",
                  "ranking": 5688
                },
                {
                  "player_name": "Dominic Hyam",
                  "ranking": 5689
                }
              ]
            }
          },
          "data_sources": [
            "market_value",
            "fbref_season"
          ],
          "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",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection from market-value prior (€1,800,000) scaled to 13.6 expected mins; FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "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,
                "assist_rate": 0.04,
                "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": 1800000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "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,
                "assist_rate": 0.04,
                "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": {
                "blend_weight": 0.0,
                "history_matches": 0,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Alavés"
              }
            },
            {
              "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,
                "assist_rate": 0.006,
                "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,
                "assist_rate": 0.006,
                "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 for display (match squad rank 8 by projected rating, fifa_overall 69.0; not used by the projection)",
              "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,
                "assist_rate": 0.006,
                "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": 3,
                "projected_substitution_expected_count": 2.415,
                "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": 69.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5684,
                "fifa_rank": 6969.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            }
          ]
        },
        "Ander Guevara": {
          "player_id": 891931,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 180,
          "market_value": 2700000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0071,
            "assist_rate": 0.0131,
            "assists": 0,
            "expected_goals": 0.0288,
            "goal_rate": 0.0131,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7305,
            "minutes": 22,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 6,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 32,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0076,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3847,
            "combined_rank_score": 1841.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 796.0,
            "sofascore_rating": 6.624,
            "sofascore_appearances": 25.0,
            "fifa_rank": 2886.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7305,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ander Guevara",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Thierry Correia",
                  "ranking": 3842
                },
                {
                  "player_name": "Anthony Rouault",
                  "ranking": 3843
                },
                {
                  "player_name": "Abner Vinícius",
                  "ranking": 3844
                },
                {
                  "player_name": "Saša Kalajdžić",
                  "ranking": 3845
                },
                {
                  "player_name": "Matthis Abline",
                  "ranking": 3846
                }
              ],
              "lower": [
                {
                  "player_name": "Pablo Pagis",
                  "ranking": 3848
                },
                {
                  "player_name": "Jacob Greaves",
                  "ranking": 3849
                },
                {
                  "player_name": "Martial Godo",
                  "ranking": 3850
                },
                {
                  "player_name": "Tomasz Kędziora",
                  "ranking": 3851
                },
                {
                  "player_name": "Kévin Danois",
                  "ranking": 3852
                }
              ]
            }
          },
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (3 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0297,
                "assist_rate": 0.0548,
                "assists": 0,
                "expected_goals": 0.12,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7305,
                "minutes": 34,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 1.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": null
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0,
                  "expectedAssists": 0.0034,
                  "creative_index": 0.1342,
                  "creative_efficiency": 0.0025,
                  "shotValueNormalized": 0.0,
                  "dribbleValueNormalized": 0.0342
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5662904977798462,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1472
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0987
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0414
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0398
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0348
                        }
                      ],
                      "others": -0.0781,
                      "total": 0.5663,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.172929
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.135381
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.062802
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.060403
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.052554
                        }
                      ],
                      "others_margin": -0.129236
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.029681261628866196,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0393
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0026
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0025
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0023
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.009,
                      "total": 0.0297,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.599583
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.055733
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.055697
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.054265
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.044586
                        }
                      ],
                      "others_margin": -0.268183
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05476999282836914,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.013
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0091
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0025
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0024
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.0548,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.166237
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.134199
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.038927
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.037589
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.033507
                        }
                      ],
                      "others_margin": -0.108567
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1200348511338234,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0254
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0106
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0068
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.006
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0049
                        }
                      ],
                      "others": -0.0187,
                      "total": 0.12,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.149548
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.069495
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.047801
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.04414
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.035632
                        }
                      ],
                      "others_margin": -0.144313
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05454643815755844,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0337
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0243
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0061
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0056
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0189,
                      "total": 0.0545,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.258791
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.239202
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.070676
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.069014
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.063969
                        }
                      ],
                      "others_margin": -0.295884
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.13624820113182068,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1259
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0162
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0145
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0095
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0077
                        }
                      ],
                      "others": -0.0274,
                      "total": 0.1362,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.466775
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.079907
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.077271
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.053854
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.045908
                        }
                      ],
                      "others_margin": -0.183166
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4028482011318207,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3504
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0417
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0332
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0297
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.028
                        }
                      ],
                      "others": -0.1523,
                      "total": 0.4028,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.350354
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041691
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.033218
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.029712
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.027951
                        }
                      ],
                      "others_margin": -0.152319
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.73051118850708,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0566
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0362
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0249
                        },
                        {
                          "name": "touches",
                          "contribution": -0.023
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.013
                        }
                      ],
                      "others": -0.0514,
                      "total": 6.7305,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.056551
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.036159
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.024882
                        },
                        {
                          "name": "touches",
                          "margin": -0.023032
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.013032
                        }
                      ],
                      "others_margin": -0.051415
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0291,
                "assist_rate": 0.0537,
                "assists": 0,
                "expected_goals": 0.1178,
                "goal_rate": 0.0535,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7305,
                "minutes": 34,
                "total_pass": 19,
                "accurate_pass": 16,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 6,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0071,
                "assist_rate": 0.0131,
                "assists": 0,
                "expected_goals": 0.0288,
                "goal_rate": 0.0131,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7305,
                "minutes": 22,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.499
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0071,
                "assist_rate": 0.0131,
                "assists": 0,
                "expected_goals": 0.0288,
                "goal_rate": 0.0131,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7305,
                "minutes": 22,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0071,
                "assist_rate": 0.0131,
                "assists": 0,
                "expected_goals": 0.0288,
                "goal_rate": 0.0131,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.7305,
                "minutes": 22,
                "total_pass": 5,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 6,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 4,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3847,
                "fifa_rank": 2886.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Abderrahman Rebbach": {
          "player_id": 1082968,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 176,
          "market_value": 2400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.021,
            "assist_rate": 0.0146,
            "assists": 0,
            "expected_goals": 0.0299,
            "goal_rate": 0.0218,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8098,
            "minutes": 22,
            "total_pass": 6,
            "accurate_pass": 4,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 3.0447,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 22,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0147,
            "projected_assists": 0,
            "assist_probability": 0.0104,
            "finishing_factor": 0.917,
            "creation_factor": 0.9954,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 65,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.009,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 85,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0607,
                "expected_assists": 0.0566,
                "total_shots": 1,
                "total_pass": 27,
                "accurate_pass": 22,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "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": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0643,
                "expected_assists": 0.0109,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 23,
                "accurate_pass": 22,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 10,
                "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": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 15,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 4,
                "clearances": 1,
                "aerial_won": 1,
                "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"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 71,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0275,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 27,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 5,
                "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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 89,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.017,
                "expected_assists": 0.0004,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 8,
                "tackles": 5,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1659,
            "combined_rank_score": 944.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 673.0,
            "sofascore_rating": 6.7241,
            "sofascore_appearances": 30.0,
            "fifa_rank": 1216.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8098,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abderrahman Rebbach",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Khumoyun Sherbutaev",
                  "ranking": 1654
                },
                {
                  "player_name": "Kuvonchbek Khushvaktov",
                  "ranking": 1655
                },
                {
                  "player_name": "Florian Grillitsch",
                  "ranking": 1656
                },
                {
                  "player_name": "Zakaria Labyad",
                  "ranking": 1657
                },
                {
                  "player_name": "Rodrigo Odriozola",
                  "ranking": 1658
                }
              ],
              "lower": [
                {
                  "player_name": "Petar Sučić",
                  "ranking": 1660
                },
                {
                  "player_name": "Giacomo Raspadori",
                  "ranking": 1661
                },
                {
                  "player_name": "Wataru Endo",
                  "ranking": 1662
                },
                {
                  "player_name": "Barış Alper Yılmaz",
                  "ranking": 1663
                },
                {
                  "player_name": "Carlos Soler",
                  "ranking": 1664
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (7 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0624,
                "assist_rate": 0.061,
                "assists": 0,
                "expected_goals": 0.1182,
                "goal_rate": 0.0909,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8098,
                "minutes": 80,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 12.71,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 91,
                "progressive_carries": 2,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.6879,
                  "expectedAssists": 0.0191,
                  "creative_index": 0.0115,
                  "creative_efficiency": 0.0,
                  "shotValueNormalized": -0.0152,
                  "dribbleValueNormalized": 0.1666
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6984809637069702,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.136
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.094
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0535
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0362
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0306
                        }
                      ],
                      "others": 0.0151,
                      "total": 0.6985,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.158749
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.126639
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.07396
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.049519
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.043883
                        }
                      ],
                      "others_margin": 0.022131
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06238459423184395,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0279
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0059
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0031
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.003
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0001,
                      "total": 0.0624,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.385452
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.095068
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.048061
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.047846
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041203
                        }
                      ],
                      "others_margin": -0.003443
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06099823862314224,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0106
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0071
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0034
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0033
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.061,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.133486
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.10031
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.049463
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.048388
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.021626
                        }
                      ],
                      "others_margin": -0.07912
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11818943172693253,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0363
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.011
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0077
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0064
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.005
                        }
                      ],
                      "others": -0.0108,
                      "total": 0.1182,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.221748
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.078362
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.058521
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.049236
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.038208
                        }
                      ],
                      "others_margin": -0.087555
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09088858217000961,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0368
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0215
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0078
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0062
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0042
                        }
                      ],
                      "others": 0.0111,
                      "total": 0.0909,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.285923
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.214817
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.091343
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.078194
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.054334
                        }
                      ],
                      "others_margin": 0.128989
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.21666425466537476,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1199
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0236
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0105
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.005
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0047
                        }
                      ],
                      "others": 0.022,
                      "total": 0.2167,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.439037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.114852
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.052867
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.024673
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.023765
                        }
                      ],
                      "others_margin": 0.106447
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6427803635597229,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.186
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1083
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0562
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0402
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0348
                        }
                      ],
                      "others": -0.0502,
                      "total": 0.6428,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.185952
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.108292
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.056175
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.040189
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.03484
                        }
                      ],
                      "others_margin": -0.050218
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.809782981872559,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.044
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0308
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0202
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.02
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.0262,
                      "total": 6.8098,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.044043
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.030837
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.02022
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.02003
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.010804
                        }
                      ],
                      "others_margin": -0.026145
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0612,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.116,
                "goal_rate": 0.0892,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8098,
                "minutes": 80,
                "total_pass": 23,
                "accurate_pass": 18,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 46,
                "possession_lost": 12.4714,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 89,
                "progressive_carries": 2,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0149,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0283,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.499
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0149,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0283,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.021,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0299,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.917,
                "creation_factor": 0.9954
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 0.499
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0149,
                  "after": 0.021
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.021,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0299,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.917,
                "creation_factor": 0.9954,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1659,
                "fifa_rank": 1216.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.021,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0299,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0147,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.917,
                "creation_factor": 0.9954,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0147,
                "scorer_weight": 0.0137,
                "squad_weight_total": 1.0416,
                "weight_share": 0.0131,
                "finishing_factor": 0.917,
                "appearance_weight": 0.499,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.021,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0299,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0147,
                "projected_assists": 0,
                "assist_probability": 0.0104,
                "finishing_factor": 0.917,
                "creation_factor": 0.9954,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0104,
                "provider_weight": 0.0104,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0159,
                "creation_factor": 0.9954,
                "appearance_weight": 0.499,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Aitor Mañas": {
          "player_id": 1639543,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 185,
          "market_value": 570000,
          "stats": {
            "expected_goals": 0.0767,
            "goal_rate": 0.0396,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0093,
            "key_pass": 0,
            "rating": 6.6425,
            "minutes": 25,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.6204,
            "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,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0413,
            "projected_assists": 0,
            "assist_probability": 0.0052,
            "finishing_factor": 0.8,
            "creation_factor": 0.8834,
            "fifa_overall": 64.0
          },
          "latest_10_games": [
            {
              "match_id": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "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": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 8,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "interceptions": 1,
                "clearances": 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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 57,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 8380,
            "combined_rank_score": 6903.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 873.0,
            "sofascore_rating": 6.55,
            "sofascore_appearances": 2.0,
            "fifa_rank": 12933.0,
            "fifa_overall": 64.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6425,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Mañas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rosen Bozhinov",
                  "ranking": 8375
                },
                {
                  "player_name": "Pedro De la Vega",
                  "ranking": 8376
                },
                {
                  "player_name": "Andrés Herrera",
                  "ranking": 8377
                },
                {
                  "player_name": "Griffin Dorsey",
                  "ranking": 8378
                },
                {
                  "player_name": "Edvard Tagseth",
                  "ranking": 8379
                }
              ],
              "lower": [
                {
                  "player_name": "Tayvon Gray",
                  "ranking": 8381
                },
                {
                  "player_name": "Indiana Vassilev",
                  "ranking": 8382
                },
                {
                  "player_name": "Nkosi Tafari",
                  "ranking": 8383
                },
                {
                  "player_name": "Kenji Cabrera",
                  "ranking": 8384
                },
                {
                  "player_name": "Brian Schwake",
                  "ranking": 8385
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2633,
                "goal_rate": 0.1435,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0239,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 24,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 2.25,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 11.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 21.3188,
                  "shotValueNormalized": 0.0,
                  "accuratePass": 1.1857,
                  "expectedAssists": 0.0002
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.26328423619270325,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0587
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0564
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0274
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0194
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0155
                        }
                      ],
                      "others": -0.0393,
                      "total": 0.2633,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.149932
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.143838
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.078091
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.059304
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.050052
                        }
                      ],
                      "others_margin": -0.138703
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1434759944677353,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0266
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0234
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0112
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0075
                        }
                      ],
                      "others": -0.0363,
                      "total": 0.1435,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.142484
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113387
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.111464
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.05786
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.0407
                        }
                      ],
                      "others_margin": -0.226099
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22245681285858154,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.15
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.1066
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.032
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0158
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0145
                        }
                      ],
                      "others": -0.079,
                      "total": 0.2225,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.294114
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.27831
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.101452
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.051307
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.046949
                        }
                      ],
                      "others_margin": -0.303844
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7103568128585815,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2749
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1267
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.086
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0643
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0542
                        }
                      ],
                      "others": -0.2272,
                      "total": 0.7103,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.274947
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.126683
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.086022
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.064253
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.054156
                        }
                      ],
                      "others_margin": -0.227108
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02387608215212822,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0241
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0041
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0024
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.0239,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.513543
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.161174
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.125842
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.071431
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.06965
                        }
                      ],
                      "others_margin": -0.232299
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4905872046947479,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1399
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.1015
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0443
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0427
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0422
                        }
                      ],
                      "others": -0.1054,
                      "total": 0.4906,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.231101
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.172735
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.07169
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.069314
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.068489
                        }
                      ],
                      "others_margin": -0.194637
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.642463207244873,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0376
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0278
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0254
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0156
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0103
                        }
                      ],
                      "others": -0.0558,
                      "total": 6.6425,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.037601
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.02776
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.025374
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.015618
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010326
                        }
                      ],
                      "others_margin": -0.055819
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.2583,
                "goal_rate": 0.1408,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0234,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 24,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 2.2078,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 570000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0066,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0066,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "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.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0767,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.8,
                "creation_factor": 0.8834
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 64.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0767,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.8,
                "creation_factor": 0.8834,
                "fifa_overall": 64.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 8380,
                "fifa_rank": 12933.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 64.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0767,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0413,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8834,
                "fifa_overall": 64.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0413,
                "scorer_weight": 0.0343,
                "squad_weight_total": 1.0416,
                "weight_share": 0.0329,
                "finishing_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.0767,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0413,
                "projected_assists": 0,
                "assist_probability": 0.0052,
                "finishing_factor": 0.8,
                "creation_factor": 0.8834,
                "fifa_overall": 64.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0052,
                "provider_weight": 0.0046,
                "squad_weight_total": 0.6548,
                "weight_share": 0.007,
                "creation_factor": 0.8834,
                "appearance_weight": 0.559,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Mariano Díaz": {
          "player_id": 175753,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 180,
          "market_value": 285000,
          "stats": {
            "expected_goals": 0.0635,
            "goal_rate": 0.0497,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0163,
            "key_pass": 0,
            "rating": 6.8088,
            "minutes": 25,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 1.3787,
            "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,
            "assist_rate": 0.1186,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 7,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0344,
            "projected_assists": 0,
            "assist_probability": 0.009,
            "finishing_factor": 0.9055,
            "creation_factor": 1.25,
            "fifa_overall": 91.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 65,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0251,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 12,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 23,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0803,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 67,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6386,
                "expected_assists": 0.0026,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 7,
                "accurate_pass": 4,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1401,
                "expected_assists": 0.0025,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 36,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0174,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 5,
                "clearances": 1,
                "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"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 28,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3295,
                "expected_assists": 0.0015,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 3,
                "accurate_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 33,
                "rating": 9.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.185,
                "expected_assists": 0.2275,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 7,
                "accurate_pass": 3,
                "key_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4,
            "combined_rank_score": 7.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 11.0,
            "sofascore_rating": 8.45,
            "sofascore_appearances": 2.0,
            "fifa_rank": 3.0,
            "fifa_overall": 91.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8088,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mariano Díaz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lamine Yamal",
                  "ranking": 1
                },
                {
                  "player_name": "Kylian Mbappé",
                  "ranking": 2
                },
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                }
              ],
              "lower": [
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (7 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.218,
                "goal_rate": 0.1804,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0422,
                "key_pass": 1,
                "rating": 6.8088,
                "minutes": 46,
                "total_pass": 7,
                "accurate_pass": 5,
                "duels_won": 3,
                "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": 15,
                "possession_lost": 5.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.43,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 26,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 33.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 9.2
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.9766,
                  "totalShots": 1.0598,
                  "minutesPlayed": 48.6197,
                  "shotValueNormalized": 0.1061,
                  "accuratePass": 6.0297,
                  "expectedAssists": 0.0425
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.21797823905944824,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0534
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0295
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0154
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0145
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0519,
                      "total": 0.218,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.159289
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.100444
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.05658
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.053524
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.032588
                        }
                      ],
                      "others_margin": -0.213519
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.18043403327465057,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0312
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0254
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.014
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0109
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.007
                        }
                      ],
                      "others": -0.0395,
                      "total": 0.1804,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.115156
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.104632
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.062876
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.049101
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.031223
                        }
                      ],
                      "others_margin": -0.198011
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4502612054347992,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.12
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0829
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.056
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0238
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0191
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.4503,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.227913
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.162918
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.107106
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.04918
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.041272
                        }
                      ],
                      "others_margin": -0.005713
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1289612054347993,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1068
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0742
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0523
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0517
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0438
                        }
                      ],
                      "others": -0.0821,
                      "total": 1.1289,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.10675
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.074228
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.052287
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.051746
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.043791
                        }
                      ],
                      "others_margin": -0.082031
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04219615086913109,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0073
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0019
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0017
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0015
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0013
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.0422,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.128999
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.03465
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.031215
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.028296
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.026433
                        }
                      ],
                      "others_margin": -0.17251
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5732042789459229,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1491
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.1004
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0454
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0424
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0235
                        }
                      ],
                      "others": -0.0298,
                      "total": 0.5732,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.248286
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.173746
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.074775
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.07001
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.03828
                        }
                      ],
                      "others_margin": -0.050645
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.808849334716797,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0434
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0325
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0232
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.023
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0221
                        }
                      ],
                      "others": -0.0394,
                      "total": 6.8088,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.043424
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.032481
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.023164
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.023025
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.022143
                        }
                      ],
                      "others_margin": -0.039338
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.2139,
                "goal_rate": 0.177,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0414,
                "key_pass": 1,
                "rating": 6.8088,
                "minutes": 46,
                "total_pass": 7,
                "accurate_pass": 5,
                "duels_won": 3,
                "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": 15,
                "possession_lost": 4.9061,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.4219,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 25,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 285000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0601,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0116,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0601,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0116,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "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.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0163,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.9055,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 91.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0163,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.9055,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 4,
                "fifa_rank": 3.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 91.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0163,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0344,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9055,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0344,
                "scorer_weight": 0.0321,
                "squad_weight_total": 1.0416,
                "weight_share": 0.0309,
                "finishing_factor": 0.9055,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0163,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0344,
                "projected_assists": 0,
                "assist_probability": 0.009,
                "finishing_factor": 0.9055,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.009,
                "provider_weight": 0.0114,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0174,
                "creation_factor": 1.25,
                "appearance_weight": 0.559,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Aitor Mañas": {
          "player_id": 1639543,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 185,
          "market_value": 570000,
          "stats": {
            "expected_goals": 0.0767,
            "goal_rate": 0.0396,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0093,
            "key_pass": 0,
            "rating": 6.6425,
            "minutes": 25,
            "total_pass": 0,
            "accurate_pass": 0,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 0,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 2,
            "possession_lost": 0.6204,
            "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,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0413,
            "projected_assists": 0,
            "assist_probability": 0.0052,
            "finishing_factor": 0.8,
            "creation_factor": 0.8834,
            "fifa_overall": 64.0
          },
          "latest_10_games": [
            {
              "match_id": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "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": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "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": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 8,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "interceptions": 1,
                "clearances": 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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 57,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 8380,
            "combined_rank_score": 6903.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 873.0,
            "sofascore_rating": 6.55,
            "sofascore_appearances": 2.0,
            "fifa_rank": 12933.0,
            "fifa_overall": 64.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6425,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Mañas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rosen Bozhinov",
                  "ranking": 8375
                },
                {
                  "player_name": "Pedro De la Vega",
                  "ranking": 8376
                },
                {
                  "player_name": "Andrés Herrera",
                  "ranking": 8377
                },
                {
                  "player_name": "Griffin Dorsey",
                  "ranking": 8378
                },
                {
                  "player_name": "Edvard Tagseth",
                  "ranking": 8379
                }
              ],
              "lower": [
                {
                  "player_name": "Tayvon Gray",
                  "ranking": 8381
                },
                {
                  "player_name": "Indiana Vassilev",
                  "ranking": 8382
                },
                {
                  "player_name": "Nkosi Tafari",
                  "ranking": 8383
                },
                {
                  "player_name": "Kenji Cabrera",
                  "ranking": 8384
                },
                {
                  "player_name": "Brian Schwake",
                  "ranking": 8385
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2633,
                "goal_rate": 0.1435,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0239,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 24,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 2.25,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 11.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.0,
                  "totalShots": 0.0,
                  "minutesPlayed": 21.3188,
                  "shotValueNormalized": 0.0,
                  "accuratePass": 1.1857,
                  "expectedAssists": 0.0002
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.26328423619270325,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0587
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0564
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0274
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0194
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0155
                        }
                      ],
                      "others": -0.0393,
                      "total": 0.2633,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.149932
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.143838
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.078091
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.059304
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.050052
                        }
                      ],
                      "others_margin": -0.138703
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1434759944677353,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0266
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0234
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0112
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0075
                        }
                      ],
                      "others": -0.0363,
                      "total": 0.1435,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.142484
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113387
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.111464
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.05786
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.0407
                        }
                      ],
                      "others_margin": -0.226099
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22245681285858154,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.15
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.1066
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.032
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0158
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0145
                        }
                      ],
                      "others": -0.079,
                      "total": 0.2225,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.294114
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.27831
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.101452
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.051307
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.046949
                        }
                      ],
                      "others_margin": -0.303844
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7103568128585815,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2749
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1267
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.086
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0643
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0542
                        }
                      ],
                      "others": -0.2272,
                      "total": 0.7103,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.274947
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.126683
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.086022
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.064253
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.054156
                        }
                      ],
                      "others_margin": -0.227108
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02387608215212822,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0241
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0041
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0024
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.0239,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.513543
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.161174
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.125842
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.071431
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.06965
                        }
                      ],
                      "others_margin": -0.232299
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4905872046947479,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1399
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.1015
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0443
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0427
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0422
                        }
                      ],
                      "others": -0.1054,
                      "total": 0.4906,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.231101
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.172735
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.07169
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.069314
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.068489
                        }
                      ],
                      "others_margin": -0.194637
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.642463207244873,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0376
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0278
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0254
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0156
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0103
                        }
                      ],
                      "others": -0.0558,
                      "total": 6.6425,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.037601
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.02776
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.025374
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.015618
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010326
                        }
                      ],
                      "others_margin": -0.055819
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.2583,
                "goal_rate": 0.1408,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0234,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 24,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 2.2078,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 570000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0066,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0066,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "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.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0767,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.8,
                "creation_factor": 0.8834
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 64.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0767,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.8,
                "creation_factor": 0.8834,
                "fifa_overall": 64.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 8380,
                "fifa_rank": 12933.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 64.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0767,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0413,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8834,
                "fifa_overall": 64.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0413,
                "scorer_weight": 0.0343,
                "squad_weight_total": 1.0416,
                "weight_share": 0.0329,
                "finishing_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.0767,
                "goal_rate": 0.0396,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0093,
                "key_pass": 0,
                "rating": 6.6425,
                "minutes": 25,
                "total_pass": 0,
                "accurate_pass": 0,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 0,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 2,
                "possession_lost": 0.6204,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0413,
                "projected_assists": 0,
                "assist_probability": 0.0052,
                "finishing_factor": 0.8,
                "creation_factor": 0.8834,
                "fifa_overall": 64.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0052,
                "provider_weight": 0.0046,
                "squad_weight_total": 0.6548,
                "weight_share": 0.007,
                "creation_factor": 0.8834,
                "appearance_weight": 0.559,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Mariano Díaz": {
          "player_id": 175753,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 180,
          "market_value": 285000,
          "stats": {
            "expected_goals": 0.0635,
            "goal_rate": 0.0497,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.0163,
            "key_pass": 0,
            "rating": 6.8088,
            "minutes": 25,
            "total_pass": 2,
            "accurate_pass": 1,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 4,
            "possession_lost": 1.3787,
            "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,
            "assist_rate": 0.1186,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 7,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0344,
            "projected_assists": 0,
            "assist_probability": 0.009,
            "finishing_factor": 0.9055,
            "creation_factor": 1.25,
            "fifa_overall": 91.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 65,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0251,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 12,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 23,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0803,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 67,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6386,
                "expected_assists": 0.0026,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 7,
                "accurate_pass": 4,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1401,
                "expected_assists": 0.0025,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 36,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0174,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 5,
                "clearances": 1,
                "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"
            },
            {
              "match_id": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 28,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3295,
                "expected_assists": 0.0015,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 3,
                "accurate_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 33,
                "rating": 9.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.185,
                "expected_assists": 0.2275,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 7,
                "accurate_pass": 3,
                "key_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4,
            "combined_rank_score": 7.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 11.0,
            "sofascore_rating": 8.45,
            "sofascore_appearances": 2.0,
            "fifa_rank": 3.0,
            "fifa_overall": 91.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8088,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mariano Díaz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lamine Yamal",
                  "ranking": 1
                },
                {
                  "player_name": "Kylian Mbappé",
                  "ranking": 2
                },
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                }
              ],
              "lower": [
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (7 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.218,
                "goal_rate": 0.1804,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0422,
                "key_pass": 1,
                "rating": 6.8088,
                "minutes": 46,
                "total_pass": 7,
                "accurate_pass": 5,
                "duels_won": 3,
                "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": 15,
                "possession_lost": 5.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.43,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 26,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 33.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 9.2
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 0.9766,
                  "totalShots": 1.0598,
                  "minutesPlayed": 48.6197,
                  "shotValueNormalized": 0.1061,
                  "accuratePass": 6.0297,
                  "expectedAssists": 0.0425
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.21797823905944824,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0534
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0295
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0154
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0145
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0519,
                      "total": 0.218,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.159289
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.100444
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.05658
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.053524
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.032588
                        }
                      ],
                      "others_margin": -0.213519
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.18043403327465057,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0312
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0254
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.014
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0109
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.007
                        }
                      ],
                      "others": -0.0395,
                      "total": 0.1804,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.115156
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.104632
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.062876
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.049101
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.031223
                        }
                      ],
                      "others_margin": -0.198011
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4502612054347992,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.12
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0829
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.056
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0238
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0191
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.4503,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.227913
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.162918
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.107106
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.04918
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.041272
                        }
                      ],
                      "others_margin": -0.005713
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1289612054347993,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1068
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0742
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0523
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0517
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0438
                        }
                      ],
                      "others": -0.0821,
                      "total": 1.1289,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.10675
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.074228
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.052287
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.051746
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.043791
                        }
                      ],
                      "others_margin": -0.082031
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04219615086913109,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0073
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0019
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0017
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0015
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0013
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.0422,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.128999
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.03465
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.031215
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.028296
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.026433
                        }
                      ],
                      "others_margin": -0.17251
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5732042789459229,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1491
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.1004
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0454
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0424
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0235
                        }
                      ],
                      "others": -0.0298,
                      "total": 0.5732,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.248286
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.173746
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.074775
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.07001
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.03828
                        }
                      ],
                      "others_margin": -0.050645
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.808849334716797,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0434
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0325
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0232
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.023
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0221
                        }
                      ],
                      "others": -0.0394,
                      "total": 6.8088,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.043424
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.032481
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.023164
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.023025
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.022143
                        }
                      ],
                      "others_margin": -0.039338
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "expected_goals": 0.2139,
                "goal_rate": 0.177,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0414,
                "key_pass": 1,
                "rating": 6.8088,
                "minutes": 46,
                "total_pass": 7,
                "accurate_pass": 5,
                "duels_won": 3,
                "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": 15,
                "possession_lost": 4.9061,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.4219,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 25,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 285000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0601,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0116,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0601,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0116,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "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.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0163,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.9055,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 91.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0163,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.9055,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 4,
                "fifa_rank": 3.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 91.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0163,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0344,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9055,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0344,
                "scorer_weight": 0.0321,
                "squad_weight_total": 1.0416,
                "weight_share": 0.0309,
                "finishing_factor": 0.9055,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.0635,
                "goal_rate": 0.0497,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "expected_assists": 0.0163,
                "key_pass": 0,
                "rating": 6.8088,
                "minutes": 25,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 1,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 4,
                "possession_lost": 1.3787,
                "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,
                "assist_rate": 0.1186,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 7,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0344,
                "projected_assists": 0,
                "assist_probability": 0.009,
                "finishing_factor": 0.9055,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.009,
                "provider_weight": 0.0114,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0174,
                "creation_factor": 1.25,
                "appearance_weight": 0.559,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Abderrahman Rebbach": {
          "player_id": 1082968,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 176,
          "market_value": 2400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.021,
            "assist_rate": 0.0146,
            "assists": 0,
            "expected_goals": 0.0299,
            "goal_rate": 0.0218,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8098,
            "minutes": 22,
            "total_pass": 6,
            "accurate_pass": 4,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 0,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 3.0447,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 22,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.499,
            "bench_expected_minutes": 21.97,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.415,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0147,
            "projected_assists": 0,
            "assist_probability": 0.0104,
            "finishing_factor": 0.917,
            "creation_factor": 0.9954,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416337.0,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 65,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.009,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334.0,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 85,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0607,
                "expected_assists": 0.0566,
                "total_shots": 1,
                "total_pass": 27,
                "accurate_pass": 22,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "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": 16416328.0,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0643,
                "expected_assists": 0.0109,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 23,
                "accurate_pass": 22,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 10,
                "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": 16416318.0,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 15,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 4,
                "clearances": 1,
                "aerial_won": 1,
                "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"
            },
            {
              "match_id": 16416290.0,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 71,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 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": 16416292.0,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0275,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 27,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 5,
                "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": 16421047.0,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 89,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.017,
                "expected_assists": 0.0004,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 8,
                "tackles": 5,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1659,
            "combined_rank_score": 944.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 673.0,
            "sofascore_rating": 6.7241,
            "sofascore_appearances": 30.0,
            "fifa_rank": 1216.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8098,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abderrahman Rebbach",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Khumoyun Sherbutaev",
                  "ranking": 1654
                },
                {
                  "player_name": "Kuvonchbek Khushvaktov",
                  "ranking": 1655
                },
                {
                  "player_name": "Florian Grillitsch",
                  "ranking": 1656
                },
                {
                  "player_name": "Zakaria Labyad",
                  "ranking": 1657
                },
                {
                  "player_name": "Rodrigo Odriozola",
                  "ranking": 1658
                }
              ],
              "lower": [
                {
                  "player_name": "Petar Sučić",
                  "ranking": 1660
                },
                {
                  "player_name": "Giacomo Raspadori",
                  "ranking": 1661
                },
                {
                  "player_name": "Wataru Endo",
                  "ranking": 1662
                },
                {
                  "player_name": "Barış Alper Yılmaz",
                  "ranking": 1663
                },
                {
                  "player_name": "Carlos Soler",
                  "ranking": 1664
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.4987373721618749,
            "market_value_adjustment": 0.9812,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (7 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0624,
                "assist_rate": 0.061,
                "assists": 0,
                "expected_goals": 0.1182,
                "goal_rate": 0.0909,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8098,
                "minutes": 80,
                "total_pass": 24,
                "accurate_pass": 19,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 12.71,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 91,
                "progressive_carries": 2,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.6879,
                  "expectedAssists": 0.0191,
                  "creative_index": 0.0115,
                  "creative_efficiency": 0.0,
                  "shotValueNormalized": -0.0152,
                  "dribbleValueNormalized": 0.1666
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6984809637069702,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.136
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.094
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0535
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0362
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0306
                        }
                      ],
                      "others": 0.0151,
                      "total": 0.6985,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.158749
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.126639
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.07396
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.049519
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.043883
                        }
                      ],
                      "others_margin": 0.022131
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06238459423184395,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0279
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0059
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0031
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.003
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0001,
                      "total": 0.0624,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.385452
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.095068
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.048061
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.047846
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041203
                        }
                      ],
                      "others_margin": -0.003443
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06099823862314224,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0106
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0071
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0034
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0033
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.061,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.133486
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.10031
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.049463
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.048388
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.021626
                        }
                      ],
                      "others_margin": -0.07912
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11818943172693253,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0363
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.011
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0077
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0064
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.005
                        }
                      ],
                      "others": -0.0108,
                      "total": 0.1182,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.221748
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.078362
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.058521
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.049236
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.038208
                        }
                      ],
                      "others_margin": -0.087555
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09088858217000961,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0368
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0215
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0078
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0062
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0042
                        }
                      ],
                      "others": 0.0111,
                      "total": 0.0909,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.285923
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.214817
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.091343
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.078194
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.054334
                        }
                      ],
                      "others_margin": 0.128989
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.21666425466537476,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1199
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0236
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0105
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.005
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0047
                        }
                      ],
                      "others": 0.022,
                      "total": 0.2167,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.439037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.114852
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.052867
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.024673
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.023765
                        }
                      ],
                      "others_margin": 0.106447
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6427803635597229,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.186
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1083
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0562
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0402
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0348
                        }
                      ],
                      "others": -0.0502,
                      "total": 0.6428,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.185952
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.108292
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.056175
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.040189
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.03484
                        }
                      ],
                      "others_margin": -0.050218
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.809782981872559,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.044
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0308
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0202
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.02
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.0262,
                      "total": 6.8098,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.044043
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.030837
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.02022
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.02003
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.010804
                        }
                      ],
                      "others_margin": -0.026145
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9812, quality 0.437)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0612,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.116,
                "goal_rate": 0.0892,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8098,
                "minutes": 80,
                "total_pass": 23,
                "accurate_pass": 18,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 46,
                "possession_lost": 12.4714,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 89,
                "progressive_carries": 2,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 2400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9812
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0149,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0283,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "appearance_probability": 0.499
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0149,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0283,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.06 (squad xG sum 1.0038, xG scale 1.0570, xA scale 1.4068, team xA 0.69 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.021,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0299,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.917,
                "creation_factor": 0.9954
              },
              "params": {
                "team_lambda": 1.061,
                "squad_xg_sum": 1.0038,
                "squad_xa_sum": 0.4902,
                "team_expected_assists": 0.6896,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.057,
                "xa_scale": 1.4068,
                "opponent_lambda": 2.778,
                "scoreline_reset": true,
                "appearance_weight": 0.499
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0149,
                  "after": 0.021
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.021,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0299,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "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,
                "finishing_factor": 0.917,
                "creation_factor": 0.9954,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1659,
                "fifa_rank": 1216.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.021,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0299,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0147,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.917,
                "creation_factor": 0.9954,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0147,
                "scorer_weight": 0.0137,
                "squad_weight_total": 1.0416,
                "weight_share": 0.0131,
                "finishing_factor": 0.917,
                "appearance_weight": 0.499,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lucas Boyé",
                    "weight": 0.2564,
                    "already": 0,
                    "effective_weight": 0.2564,
                    "runner_up": "Ángel Pérez",
                    "runner_up_effective_weight": 0.1664
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.021,
                "assist_rate": 0.0146,
                "assists": 0,
                "expected_goals": 0.0299,
                "goal_rate": 0.0218,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8098,
                "minutes": 22,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 1,
                "total_long_balls": 1,
                "accurate_long_balls": 0,
                "total_own_half_passes": 3,
                "accurate_own_half_passes": 3,
                "total_opp_half_passes": 3,
                "accurate_opp_half_passes": 0,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 11,
                "possession_lost": 3.0447,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 3,
                "total_progression": 22,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.499,
                "bench_expected_minutes": 21.97,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.415,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0147,
                "projected_assists": 0,
                "assist_probability": 0.0104,
                "finishing_factor": 0.917,
                "creation_factor": 0.9954,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0104,
                "provider_weight": 0.0104,
                "squad_weight_total": 0.6548,
                "weight_share": 0.0159,
                "creation_factor": 0.9954,
                "appearance_weight": 0.499,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.186,
                    "already": 0,
                    "effective_weight": 0.186,
                    "runner_up": "Antonio Blanco",
                    "runner_up_effective_weight": 0.0797,
                    "blocked_own_goal": [
                      "Lucas Boyé"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.06,
        "expected_assists": 0.69,
        "total_shots": 5,
        "shots_on_target": 2,
        "total_passes": 211,
        "interceptions": 3,
        "tackles": 6,
        "avg_rating": 6.83,
        "possession_estimated_pct": 46.1,
        "pressing_actions_per_90": 6.2
      }
    },
    "Atl. Madrid": {
      "formation": "3-5-2",
      "players": {
        "Jan Oblak": {
          "player_id": 69768,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 189,
          "market_value": 16000000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.2187,
            "rating": 6.9564,
            "minutes": 90,
            "total_pass": 29,
            "accurate_pass": 22,
            "duels_won": 0,
            "total_long_balls": 12,
            "accurate_long_balls": 5,
            "touches": 37,
            "clearances": 0,
            "ball_recovery": 9,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 7.6306,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 20,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "total_shots": 0,
            "shots_on_target": 0,
            "goalsAgainst": 1.0,
            "shotsOnTargetAgainst": 4.0,
            "cleanSheets": 0.3333,
            "interceptions": 0,
            "tackles_won": 0,
            "crosses_total": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "penaltySave": 0.0,
            "ownGoals": 0.0,
            "savePct": 75.0,
            "cleanSheetPct": 33.3,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 1.33,
            "gk_engine_opponent_lambda": 1.242,
            "shots_faced": 10.1,
            "expected_saves": 2.47,
            "high_pressure_saves": 0.85,
            "opponent_faced": "Lucas Boyé, Toni Martínez",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 88.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 19,
                "clearances": 1,
                "ball_recovery": 13,
                "saves": 2,
                "goals_prevented": -0.5685
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 22,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": 0.3059
              },
              "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": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 24,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 10,
                "saves": 3,
                "goals_prevented": 0.4909
              },
              "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 5.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 15,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": -1.7703
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 22,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": -0.3214
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 25,
                "ball_recovery": 9,
                "saves": 4,
                "goals_prevented": 0.9056
              },
              "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": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 22,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": 0.0174
              },
              "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": 121,
            "combined_rank_score": 112.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 180.0,
            "sofascore_rating": 7.2333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 45.0,
            "fifa_overall": 88.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9564,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jan Oblak",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Viktor Gyökeres",
                  "ranking": 116
                },
                {
                  "player_name": "Matías Zaldivia",
                  "ranking": 117
                },
                {
                  "player_name": "Adrián de la Fuente",
                  "ranking": 118
                },
                {
                  "player_name": "Jaylan Hankins",
                  "ranking": 119
                },
                {
                  "player_name": "Marquinhos",
                  "ranking": 120
                }
              ],
              "lower": [
                {
                  "player_name": "Morgan Rogers",
                  "ranking": 122
                },
                {
                  "player_name": "Joan García",
                  "ranking": 123
                },
                {
                  "player_name": "Bruno Henrique",
                  "ranking": 124
                },
                {
                  "player_name": "Jung Seung-bae",
                  "ranking": 125
                },
                {
                  "player_name": "Alexander Badolato",
                  "ranking": 126
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.718,
          "history_matches": 7,
          "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": 7,
            "data_confidence": 0.718,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.027,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "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 7 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, 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.2129,
                "rating": 6.9564,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 21,
                "duels_won": 0,
                "total_long_balls": 11,
                "accurate_long_balls": 4,
                "touches": 36,
                "clearances": 0,
                "ball_recovery": 8,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 7.43,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 19
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 4,
                  "trained_at": "2026-09-29T10:01:45.250339+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 135,
                    "rows": 3738
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 5.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "save_contribution": 2.0027,
                  "goalkeeperValueNormalized": -0.0611,
                  "sweeper_actions_p90": 0.2428,
                  "possessionLostCtrl": 7.618,
                  "accurateKeeperSweeper": 0.2428,
                  "accurateLongBalls": 4.6295
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.878840684890747,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0645
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0523
                      },
                      {
                        "name": "saves",
                        "importance": 0.0514
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0475
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0445
                      }
                    ],
                    "decomposition": {
                      "base": 2.9861,
                      "items": [
                        {
                          "name": "save_contribution",
                          "contribution": -0.0755
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0425
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0395
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0304
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0251
                        }
                      ],
                      "others": -0.0341,
                      "total": 2.8788,
                      "log_link": true,
                      "margin_base": 1.093963,
                      "item_margins": [
                        {
                          "name": "save_contribution",
                          "margin": -0.025601
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.014726
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.013662
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.010407
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.008597
                        }
                      ],
                      "others_margin": -0.011721
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.21291787922382355,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0582
                      },
                      {
                        "name": "punches",
                        "importance": 0.0515
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.051
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0478
                      },
                      {
                        "name": "touches",
                        "importance": 0.043
                      }
                    ],
                    "decomposition": {
                      "base": -0.0455,
                      "items": [
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0543
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0499
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0407
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0296
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0273
                        }
                      ],
                      "others": 0.0344,
                      "total": -0.2129,
                      "log_link": false,
                      "margin_base": -0.045465,
                      "item_margins": [
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.054269
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.04994
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.040673
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.029564
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.027261
                        }
                      ],
                      "others_margin": 0.034255
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9564080238342285,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.075
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0537
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0529
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0478
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 7.0878,
                      "items": [
                        {
                          "name": "save_contribution",
                          "contribution": -0.0619
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0481
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0449
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0416
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": -0.0354
                        }
                      ],
                      "others": 0.0107,
                      "total": 6.9564,
                      "log_link": false,
                      "margin_base": 7.087778,
                      "item_margins": [
                        {
                          "name": "save_contribution",
                          "margin": -0.061895
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.048052
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.044933
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.041572
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "margin": -0.035413
                        }
                      ],
                      "others_margin": 0.010628
                    }
                  }
                ],
                "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.0270, quality 0.590)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2187,
                "rating": 6.9564,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 22,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 7.6306,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 20
              },
              "params": {
                "market_value_eur": 16000000,
                "quality_factor": 0.59,
                "boost_factor": 1.027
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0542)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2187,
                "rating": 6.9564,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 22,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 7.6306,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 20,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.0,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33
              },
              "params": {
                "blend_weight": 0.0542,
                "history_matches": 7,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0181
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2187,
                "rating": 6.9564,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 22,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 7.6306,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 20,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.0,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.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.2187,
                "rating": 6.9564,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 22,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 7.6306,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 20,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.0,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "gk_engine_opponent_lambda": 1.242,
                "shots_faced": 11.8,
                "expected_saves": 2.89,
                "high_pressure_saves": 0.99,
                "opponent_faced": "Lucas Boyé, Toni Martínez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lucas Boyé, Toni Martínez",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.242
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2187,
                "rating": 6.9564,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 22,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 7.6306,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 20,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.0,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "gk_engine_opponent_lambda": 1.242,
                "shots_faced": 10.1,
                "expected_saves": 2.47,
                "high_pressure_saves": 0.85,
                "opponent_faced": "Lucas Boyé, Toni Martínez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 11.8,
                  "after": 10.1
                },
                {
                  "stat": "expected_saves",
                  "before": 2.89,
                  "after": 2.47
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.99,
                  "after": 0.85
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 88.0; not used by the projection)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2187,
                "rating": 6.9564,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 22,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 7.6306,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 20,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.0,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "gk_engine_opponent_lambda": 1.242,
                "shots_faced": 10.1,
                "expected_saves": 2.47,
                "high_pressure_saves": 0.85,
                "opponent_faced": "Lucas Boyé, Toni Martínez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 88.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 121,
                "fifa_rank": 45.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 88.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2187,
                "rating": 6.9564,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 22,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 7.6306,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 20,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.0,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "gk_engine_opponent_lambda": 1.242,
                "shots_faced": 10.1,
                "expected_saves": 2.47,
                "high_pressure_saves": 0.85,
                "opponent_faced": "Lucas Boyé, Toni Martínez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "saves": 3,
                "goals_prevented": -0.2187,
                "rating": 6.9564,
                "minutes": 90,
                "total_pass": 29,
                "accurate_pass": 22,
                "duels_won": 0,
                "total_long_balls": 12,
                "accurate_long_balls": 5,
                "touches": 37,
                "clearances": 0,
                "ball_recovery": 9,
                "high_claims": 0,
                "punches": 0.0,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 7.6306,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 20,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "shots_on_target": 0,
                "goalsAgainst": 1.0,
                "shotsOnTargetAgainst": 4.0,
                "cleanSheets": 0.3333,
                "interceptions": 0,
                "tackles_won": 0,
                "crosses_total": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "penaltySave": 0.0,
                "ownGoals": 0.0,
                "savePct": 75.0,
                "cleanSheetPct": 33.3,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "gk_engine_opponent_lambda": 1.242,
                "shots_faced": 10.1,
                "expected_saves": 2.47,
                "high_pressure_saves": 0.85,
                "opponent_faced": "Lucas Boyé, Toni Martínez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Cristian Romero": {
          "player_id": 829932,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 21,
          "height": 185,
          "market_value": 46000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 7.0609,
            "minutes": 70,
            "total_pass": 56,
            "accurate_pass": 52,
            "duels_won": 5,
            "total_long_balls": 5,
            "accurate_long_balls": 4,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 28,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 23,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 69,
            "possession_lost": 5.1901,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.064,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 23,
            "total_progression": 145,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Toni Martínez",
            "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.062,
            "finishing_factor": 1.0,
            "creation_factor": 0.8,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 89,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0716,
                "expected_assists": 0.014,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 56,
                "accurate_pass": 54,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 68,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1119,
                "expected_assists": 0.0237,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 3,
                "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"
            },
            {
              "match_id": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0446,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 49,
                "tackles": 1,
                "clearances": 11,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 31,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1759,
                "expected_assists": 0.0216,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 35,
                "accurate_pass": 33,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 332,
            "combined_rank_score": 222.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 72.0,
            "sofascore_rating": 7.58,
            "sofascore_appearances": 5.0,
            "fifa_rank": 372.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0609,
            "source_file": "data/player_rankings.csv",
            "player_name": "Cristian Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Diego Murillo",
                  "ranking": 327
                },
                {
                  "player_name": "Boubacar Kamara",
                  "ranking": 328
                },
                {
                  "player_name": "Min-woo Kim",
                  "ranking": 329
                },
                {
                  "player_name": "Juan Berrocal",
                  "ranking": 330
                },
                {
                  "player_name": "Marcos Senesi",
                  "ranking": 331
                }
              ],
              "lower": [
                {
                  "player_name": "Alejandro Iturbe",
                  "ranking": 333
                },
                {
                  "player_name": "Oyarzabal",
                  "ranking": 334
                },
                {
                  "player_name": "Manuel Akanji",
                  "ranking": 335
                },
                {
                  "player_name": "Phil Foden",
                  "ranking": 336
                },
                {
                  "player_name": "Charles Aránguiz",
                  "ranking": 337
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0927,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 4 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 7.0609,
                "minutes": 70,
                "total_pass": 51,
                "accurate_pass": 48,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 4,
                "total_own_half_passes": 27,
                "accurate_own_half_passes": 26,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 63,
                "possession_lost": 4.75,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 21,
                "total_progression": 133,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.7422,
                  "defensive_actions": 1.3408,
                  "wonTackle": 0.8002,
                  "totalTackle_p90": 1.2858,
                  "totalClearance_p90": 5.382,
                  "aerialWon": 1.7602
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6931318640708923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.1394
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1158
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0236
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0169
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.015
                        }
                      ],
                      "others": -0.0106,
                      "total": 0.6931,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.167638
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.164308
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.035796
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.024817
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.021506
                        }
                      ],
                      "others_margin": -0.015078
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.170825719833374,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": -0.084
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0436
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0364
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0317
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.019
                        }
                      ],
                      "others": 0.0162,
                      "total": 1.1708,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": -0.065141
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.035596
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.030716
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.02751
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.016565
                        }
                      ],
                      "others_margin": 0.013941
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6869423389434814,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.142
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0278
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0238
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.02
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.019
                        }
                      ],
                      "others": 0.0083,
                      "total": 0.6869,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.188694
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.041574
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.035631
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.029842
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.028348
                        }
                      ],
                      "others_margin": 0.012238
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.040709018707275,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.378
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.17
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0452
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0395
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0344
                        }
                      ],
                      "others": 0.0764,
                      "total": 4.0407,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.105789
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.044156
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.011548
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.010113
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.008706
                        }
                      ],
                      "others_margin": 0.019081
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.478627324104309,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.1226
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1017
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0652
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0605
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0597
                        }
                      ],
                      "others": 0.1221,
                      "total": 1.4786,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.092161
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.075834
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.04926
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.043644
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.043102
                        }
                      ],
                      "others_margin": 0.086266
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5072,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.037
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0211
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0167
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0159
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.015
                        }
                      ],
                      "others": -0.0111,
                      "total": 0.5072,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.037031
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.021132
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.016691
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.015918
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.014993
                        }
                      ],
                      "others_margin": -0.011283
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.060883045196533,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0659
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0436
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.041
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0252
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.021
                        }
                      ],
                      "others": 0.1064,
                      "total": 7.0609,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.06587
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.0436
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.040985
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.02524
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.020985
                        }
                      ],
                      "others_margin": 0.106412
                    }
                  }
                ],
                "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": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 7.0609,
                "minutes": 70,
                "total_pass": 56,
                "accurate_pass": 52,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 4,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 5.1901,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0328,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 145,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 46000000,
                "quality_factor": 0.8089,
                "boost_factor": 1.0927
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 7.0609,
                "minutes": 70,
                "total_pass": 56,
                "accurate_pass": 52,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 4,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 5.1901,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0328,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 145,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "blend_weight": 0.0,
                "history_matches": 4,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              }
            },
            {
              "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": 2,
                "total_shots": 1,
                "rating": 7.0609,
                "minutes": 70,
                "total_pass": 56,
                "accurate_pass": 52,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 4,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 5.1901,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0328,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 145,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 7.0609,
                "minutes": 70,
                "total_pass": 56,
                "accurate_pass": 52,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 4,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 5.1901,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0328,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 145,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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": "Toni Martínez",
                  "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 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 7.0609,
                "minutes": 70,
                "total_pass": 56,
                "accurate_pass": 52,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 4,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 5.1901,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.064,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 145,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0328,
                  "after": 0.064
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 7.0609,
                "minutes": 70,
                "total_pass": 56,
                "accurate_pass": 52,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 4,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 5.1901,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.064,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 145,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 332,
                "fifa_rank": 372.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 7.0609,
                "minutes": 70,
                "total_pass": 56,
                "accurate_pass": 52,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 4,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 5.1901,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.064,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 145,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0004,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "total_shots": 1,
                "rating": 7.0609,
                "minutes": 70,
                "total_pass": 56,
                "accurate_pass": 52,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 4,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 26,
                "accurate_opp_half_passes": 23,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 69,
                "possession_lost": 5.1901,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 4,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 1,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.064,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 23,
                "total_progression": 145,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 1,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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.062,
                "finishing_factor": 1.0,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.062,
                "provider_weight": 0.0512,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0309,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Dávid Hancko": {
          "player_id": 807771,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 188,
          "market_value": 36000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.8439,
            "minutes": 78,
            "total_pass": 67,
            "accurate_pass": 60,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 40,
            "accurate_own_half_passes": 38,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 22,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 81,
            "possession_lost": 9.0829,
            "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,
            "assist_rate": 0.3136,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.126,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 20,
            "total_progression": 76,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.3333,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 100.0,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 1.33,
            "opponent_faced": "Toni Martínez",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.1184,
            "finishing_factor": 1.0,
            "creation_factor": 1.25,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2788,
                "expected_assists": 0.1352,
                "total_shots": 4,
                "shots_on_target": 1,
                "total_pass": 67,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "interceptions": 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": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0181,
                "expected_assists": 0.0061,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 53,
                "accurate_pass": 45,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 3,
                "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0224,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 65,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0148,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 62,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 11,
                "aerial_won": 4,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0399,
                "total_shots": 0,
                "total_pass": 69,
                "accurate_pass": 62,
                "interceptions": 2,
                "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": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 8.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0688,
                "expected_assists": 0.2126,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 95,
                "accurate_pass": 91,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 2,
                "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": 208,
            "combined_rank_score": 158.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 6.0,
            "sofascore_rating": 8.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 311.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8439,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dávid Hancko",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Emil Tîmbur",
                  "ranking": 203
                },
                {
                  "player_name": "Matvii Ponomarenko",
                  "ranking": 204
                },
                {
                  "player_name": "Kim In-sung",
                  "ranking": 205
                },
                {
                  "player_name": "Marco Carnesecchi",
                  "ranking": 206
                },
                {
                  "player_name": "Abdessamad Ezzalzouli",
                  "ranking": 207
                }
              ],
              "lower": [
                {
                  "player_name": "Dae-han Park",
                  "ranking": 209
                },
                {
                  "player_name": "Vladimir Jovović",
                  "ranking": 210
                },
                {
                  "player_name": "Kenan Yıldız",
                  "ranking": 211
                },
                {
                  "player_name": "Ruslanbek Jiyanov",
                  "ranking": 212
                },
                {
                  "player_name": "Jovan Đokić",
                  "ranking": 213
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.718,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.718,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0774,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.3333333333333333,
              "shots_per90": 1.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.20, gls/90: 0.0, ast/90: 0.3333333333333333)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8439,
                "minutes": 78,
                "total_pass": 62,
                "accurate_pass": 56,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 37,
                "accurate_own_half_passes": 35,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 8.43,
                "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,
                "assist_rate": 0.29,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.06,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 70,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 8.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.5214,
                  "defensive_actions": 2.2386,
                  "wonTackle": 0.5026,
                  "totalTackle_p90": 1.1869,
                  "totalClearance_p90": 3.5214,
                  "aerialWon": 0.9839
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9943262338638306,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.1622
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0853
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0102
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0088
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0082
                        }
                      ],
                      "others": 0.0072,
                      "total": 0.9943,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.16515
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.083426
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.010502
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.009065
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.008319
                        }
                      ],
                      "others_margin": 0.007336
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1411066055297852,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0753
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0557
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0417
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.022
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0209
                        }
                      ],
                      "others": 0.0254,
                      "total": 1.1411,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.058202
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.045335
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.035385
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.019159
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.018596
                        }
                      ],
                      "others_margin": 0.022511
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.682901918888092,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1433
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0304
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0221
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0137
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0113
                        }
                      ],
                      "others": 0.0065,
                      "total": 0.6829,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.190593
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.045547
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.033338
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.020159
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.016523
                        }
                      ],
                      "others_margin": 0.009375
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.9641056060791016,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.3499
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2051
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1331
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0549
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0421
                        }
                      ],
                      "others": 0.0576,
                      "total": 3.9641,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.098292
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053423
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.034333
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.014303
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.010826
                        }
                      ],
                      "others_margin": 0.014647
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5586931705474854,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6209
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0568
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0243
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0216
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.022
                        }
                      ],
                      "others": -0.0525,
                      "total": 0.5587,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.671507
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.091608
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.041969
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.037311
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.036715
                        }
                      ],
                      "others_margin": -0.089817
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.45451849699020386,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0302
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0198
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0172
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.015
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0283,
                      "total": 0.4545,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.030223
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.019766
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.017186
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.015025
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.010979
                        }
                      ],
                      "others_margin": -0.028325
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.843878746032715,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0752
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0261
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0153
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0128
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0117
                        }
                      ],
                      "others": -0.0316,
                      "total": 6.8439,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.075212
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.026137
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.015342
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.012818
                        },
                        {
                          "name": "touches",
                          "margin": -0.011746
                        }
                      ],
                      "others_margin": -0.031674
                    }
                  }
                ],
                "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.0774, quality 0.758)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.8439,
                "minutes": 78,
                "total_pass": 67,
                "accurate_pass": 60,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 40,
                "accurate_own_half_passes": 38,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 9.0829,
                "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,
                "assist_rate": 0.3125,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0646,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 36000000,
                "quality_factor": 0.7581,
                "boost_factor": 1.0774
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0542)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8439,
                "minutes": 78,
                "total_pass": 67,
                "accurate_pass": 60,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 40,
                "accurate_own_half_passes": 38,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 9.0829,
                "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,
                "assist_rate": 0.3136,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0646,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33
              },
              "params": {
                "blend_weight": 0.0542,
                "history_matches": 7,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0713,
                  "after": 1.1216
                },
                {
                  "stat": "wonTackle",
                  "before": 0.7358,
                  "after": 0.7682
                },
                {
                  "stat": "totalShots",
                  "before": 0.4897,
                  "after": 0.5173
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0181
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8439,
                "minutes": 78,
                "total_pass": 67,
                "accurate_pass": 60,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 40,
                "accurate_own_half_passes": 38,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 9.0829,
                "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,
                "assist_rate": 0.3136,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0646,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.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": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8439,
                "minutes": 78,
                "total_pass": 67,
                "accurate_pass": 60,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 40,
                "accurate_own_half_passes": 38,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 9.0829,
                "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,
                "assist_rate": 0.3136,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0646,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Toni Martínez",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8439,
                "minutes": 78,
                "total_pass": 67,
                "accurate_pass": 60,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 40,
                "accurate_own_half_passes": 38,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 9.0829,
                "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,
                "assist_rate": 0.3136,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.126,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0646,
                  "after": 0.126
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8439,
                "minutes": 78,
                "total_pass": 67,
                "accurate_pass": 60,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 40,
                "accurate_own_half_passes": 38,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 9.0829,
                "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,
                "assist_rate": 0.3136,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.126,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 208,
                "fifa_rank": 311.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8439,
                "minutes": 78,
                "total_pass": 67,
                "accurate_pass": 60,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 40,
                "accurate_own_half_passes": 38,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 9.0829,
                "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,
                "assist_rate": 0.3136,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.126,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0004,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "total_shots": 1,
                "rating": 6.8439,
                "minutes": 78,
                "total_pass": 67,
                "accurate_pass": 60,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 40,
                "accurate_own_half_passes": 38,
                "total_opp_half_passes": 27,
                "accurate_opp_half_passes": 22,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 81,
                "possession_lost": 9.0829,
                "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,
                "assist_rate": 0.3136,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.126,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 76,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.3333,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 100.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.33,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.1184,
                "finishing_factor": 1.0,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1184,
                "provider_weight": 0.1575,
                "squad_weight_total": 1.6575,
                "weight_share": 0.095,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Marc Pubill": {
          "player_id": 1094106,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 18,
          "height": 190,
          "market_value": 33000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7046,
            "minutes": 67,
            "total_pass": 47,
            "accurate_pass": 43,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 0,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 28,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 59,
            "possession_lost": 6.9658,
            "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.0194,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0209,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 66,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.5882,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 50.0,
            "shotConversion": 0.5,
            "minutesPct": 57.4,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 1.16,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Toni Martínez",
            "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.0207,
            "finishing_factor": 1.25,
            "creation_factor": 0.8237,
            "fifa_overall": 87.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0282,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 22,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "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": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 36,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0082,
                "total_shots": 0,
                "total_pass": 83,
                "accurate_pass": 78,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0921,
                "expected_assists": 0.0028,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 57,
                "accurate_pass": 51,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0623,
                "expected_assists": 0.0403,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 153,
            "combined_rank_score": 101.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 138.0,
            "sofascore_rating": 7.35,
            "sofascore_appearances": 2.0,
            "fifa_rank": 64.0,
            "fifa_overall": 87.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7046,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marc Pubill",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kipras Kazukolovas",
                  "ranking": 148
                },
                {
                  "player_name": "Fabián Mina",
                  "ranking": 149
                },
                {
                  "player_name": "Jonathan Tah",
                  "ranking": 150
                },
                {
                  "player_name": "Kevin Méndez",
                  "ranking": 151
                },
                {
                  "player_name": "Elseid Hysaj",
                  "ranking": 152
                }
              ],
              "lower": [
                {
                  "player_name": "Alex Muralha",
                  "ranking": 154
                },
                {
                  "player_name": "Guilherme Arana",
                  "ranking": 155
                },
                {
                  "player_name": "Will Smallbone",
                  "ranking": 156
                },
                {
                  "player_name": "Do-dam Kim",
                  "ranking": 157
                },
                {
                  "player_name": "Nuno Mendes",
                  "ranking": 158
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.642,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.642,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0717,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 155.0,
              "goals_per90": 0.5882352941176471,
              "assists_per90": 0.0,
              "shots_per90": 1.16,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1133
            },
            "rationale": "XGBoost regressor (D_service) evaluated 6 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.11, gls/90: 0.5882352941176471, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7046,
                "minutes": 67,
                "total_pass": 44,
                "accurate_pass": 40,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 28,
                "accurate_own_half_passes": 26,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 55,
                "possession_lost": 6.5,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.01,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 62,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 22.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 8.1
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.3875,
                  "defensive_actions": 1.3134,
                  "wonTackle": 0.8175,
                  "totalTackle_p90": 1.4191,
                  "totalClearance_p90": 1.6283,
                  "aerialWon": 0.8059
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6300793290138245,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.1718
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1026
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0407
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0136
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0123
                        }
                      ],
                      "others": -0.0137,
                      "total": 0.6301,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.210999
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.151143
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.062656
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.020596
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.01894
                        }
                      ],
                      "others_margin": -0.021255
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2618175745010376,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0908
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0481
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0392
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0302
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0161
                        }
                      ],
                      "others": 0.0587,
                      "total": 1.2618,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "defensive_actions",
                          "margin": -0.07062
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.038056
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.030853
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.024429
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.013282
                        }
                      ],
                      "others_margin": 0.047515
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6874366998672485,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1452
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0235
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0233
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0239
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0145
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.6874,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.193424
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.035108
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.034876
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.034594
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.020757
                        }
                      ],
                      "others_margin": -0.003355
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.418462038040161,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7708
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2214
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0905
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0872
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0567
                        }
                      ],
                      "others": 0.0831,
                      "total": 2.4185,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.258166
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.088418
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.038492
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.037126
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.023997
                        }
                      ],
                      "others_margin": 0.034956
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.531460702419281,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.6295
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0724
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.026
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0247
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0189
                        }
                      ],
                      "others": -0.0044,
                      "total": 0.5315,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.684799
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.119962
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.046799
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.046633
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.035877
                        }
                      ],
                      "others_margin": -0.008528
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4094,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0252
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0151
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0135
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0122
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0098
                        }
                      ],
                      "others": -0.0608,
                      "total": 0.4094,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.02517
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.0151
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.01349
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.012214
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.009815
                        }
                      ],
                      "others_margin": -0.060876
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.704578399658203,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0277
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0222
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0157
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0124
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0204,
                      "total": 6.7046,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.027684
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.022234
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.015734
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.012351
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.010173
                        }
                      ],
                      "others_margin": -0.020401
                    }
                  }
                ],
                "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.0717, quality 0.739)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7046,
                "minutes": 67,
                "total_pass": 47,
                "accurate_pass": 43,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.9658,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0107,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 66,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 33000000,
                "quality_factor": 0.7389,
                "boost_factor": 1.0717
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0335)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7046,
                "minutes": 67,
                "total_pass": 47,
                "accurate_pass": 43,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.9658,
                "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.0197,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0107,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 66,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 57.4,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.16
              },
              "params": {
                "blend_weight": 0.0335,
                "history_matches": 6,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0394
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0394
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0394
                },
                {
                  "stat": "totalShots",
                  "before": 0.4387,
                  "after": 0.4628
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6752,
                  "after": 0.6526
                },
                {
                  "stat": "goals",
                  "before": 0.0,
                  "after": 0.0197
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.0,
                  "after": 0.0194
                },
                {
                  "stat": "wonTackle",
                  "before": 0.7367,
                  "after": 0.7317
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7046,
                "minutes": 67,
                "total_pass": 47,
                "accurate_pass": 43,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.9658,
                "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.0194,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0107,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 66,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 57.4,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.16
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7046,
                "minutes": 67,
                "total_pass": 47,
                "accurate_pass": 43,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.9658,
                "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.0194,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0107,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 66,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 57.4,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.16,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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": "Toni Martínez",
                  "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 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7046,
                "minutes": 67,
                "total_pass": 47,
                "accurate_pass": 43,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.9658,
                "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.0194,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0209,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 66,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 57.4,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.16,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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,
                "finishing_factor": 1.25,
                "creation_factor": 0.8237
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0107,
                  "after": 0.0209
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 87.0; not used by the projection)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7046,
                "minutes": 67,
                "total_pass": 47,
                "accurate_pass": 43,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.9658,
                "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.0194,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0209,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 66,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 57.4,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.16,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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,
                "finishing_factor": 1.25,
                "creation_factor": 0.8237,
                "fifa_overall": 87.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 153,
                "fifa_rank": 64.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 87.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7046,
                "minutes": 67,
                "total_pass": 47,
                "accurate_pass": 43,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.9658,
                "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.0194,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0209,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 66,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 57.4,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.16,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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,
                "finishing_factor": 1.25,
                "creation_factor": 0.8237,
                "fifa_overall": 87.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0004,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7046,
                "minutes": 67,
                "total_pass": 47,
                "accurate_pass": 43,
                "duels_won": 4,
                "total_long_balls": 4,
                "accurate_long_balls": 0,
                "total_own_half_passes": 30,
                "accurate_own_half_passes": 28,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 59,
                "possession_lost": 6.9658,
                "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.0194,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0209,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 66,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.5882,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.5,
                "minutesPct": 57.4,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.16,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Toni Martínez",
                "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.0207,
                "finishing_factor": 1.25,
                "creation_factor": 0.8237,
                "fifa_overall": 87.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0207,
                "provider_weight": 0.0172,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0104,
                "creation_factor": 0.8237,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Pablo Barrios": {
          "player_id": 1142588,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 181,
          "market_value": 60000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.2479,
            "assist_rate": 0.116,
            "assists": 0,
            "expected_goals": 0.2358,
            "goal_rate": 0.1181,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.1378,
            "minutes": 74,
            "total_pass": 66,
            "accurate_pass": 59,
            "duels_won": 5,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 24,
            "total_opp_half_passes": 41,
            "accurate_opp_half_passes": 35,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 79,
            "possession_lost": 9.6755,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 25,
            "total_progression": 53,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 100.0,
            "shotConversion": 0.0,
            "minutesPct": 75.9,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 1.76,
            "duel_xg_multiplier": 1.28,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.64,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Ibáñez",
            "opponent_faced": "Pablo Ibáñez",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.2101,
            "projected_assists": 0,
            "assist_probability": 0.2196,
            "finishing_factor": 0.8082,
            "creation_factor": 0.9373,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0391,
                "expected_assists": 0.154,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 73,
                "accurate_pass": 69,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 4,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.111,
                "expected_assists": 0.0406,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 80,
                "accurate_pass": 71,
                "key_pass": 2,
                "tackles": 1,
                "aerial_won": 1,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2205,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1045,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 51,
                "key_pass": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 6,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 246,
            "combined_rank_score": 183.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 315.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1378,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Barrios",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Léo Pereira",
                  "ranking": 241
                },
                {
                  "player_name": "Andrei Cojuhar",
                  "ranking": 242
                },
                {
                  "player_name": "Willian Pacho",
                  "ranking": 243
                },
                {
                  "player_name": "Alex Baena",
                  "ranking": 244
                },
                {
                  "player_name": "Denzel Dumfries",
                  "ranking": 245
                }
              ],
              "lower": [
                {
                  "player_name": "Joaquín Moya",
                  "ranking": 247
                },
                {
                  "player_name": "Leonard Pllana",
                  "ranking": 248
                },
                {
                  "player_name": "Eldor Adhamov",
                  "ranking": 249
                },
                {
                  "player_name": "Arda Güler",
                  "ranking": 250
                },
                {
                  "player_name": "David Raum",
                  "ranking": 251
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.523,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.523,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.1058,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 205.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4347826086956522,
              "shots_per90": 0.44,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 4 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.15, gls/90: 0.0, ast/90: 0.4347826086956522)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.115,
                "assist_rate": 0.0879,
                "assists": 0,
                "expected_goals": 0.1116,
                "goal_rate": 0.0884,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1378,
                "minutes": 74,
                "total_pass": 60,
                "accurate_pass": 54,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 22,
                "total_opp_half_passes": 37,
                "accurate_opp_half_passes": 32,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 72,
                "possession_lost": 8.75,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 22,
                "total_progression": 48,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.8944,
                  "expectedAssists": 0.1293,
                  "creative_index": 0.7446,
                  "creative_efficiency": 0.0417,
                  "shotValueNormalized": -0.0872,
                  "dribbleValueNormalized": 0.2219
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.2112338542938232,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1101
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0668
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.035
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.029
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0254
                        }
                      ],
                      "others": 0.069,
                      "total": 1.2112,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.112306
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.062422
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.031178
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.025136
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.02202
                        }
                      ],
                      "others_margin": 0.058765
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11495032161474228,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0175
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0053
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0035
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0035
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0026
                        }
                      ],
                      "others": 0.0024,
                      "total": 0.115,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.183034
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.049224
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.031723
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.031002
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.023533
                        }
                      ],
                      "others_margin": 0.019425
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08794859051704407,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0111
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0032
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.003
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0025
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.01,
                      "total": 0.0879,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.122719
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.032352
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.029455
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.024242
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.020484
                        }
                      ],
                      "others_margin": -0.107363
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11161674559116364,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.036
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0103
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0061
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0053
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0209,
                      "total": 0.1116,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.21953
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.072831
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.043822
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.037882
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.033887
                        }
                      ],
                      "others_margin": -0.172067
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08837077021598816,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0286
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0124
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0066
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0033
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0032
                        }
                      ],
                      "others": -0.0118,
                      "total": 0.0884,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.214882
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.110114
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.063557
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.032951
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.032339
                        }
                      ],
                      "others_margin": -0.125881
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.33199527859687805,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0195
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0194
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0129
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0091
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0085
                        }
                      ],
                      "others": 0.008,
                      "total": 0.332,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "numberOfSprints",
                          "margin": 0.056204
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.055766
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.039079
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.028315
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.02659
                        }
                      ],
                      "others_margin": 0.024127
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0293114185333252,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0405
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0346
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0269
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0252
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0214
                        }
                      ],
                      "others": -0.0882,
                      "total": 1.0293,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.040511
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.03464
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.026852
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.025156
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.021357
                        }
                      ],
                      "others_margin": -0.087993
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.137833118438721,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.1054
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0383
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.035
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0236
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0164
                        }
                      ],
                      "others": 0.0593,
                      "total": 7.1378,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.10539
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.038291
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.03499
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.023575
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.016448
                        }
                      ],
                      "others_margin": 0.059383
                    }
                  }
                ],
                "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.1058, quality 0.853)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1271,
                "assist_rate": 0.0973,
                "assists": 0,
                "expected_goals": 0.1234,
                "goal_rate": 0.0977,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1378,
                "minutes": 74,
                "total_pass": 66,
                "accurate_pass": 59,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 9.6755,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 53,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 60000000,
                "quality_factor": 0.8526,
                "boost_factor": 1.1058
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0554)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1271,
                "assist_rate": 0.116,
                "assists": 0,
                "expected_goals": 0.1234,
                "goal_rate": 0.0923,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1378,
                "minutes": 74,
                "total_pass": 66,
                "accurate_pass": 59,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 9.6755,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 53,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.76
              },
              "params": {
                "blend_weight": 0.0554,
                "history_matches": 4,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "totalShots",
                  "before": 1.1382,
                  "after": 1.0995
                },
                {
                  "stat": "wasFouled",
                  "before": 1.6587,
                  "after": 1.6872
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0973,
                  "after": 0.116
                },
                {
                  "stat": "goals",
                  "before": 0.0977,
                  "after": 0.0923
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1271,
                "assist_rate": 0.116,
                "assists": 0,
                "expected_goals": 0.1234,
                "goal_rate": 0.0923,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1378,
                "minutes": 74,
                "total_pass": 66,
                "accurate_pass": 59,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 9.6755,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 53,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.76
              },
              "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.1271,
                "assist_rate": 0.116,
                "assists": 0,
                "expected_goals": 0.158,
                "goal_rate": 0.1181,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1378,
                "minutes": 74,
                "total_pass": 66,
                "accurate_pass": 59,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 9.6755,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 53,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.76,
                "duel_xg_multiplier": 1.28,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.64,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ibáñez",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.64,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.28,
                  "skill_edge": 0.1825,
                  "height_edge": 0.008,
                  "attacker_skill": 0.8656,
                  "defender_skill": 0.46,
                  "xg_override": 0.158
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.1422,
                  "after": 1.462
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7711,
                  "after": 0.987
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3711,
                  "after": 0.475
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1234,
                  "after": 0.158
                },
                {
                  "stat": "goals",
                  "before": 0.0923,
                  "after": 0.1181
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.2479,
                "assist_rate": 0.116,
                "assists": 0,
                "expected_goals": 0.2358,
                "goal_rate": 0.1181,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1378,
                "minutes": 74,
                "total_pass": 66,
                "accurate_pass": 59,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 9.6755,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 53,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.76,
                "duel_xg_multiplier": 1.28,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.64,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8082,
                "creation_factor": 0.9373
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.158,
                  "after": 0.2358
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1271,
                  "after": 0.2479
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.2479,
                "assist_rate": 0.116,
                "assists": 0,
                "expected_goals": 0.2358,
                "goal_rate": 0.1181,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1378,
                "minutes": 74,
                "total_pass": 66,
                "accurate_pass": 59,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 9.6755,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 53,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.76,
                "duel_xg_multiplier": 1.28,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.64,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8082,
                "creation_factor": 0.9373,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 246,
                "fifa_rank": 315.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.2479,
                "assist_rate": 0.116,
                "assists": 0,
                "expected_goals": 0.2358,
                "goal_rate": 0.1181,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1378,
                "minutes": 74,
                "total_pass": 66,
                "accurate_pass": 59,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 9.6755,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 53,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.76,
                "duel_xg_multiplier": 1.28,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.64,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2101,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8082,
                "creation_factor": 0.9373,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.2101,
                "scorer_weight": 0.1906,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0742,
                "finishing_factor": 0.8082,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.2479,
                "assist_rate": 0.116,
                "assists": 0,
                "expected_goals": 0.2358,
                "goal_rate": 0.1181,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.1378,
                "minutes": 74,
                "total_pass": 66,
                "accurate_pass": 59,
                "duels_won": 5,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 25,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 41,
                "accurate_opp_half_passes": 35,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 79,
                "possession_lost": 9.6755,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 2,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 25,
                "total_progression": 53,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 100.0,
                "shotConversion": 0.0,
                "minutesPct": 75.9,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.76,
                "duel_xg_multiplier": 1.28,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.64,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2101,
                "projected_assists": 0,
                "assist_probability": 0.2196,
                "finishing_factor": 0.8082,
                "creation_factor": 0.9373,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2196,
                "provider_weight": 0.2324,
                "squad_weight_total": 1.6575,
                "weight_share": 0.1402,
                "creation_factor": 0.9373,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Morten Hjulmand": {
          "player_id": 859917,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 23,
          "height": 185,
          "market_value": 48000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0948,
            "assist_rate": 0.0624,
            "assists": 0,
            "expected_goals": 0.2211,
            "goal_rate": 0.0807,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8664,
            "minutes": 50,
            "total_pass": 36,
            "accurate_pass": 33,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.4762,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 69.3,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 1.44,
            "duel_xg_multiplier": 1.2834,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.643,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Ibáñez",
            "opponent_faced": "Pablo Ibáñez",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1984,
            "projected_assists": 0,
            "assist_probability": 0.0904,
            "finishing_factor": 0.8,
            "creation_factor": 1.14,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0399,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10
              },
              "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": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1497,
                "expected_assists": 0.0488,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 53,
                "accurate_pass": 48,
                "interceptions": 2,
                "clearances": 2,
                "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 59,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1353,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 2,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 85,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 46,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0565,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 64,
                "key_pass": 5,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.002,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 404,
            "combined_rank_score": 257.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 204.0,
            "sofascore_rating": 7.1875,
            "sofascore_appearances": 8.0,
            "fifa_rank": 310.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8664,
            "source_file": "data/player_rankings.csv",
            "player_name": "Morten Hjulmand",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Min Ji-Hoon",
                  "ranking": 399
                },
                {
                  "player_name": "Avazbek Ulmasaliyev",
                  "ranking": 400
                },
                {
                  "player_name": "Jun-yeong Jang",
                  "ranking": 401
                },
                {
                  "player_name": "Moise Kean",
                  "ranking": 402
                },
                {
                  "player_name": "Khurshidbek Mukhtorov",
                  "ranking": 403
                }
              ],
              "lower": [
                {
                  "player_name": "Seung-gun Kim",
                  "ranking": 405
                },
                {
                  "player_name": "Claudio Aquino",
                  "ranking": 406
                },
                {
                  "player_name": "Sherzod Nasrullaev",
                  "ranking": 407
                },
                {
                  "player_name": "Jun-sang Lee",
                  "ranking": 408
                },
                {
                  "player_name": "Boburbek Yuldashov",
                  "ranking": 409
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.709,
          "history_matches": 7,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.709,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.095,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 187.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.48,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.14
            },
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.14, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0444,
                "assist_rate": 0.0592,
                "assists": 0,
                "expected_goals": 0.1055,
                "goal_rate": 0.0597,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8664,
                "minutes": 50,
                "total_pass": 33,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 17,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 16,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 41,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 8.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.417,
                  "expectedAssists": 0.0445,
                  "creative_index": 0.4194,
                  "creative_efficiency": 0.0191,
                  "shotValueNormalized": -0.0998,
                  "dribbleValueNormalized": 0.0319
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8214361667633057,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.0998
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0481
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0476
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0461
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0441
                        }
                      ],
                      "others": -0.1032,
                      "total": 0.8214,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.113892
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.056554
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.052961
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.048808
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.046542
                        }
                      ],
                      "others_margin": -0.118443
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.044382039457559586,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0166
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0061
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0034
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0022
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0444,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.210572
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.090043
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.054353
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.035937
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.032914
                        }
                      ],
                      "others_margin": -0.251909
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05924162268638611,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0109
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0029
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0026
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0022
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.0592,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.136923
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.040053
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.037791
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.032269
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.021273
                        }
                      ],
                      "others_margin": -0.09438
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10549169033765793,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0421
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0133
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.006
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0055
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0051
                        }
                      ],
                      "others": -0.0153,
                      "total": 0.1055,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.262386
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.099419
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.048567
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.046373
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.043201
                        }
                      ],
                      "others_margin": -0.135271
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05971572920680046,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0335
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0242
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0083
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0072
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.012,
                      "total": 0.0597,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.256696
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.237704
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.096238
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.091732
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.040719
                        }
                      ],
                      "others_margin": -0.183905
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.16441187262535095,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1218
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.01
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0088
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0064
                        }
                      ],
                      "others": -0.0194,
                      "total": 0.1644,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.44788
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.04773
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.043608
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.034236
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.034023
                        }
                      ],
                      "others_margin": -0.111509
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5903118726253509,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2782
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0477
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0362
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0295
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0271
                        }
                      ],
                      "others": -0.1015,
                      "total": 0.5903,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.278161
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.047728
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.036163
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.029511
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.027081
                        }
                      ],
                      "others_margin": -0.101445
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.866362571716309,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0256
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0242
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0161
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0151
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.032,
                      "total": 6.8664,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.025637
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.024231
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.016087
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.015114
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.010172
                        }
                      ],
                      "others_margin": -0.032116
                    }
                  }
                ],
                "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.0950, quality 0.817)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0486,
                "assist_rate": 0.0649,
                "assists": 0,
                "expected_goals": 0.1155,
                "goal_rate": 0.0654,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8664,
                "minutes": 50,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 48000000,
                "quality_factor": 0.8168,
                "boost_factor": 1.095
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0379)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0486,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.1155,
                "goal_rate": 0.0629,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8664,
                "minutes": 50,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 69.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.44
              },
              "params": {
                "blend_weight": 0.0379,
                "history_matches": 7,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.18,
                  "after": 0.1732
                },
                {
                  "stat": "totalShots",
                  "before": 0.6464,
                  "after": 0.6401
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0486,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.1155,
                "goal_rate": 0.0629,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8664,
                "minutes": 50,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 69.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.44
              },
              "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.0486,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.1482,
                "goal_rate": 0.0807,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8664,
                "minutes": 50,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 69.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.44,
                "duel_xg_multiplier": 1.2834,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.643,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ibáñez",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.643,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.2834,
                  "skill_edge": 0.1688,
                  "height_edge": 0.024,
                  "attacker_skill": 0.835,
                  "defender_skill": 0.46,
                  "xg_override": 0.1482
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.6401,
                  "after": 0.8215
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4664,
                  "after": 0.5986
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1732,
                  "after": 0.2223
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1155,
                  "after": 0.1482
                },
                {
                  "stat": "goals",
                  "before": 0.0629,
                  "after": 0.0807
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0948,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.2211,
                "goal_rate": 0.0807,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8664,
                "minutes": 50,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 69.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.44,
                "duel_xg_multiplier": 1.2834,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.643,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.14
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1482,
                  "after": 0.2211
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0486,
                  "after": 0.0948
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0948,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.2211,
                "goal_rate": 0.0807,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8664,
                "minutes": 50,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 69.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.44,
                "duel_xg_multiplier": 1.2834,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.643,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.14,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 404,
                "fifa_rank": 310.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0948,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.2211,
                "goal_rate": 0.0807,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8664,
                "minutes": 50,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 69.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.44,
                "duel_xg_multiplier": 1.2834,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.643,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1984,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.14,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1984,
                "scorer_weight": 0.1769,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0689,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0948,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.2211,
                "goal_rate": 0.0807,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8664,
                "minutes": 50,
                "total_pass": 36,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 45,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.4762,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 69.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.44,
                "duel_xg_multiplier": 1.2834,
                "dribbles_attempted": 3,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.643,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1984,
                "projected_assists": 0,
                "assist_probability": 0.0904,
                "finishing_factor": 0.8,
                "creation_factor": 1.14,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0904,
                "provider_weight": 0.1081,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0652,
                "creation_factor": 1.14,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Giuliano Simeone": {
          "player_id": 1099352,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 173,
          "market_value": 44000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1734,
            "assist_rate": 0.1067,
            "assists": 0,
            "expected_goals": 0.3759,
            "goal_rate": 0.2852,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 6.8688,
            "minutes": 68,
            "total_pass": 33,
            "accurate_pass": 25,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 51,
            "possession_lost": 13.2335,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 9,
            "total_progression": 36,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 25.0,
            "shotConversion": 0.25,
            "minutesPct": 79.3,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 1.68,
            "duel_xg_multiplier": 1.2293,
            "dribbles_attempted": 2,
            "dribbles_successful": 1.0,
            "crosses_attempted": 2.9,
            "duel_win_rate": 0.576,
            "pressing_faced": "LOW",
            "matchup_zone": "LWB vs RWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Carles Aleñá",
            "opponent_faced": "Carles Aleñá",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 1,
            "goal_probability": 0.3133,
            "projected_assists": 0,
            "assist_probability": 0.1592,
            "finishing_factor": 1.1103,
            "creation_factor": 1.1281,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0422,
                "expected_assists": 0.2204,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 41,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 22,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 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": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6425,
                "expected_assists": 0.0144,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 38,
                "accurate_pass": 25,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 8,
                "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 59,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0505,
                "expected_assists": 0.1149,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 34,
                "accurate_pass": 28,
                "key_pass": 1,
                "clearances": 1,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 9,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2677,
                "expected_assists": 0.0438,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 2,
                "tackles": 5,
                "tackles_won": 3,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 33,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0135,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 957,
            "combined_rank_score": 510.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 443.0,
            "sofascore_rating": 6.9065,
            "sofascore_appearances": 31.0,
            "fifa_rank": 578.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8688,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giuliano Simeone",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Seung-jae Lee",
                  "ranking": 952
                },
                {
                  "player_name": "Hyun-Jun Suk",
                  "ranking": 953
                },
                {
                  "player_name": "Theo Hernández",
                  "ranking": 954
                },
                {
                  "player_name": "Moussa Diaby",
                  "ranking": 955
                },
                {
                  "player_name": "Eduardo Camavinga",
                  "ranking": 956
                }
              ],
              "lower": [
                {
                  "player_name": "Gerónimo Rulli",
                  "ranking": 958
                },
                {
                  "player_name": "Mohamed Simakan",
                  "ranking": 959
                },
                {
                  "player_name": "Nico González",
                  "ranking": 960
                },
                {
                  "player_name": "Gonçalo Guedes",
                  "ranking": 961
                },
                {
                  "player_name": "Samuel Klein",
                  "ranking": 962
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.712,
          "history_matches": 7,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.712,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0901,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 214.0,
              "goals_per90": 0.4166666666666667,
              "assists_per90": 0.4166666666666667,
              "shots_per90": 1.68,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.16, gls/90: 0.4166666666666667, ast/90: 0.4166666666666667)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0816,
                "assist_rate": 0.085,
                "assists": 0,
                "expected_goals": 0.1879,
                "goal_rate": 0.2052,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8688,
                "minutes": 68,
                "total_pass": 30,
                "accurate_pass": 23,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 20,
                "accurate_opp_half_passes": 15,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 46,
                "possession_lost": 12.14,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 33,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 22.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.2028,
                  "expectedAssists": 0.0735,
                  "creative_index": 0.2983,
                  "creative_efficiency": 0.0675,
                  "shotValueNormalized": 0.0552,
                  "dribbleValueNormalized": 0.1903
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8444004654884338,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1054
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0376
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0332
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0267
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0266
                        }
                      ],
                      "others": 0.0188,
                      "total": 0.8444,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.120757
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.04472
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.039476
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.032873
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.032705
                        }
                      ],
                      "others_margin": 0.0227
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08159895986318588,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.0055
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0037
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0033
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0027
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0022
                        }
                      ],
                      "others": 0.0008,
                      "total": 0.0816,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.065689
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.046179
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.041063
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.03416
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.02731
                        }
                      ],
                      "others_margin": 0.010907
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08502247184515,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0119
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0049
                        },
                        {
                          "name": "touches",
                          "contribution": 0.003
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0022
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0063,
                      "total": 0.085,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.130555
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.051818
                        },
                        {
                          "name": "touches",
                          "margin": 0.032419
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.023675
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.017643
                        }
                      ],
                      "others_margin": -0.071236
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.18792563676834106,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0273
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0113
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.009
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0079
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0062
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.1879,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.13928
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.052618
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.041591
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.037778
                        },
                        {
                          "name": "kilometersCovered",
                          "margin": -0.0306
                        }
                      ],
                      "others_margin": -0.05333
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.2051599621772766,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0425
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0506
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0147
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0122
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0104
                        }
                      ],
                      "others": -0.0193,
                      "total": 0.2052,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.252565
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.23546
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.063075
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.055273
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.047436
                        }
                      ],
                      "others_margin": -0.089911
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3914571702480316,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0394
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0193
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0169
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0097
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0069
                        }
                      ],
                      "others": 0.0199,
                      "total": 0.3915,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.11052
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.052516
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.046283
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.026259
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.018771
                        }
                      ],
                      "others_margin": 0.051719
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0989936590194702,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0368
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0288
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0284
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0263
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0216
                        }
                      ],
                      "others": -0.0234,
                      "total": 1.099,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.036785
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.028785
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.028375
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.026272
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.021609
                        }
                      ],
                      "others_margin": -0.023332
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.868773937225342,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.055
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0416
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.018
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0155
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0127
                        }
                      ],
                      "others": -0.0238,
                      "total": 6.8688,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.055023
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.04156
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.017976
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.015486
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.012736
                        }
                      ],
                      "others_margin": -0.023715
                    }
                  }
                ],
                "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.0901, quality 0.800)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0889,
                "assist_rate": 0.0927,
                "assists": 0,
                "expected_goals": 0.2049,
                "goal_rate": 0.2236,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8688,
                "minutes": 68,
                "total_pass": 33,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 13.2335,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 36,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0901
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0433)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0889,
                "assist_rate": 0.1067,
                "assists": 0,
                "expected_goals": 0.2049,
                "goal_rate": 0.232,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8688,
                "minutes": 68,
                "total_pass": 33,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 13.2335,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 79.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.68
              },
              "params": {
                "blend_weight": 0.0433,
                "history_matches": 7,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0903
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "totalShots",
                  "before": 1.198,
                  "after": 1.2189
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0927,
                  "after": 0.1067
                },
                {
                  "stat": "goals",
                  "before": 0.2236,
                  "after": 0.232
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0889,
                "assist_rate": 0.1067,
                "assists": 0,
                "expected_goals": 0.2049,
                "goal_rate": 0.232,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8688,
                "minutes": 68,
                "total_pass": 33,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 13.2335,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 79.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.68
              },
              "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.0889,
                "assist_rate": 0.1067,
                "assists": 0,
                "expected_goals": 0.2519,
                "goal_rate": 0.2852,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.8688,
                "minutes": 68,
                "total_pass": 33,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 13.2335,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 79.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.68,
                "duel_xg_multiplier": 1.2293,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.9,
                "duel_win_rate": 0.576,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carles Aleñá",
                "opponent_faced": "Carles Aleñá",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Carles Aleñá",
                  "matchup_zone": "LWB vs RWB",
                  "duel_win_rate": 0.576,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.2293,
                  "skill_edge": 0.184,
                  "height_edge": -0.028,
                  "attacker_skill": 0.8586,
                  "defender_skill": 0.4498,
                  "xg_override": 0.2519
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.2189,
                  "after": 1.4984
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7712,
                  "after": 0.948
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4264,
                  "after": 0.5242
                },
                {
                  "stat": "goals",
                  "before": 0.232,
                  "after": 0.2852
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2049,
                  "after": 0.2519
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1734,
                "assist_rate": 0.1067,
                "assists": 0,
                "expected_goals": 0.3759,
                "goal_rate": 0.2852,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.8688,
                "minutes": 68,
                "total_pass": 33,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 13.2335,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 79.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.68,
                "duel_xg_multiplier": 1.2293,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.9,
                "duel_win_rate": 0.576,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carles Aleñá",
                "opponent_faced": "Carles Aleñá",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1103,
                "creation_factor": 1.1281
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2519,
                  "after": 0.3759
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0889,
                  "after": 0.1734
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1734,
                "assist_rate": 0.1067,
                "assists": 0,
                "expected_goals": 0.3759,
                "goal_rate": 0.2852,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.8688,
                "minutes": 68,
                "total_pass": 33,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 13.2335,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 79.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.68,
                "duel_xg_multiplier": 1.2293,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.9,
                "duel_win_rate": 0.576,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carles Aleñá",
                "opponent_faced": "Carles Aleñá",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1103,
                "creation_factor": 1.1281,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 957,
                "fifa_rank": 578.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1734,
                "assist_rate": 0.1067,
                "assists": 0,
                "expected_goals": 0.3759,
                "goal_rate": 0.2852,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.8688,
                "minutes": 68,
                "total_pass": 33,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 13.2335,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 79.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.68,
                "duel_xg_multiplier": 1.2293,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.9,
                "duel_win_rate": 0.576,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carles Aleñá",
                "opponent_faced": "Carles Aleñá",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 1,
                "goal_probability": 0.3133,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1103,
                "creation_factor": 1.1281,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.3133,
                "scorer_weight": 0.4174,
                "squad_weight_total": 2.5683,
                "weight_share": 0.1625,
                "finishing_factor": 1.1103,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1734,
                "assist_rate": 0.1067,
                "assists": 0,
                "expected_goals": 0.3759,
                "goal_rate": 0.2852,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 6.8688,
                "minutes": 68,
                "total_pass": 33,
                "accurate_pass": 25,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 9,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 16,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 13.2335,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_won": 1,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "total_contest": 0,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 9,
                "total_progression": 36,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 25.0,
                "shotConversion": 0.25,
                "minutesPct": 79.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.68,
                "duel_xg_multiplier": 1.2293,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.9,
                "duel_win_rate": 0.576,
                "pressing_faced": "LOW",
                "matchup_zone": "LWB vs RWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Carles Aleñá",
                "opponent_faced": "Carles Aleñá",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 1,
                "goal_probability": 0.3133,
                "projected_assists": 0,
                "assist_probability": 0.1592,
                "finishing_factor": 1.1103,
                "creation_factor": 1.1281,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1592,
                "provider_weight": 0.1956,
                "squad_weight_total": 1.6575,
                "weight_share": 0.118,
                "creation_factor": 1.1281,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Alex Baena": {
          "player_id": 910031,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 174,
          "market_value": 43000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.3226,
            "assist_rate": 0.127,
            "assists": 1,
            "expected_goals": 0.3145,
            "goal_rate": 0.3513,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.0206,
            "minutes": 65,
            "total_pass": 36,
            "accurate_pass": 30,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 51,
            "possession_lost": 11.8233,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 52,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "offsides": 1,
            "yellowCards": 0.5556,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 60.0,
            "shotConversion": 0.6,
            "minutesPct": 60.4,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 2.21,
            "opponent_faced": "Antonio Blanco, Ángel Pérez, Pablo Ibáñez",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.2698,
            "projected_assists": 1,
            "assist_probability": 0.2757,
            "finishing_factor": 1.25,
            "creation_factor": 0.8217,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.024,
                "expected_assists": 0.0931,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 37,
                "accurate_pass": 31,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5648,
                "expected_assists": 0.4472,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 51,
                "accurate_pass": 41,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "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": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 59,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0485,
                "expected_assists": 0.0354,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 24,
                "tackles": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 76,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1281,
                "expected_assists": 0.3008,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 3,
                "interceptions": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 85,
                "rating": 9.2,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2852,
                "expected_assists": 0.1508,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 39,
                "key_pass": 3,
                "interceptions": 1,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1268,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 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": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 33,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0671,
                "expected_assists": 0.1075,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "duels_won": 1,
                "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": 244,
            "combined_rank_score": 182.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 312.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0206,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alex Baena",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Federico Botti",
                  "ranking": 239
                },
                {
                  "player_name": "Jeisson Vargas",
                  "ranking": 240
                },
                {
                  "player_name": "Léo Pereira",
                  "ranking": 241
                },
                {
                  "player_name": "Andrei Cojuhar",
                  "ranking": 242
                },
                {
                  "player_name": "Willian Pacho",
                  "ranking": 243
                }
              ],
              "lower": [
                {
                  "player_name": "Denzel Dumfries",
                  "ranking": 245
                },
                {
                  "player_name": "Pablo Barrios",
                  "ranking": 246
                },
                {
                  "player_name": "Joaquín Moya",
                  "ranking": 247
                },
                {
                  "player_name": "Leonard Pllana",
                  "ranking": 248
                },
                {
                  "player_name": "Eldor Adhamov",
                  "ranking": 249
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.706,
          "history_matches": 7,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.706,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0887,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 163.0,
              "goals_per90": 1.6666666666666663,
              "assists_per90": 0.5555555555555556,
              "shots_per90": 2.76,
              "shots_on_target_pct": 60.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.12, gls/90: 1.6666666666666663, ast/90: 0.5555555555555556)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1519,
                "assist_rate": 0.1034,
                "assists": 0,
                "expected_goals": 0.1936,
                "goal_rate": 0.2821,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 7.0206,
                "minutes": 65,
                "total_pass": 33,
                "accurate_pass": 28,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 11,
                "accurate_own_half_passes": 10,
                "total_opp_half_passes": 22,
                "accurate_opp_half_passes": 17,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 47,
                "possession_lost": 10.86,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 12,
                "total_progression": 48,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 9.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 2.2935,
                  "expectedAssists": 0.1896,
                  "creative_index": 0.86,
                  "creative_efficiency": 0.0511,
                  "shotValueNormalized": 0.2125,
                  "dribbleValueNormalized": 0.2777
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4637194871902466,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1613
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.106
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0822
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0359
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0366
                        }
                      ],
                      "others": 0.115,
                      "total": 1.4637,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.160513
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.092989
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.066565
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.027762
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.027507
                        }
                      ],
                      "others_margin": 0.081794
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.15191610157489777,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0285
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0081
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0052
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0053
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0034
                        }
                      ],
                      "others": 0.021,
                      "total": 0.1519,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.282852
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.067791
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.040878
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.040261
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.025367
                        }
                      ],
                      "others_margin": 0.14835
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10344007611274719,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0092
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0078
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.004
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0036
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0026
                        }
                      ],
                      "others": -0.0017,
                      "total": 0.1034,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.102329
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.079471
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.038699
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.034931
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.025211
                        }
                      ],
                      "others_margin": -0.0161
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.19363544881343842,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0226
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0133
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.009
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0072
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0077,
                      "total": 0.1936,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.116869
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.067199
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.045862
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.03529
                        },
                        {
                          "name": "kilometersCovered",
                          "margin": -0.032978
                        }
                      ],
                      "others_margin": -0.039312
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.282063364982605,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0596
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0528
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0112
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0089
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0072
                        }
                      ],
                      "others": 0.0123,
                      "total": 0.2821,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.338493
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.226682
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.042209
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.033286
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.027133
                        }
                      ],
                      "others_margin": 0.044311
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.49061593413352966,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1243
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0642
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0541
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0151
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0141
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.4906,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.313595
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.130121
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.108543
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.031523
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.028463
                        }
                      ],
                      "others_margin": -0.020856
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3811348676681519,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3844
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0636
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0366
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0365
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.03
                        }
                      ],
                      "others": -0.0809,
                      "total": 1.3811,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.384377
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.063597
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.036632
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.036468
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.029971
                        }
                      ],
                      "others_margin": -0.080784
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.020591735839844,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0629
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0578
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0415
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0262
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.017
                        }
                      ],
                      "others": 0.0078,
                      "total": 7.0206,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.062852
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.057786
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.041461
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.026193
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.01701
                        }
                      ],
                      "others_margin": 0.007919
                    }
                  }
                ],
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the player's historical average."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0887, quality 0.796)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1654,
                "assist_rate": 0.1126,
                "assists": 0,
                "expected_goals": 0.2108,
                "goal_rate": 0.3071,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0206,
                "minutes": 65,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 11.8233,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 52,
                "progressive_carries": 3,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 43000000,
                "quality_factor": 0.7957,
                "boost_factor": 1.0887
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0325)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1654,
                "assist_rate": 0.127,
                "assists": 0,
                "expected_goals": 0.2108,
                "goal_rate": 0.3513,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0206,
                "minutes": 65,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 11.8233,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 52,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.5556,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.6,
                "minutesPct": 60.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.21
              },
              "params": {
                "blend_weight": 0.0325,
                "history_matches": 7,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "goals",
                  "before": 0.3071,
                  "after": 0.3513
                },
                {
                  "stat": "totalShots",
                  "before": 1.5036,
                  "after": 1.5444
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5341,
                  "after": 0.5707
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1126,
                  "after": 0.127
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.1654,
                "assist_rate": 0.127,
                "assists": 0,
                "expected_goals": 0.2108,
                "goal_rate": 0.3513,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0206,
                "minutes": 65,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 11.8233,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 52,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.5556,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.6,
                "minutesPct": 60.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.21
              },
              "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.1654,
                "assist_rate": 0.127,
                "assists": 0,
                "expected_goals": 0.2108,
                "goal_rate": 0.3513,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0206,
                "minutes": 65,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 11.8233,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 52,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.5556,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.6,
                "minutesPct": 60.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.21,
                "opponent_faced": "Antonio Blanco, Ángel Pérez, Pablo Ibáñez",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Antonio Blanco, Ángel Pérez, Pablo Ibáñez",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.3226,
                "assist_rate": 0.127,
                "assists": 0,
                "expected_goals": 0.3145,
                "goal_rate": 0.3513,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0206,
                "minutes": 65,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 11.8233,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 52,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.5556,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.6,
                "minutesPct": 60.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.21,
                "opponent_faced": "Antonio Blanco, Ángel Pérez, Pablo Ibáñez",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8217
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2108,
                  "after": 0.3145
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1654,
                  "after": 0.3226
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.3226,
                "assist_rate": 0.127,
                "assists": 0,
                "expected_goals": 0.3145,
                "goal_rate": 0.3513,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0206,
                "minutes": 65,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 11.8233,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 52,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.5556,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.6,
                "minutesPct": 60.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.21,
                "opponent_faced": "Antonio Blanco, Ángel Pérez, Pablo Ibáñez",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8217,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 244,
                "fifa_rank": 312.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.3226,
                "assist_rate": 0.127,
                "assists": 0,
                "expected_goals": 0.3145,
                "goal_rate": 0.3513,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0206,
                "minutes": 65,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 11.8233,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 52,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.5556,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.6,
                "minutesPct": 60.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.21,
                "opponent_faced": "Antonio Blanco, Ángel Pérez, Pablo Ibáñez",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2698,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8217,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.2698,
                "scorer_weight": 0.3931,
                "squad_weight_total": 2.5683,
                "weight_share": 0.1531,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 2,
                "expected_assists": 0.3226,
                "assist_rate": 0.127,
                "assists": 1,
                "expected_goals": 0.3145,
                "goal_rate": 0.3513,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0206,
                "minutes": 65,
                "total_pass": 36,
                "accurate_pass": 30,
                "duels_won": 4,
                "total_long_balls": 3,
                "accurate_long_balls": 0,
                "total_own_half_passes": 12,
                "accurate_own_half_passes": 11,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 11.8233,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 13,
                "total_progression": 52,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "offsides": 1,
                "yellowCards": 0.5556,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.6,
                "minutesPct": 60.4,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.21,
                "opponent_faced": "Antonio Blanco, Ángel Pérez, Pablo Ibáñez",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2698,
                "projected_assists": 1,
                "assist_probability": 0.2757,
                "finishing_factor": 1.25,
                "creation_factor": 0.8217,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2757,
                "provider_weight": 0.2651,
                "squad_weight_total": 1.6575,
                "weight_share": 0.1599,
                "creation_factor": 0.8217,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Kang-in Lee": {
          "player_id": 917087,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 173,
          "market_value": 30000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.3216,
            "assist_rate": 0.109,
            "assists": 0,
            "expected_goals": 0.3718,
            "goal_rate": 0.1984,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.0472,
            "minutes": 67,
            "total_pass": 35,
            "accurate_pass": 29,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 21,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 51,
            "possession_lost": 10.8019,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 20,
            "total_progression": 60,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.1779,
            "dribbles_attempted": 2,
            "dribbles_successful": 1.0,
            "crosses_attempted": 2.8,
            "duel_win_rate": 0.541,
            "pressing_faced": "LOW",
            "matchup_zone": "RWB vs LWB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Miguel Rodríguez",
            "opponent_faced": "Miguel Rodríguez",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.3105,
            "projected_assists": 0,
            "assist_probability": 0.275,
            "finishing_factor": 0.8302,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 89,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0305,
                "expected_assists": 0.213,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 57,
                "accurate_pass": 48,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 9.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7597,
                "expected_assists": 0.3558,
                "total_shots": 6,
                "shots_on_target": 4,
                "total_pass": 51,
                "accurate_pass": 39,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 60,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0435,
                "expected_assists": 0.0534,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 1,
                "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 59,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0846,
                "expected_assists": 0.0551,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 72,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0371,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 31,
                "key_pass": 1,
                "duels_won": 8,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1968,
                "expected_assists": 0.1149,
                "total_shots": 6,
                "shots_off_target": 3,
                "total_pass": 31,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 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": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 33,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1291,
                "expected_assists": 0.0493,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "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": 802,
            "combined_rank_score": 390.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 21.0,
            "sofascore_rating": 8.1,
            "sofascore_appearances": 1.0,
            "fifa_rank": 759.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0472,
            "source_file": "data/player_rankings.csv",
            "player_name": "Kang-in Lee",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Islomzhon Kobilov",
                  "ranking": 797
                },
                {
                  "player_name": "Khurshid Giyosov",
                  "ranking": 798
                },
                {
                  "player_name": "Jeremie Frimpong",
                  "ranking": 799
                },
                {
                  "player_name": "Diego Oyarzún",
                  "ranking": 800
                },
                {
                  "player_name": "Leroy Sané",
                  "ranking": 801
                }
              ],
              "lower": [
                {
                  "player_name": "Harvey Barnes",
                  "ranking": 803
                },
                {
                  "player_name": "Nicola Pérez",
                  "ranking": 804
                },
                {
                  "player_name": "Jun-seo Park",
                  "ranking": 805
                },
                {
                  "player_name": "Chang-woo Park",
                  "ranking": 806
                },
                {
                  "player_name": "Ronan",
                  "ranking": 807
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0653,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1548,
                "assist_rate": 0.1023,
                "assists": 0,
                "expected_goals": 0.1986,
                "goal_rate": 0.1581,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0472,
                "minutes": 67,
                "total_pass": 33,
                "accurate_pass": 27,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 9,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 24,
                "accurate_opp_half_passes": 19,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 48,
                "possession_lost": 10.14,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 57,
                "progressive_carries": 3,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 9.1
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 8.1
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 2.8357,
                  "expectedAssists": 0.1494,
                  "creative_index": 0.679,
                  "creative_efficiency": 0.0993,
                  "shotValueNormalized": -0.02,
                  "dribbleValueNormalized": 0.2801
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.3843955993652344,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1377
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0634
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0433
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0328
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0337
                        }
                      ],
                      "others": 0.1468,
                      "total": 1.3844,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.138521
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.057889
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.03767
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.0276
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.02757
                        }
                      ],
                      "others_margin": 0.11216
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.15476374328136444,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0192
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0056
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0046
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0046
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0044
                        }
                      ],
                      "others": 0.0292,
                      "total": 0.1548,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.199304
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.051407
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.040534
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.038339
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.035921
                        }
                      ],
                      "others_margin": 0.207831
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10233885049819946,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.009
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.009
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0035
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0021
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0021
                        }
                      ],
                      "others": -0.0015,
                      "total": 0.1023,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.100967
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.091093
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.034973
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.020954
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.020473
                        }
                      ],
                      "others_margin": -0.014539
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.19860190153121948,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0493
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.018
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.014
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.009
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.012,
                      "total": 0.1986,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.238967
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.080928
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.063582
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.040411
                        },
                        {
                          "name": "kilometersCovered",
                          "margin": -0.038818
                        }
                      ],
                      "others_margin": -0.058536
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.15807072818279266,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0607
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0359
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0217
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0072
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.007
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.1581,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.343974
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.188626
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.134274
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.046548
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.043439
                        }
                      ],
                      "others_margin": -0.044608
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6715262532234192,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.2496
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0415
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0378
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0209
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0202
                        }
                      ],
                      "others": 0.0875,
                      "total": 0.6715,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.553756
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.073383
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.06705
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.035128
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.033994
                        }
                      ],
                      "others_margin": 0.139637
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.8554625511169434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.7388
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0682
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0398
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0337
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0232
                        }
                      ],
                      "others": 0.0965,
                      "total": 1.8555,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.738808
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.068227
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.039839
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.033715
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.023163
                        }
                      ],
                      "others_margin": 0.096423
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.0472211837768555,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0514
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0347
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0316
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0241
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0161
                        }
                      ],
                      "others": 0.0295,
                      "total": 7.0472,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.051379
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.034653
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.031628
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.024059
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.016105
                        }
                      ],
                      "others_margin": 0.02964
                    }
                  }
                ],
                "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.0653, quality 0.718)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1649,
                "assist_rate": 0.109,
                "assists": 0,
                "expected_goals": 0.2116,
                "goal_rate": 0.1684,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0472,
                "minutes": 67,
                "total_pass": 35,
                "accurate_pass": 29,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 10.8019,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 3,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 30000000,
                "quality_factor": 0.7176,
                "boost_factor": 1.0653
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1649,
                "assist_rate": 0.109,
                "assists": 0,
                "expected_goals": 0.2116,
                "goal_rate": 0.1684,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0472,
                "minutes": 67,
                "total_pass": 35,
                "accurate_pass": 29,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 10.8019,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 3,
                "shots_off_target": 1
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1649,
                "assist_rate": 0.109,
                "assists": 0,
                "expected_goals": 0.2492,
                "goal_rate": 0.1984,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0472,
                "minutes": 67,
                "total_pass": 35,
                "accurate_pass": 29,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 10.8019,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "duel_xg_multiplier": 1.1779,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.8,
                "duel_win_rate": 0.541,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Miguel Rodríguez",
                "opponent_faced": "Miguel Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Miguel Rodríguez",
                  "matchup_zone": "RWB vs LWB",
                  "duel_win_rate": 0.541,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1779,
                  "skill_edge": 0.145,
                  "height_edge": -0.024,
                  "attacker_skill": 0.795,
                  "defender_skill": 0.4727,
                  "xg_override": 0.2492
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.9766,
                  "after": 2.3283
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2612,
                  "after": 1.4856
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7154,
                  "after": 0.8427
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2116,
                  "after": 0.2492
                },
                {
                  "stat": "goals",
                  "before": 0.1684,
                  "after": 0.1984
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.3216,
                "assist_rate": 0.109,
                "assists": 0,
                "expected_goals": 0.3718,
                "goal_rate": 0.1984,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0472,
                "minutes": 67,
                "total_pass": 35,
                "accurate_pass": 29,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 10.8019,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "duel_xg_multiplier": 1.1779,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.8,
                "duel_win_rate": 0.541,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Miguel Rodríguez",
                "opponent_faced": "Miguel Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8302,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2492,
                  "after": 0.3718
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1649,
                  "after": 0.3216
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.3216,
                "assist_rate": 0.109,
                "assists": 0,
                "expected_goals": 0.3718,
                "goal_rate": 0.1984,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0472,
                "minutes": 67,
                "total_pass": 35,
                "accurate_pass": 29,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 10.8019,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "duel_xg_multiplier": 1.1779,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.8,
                "duel_win_rate": 0.541,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Miguel Rodríguez",
                "opponent_faced": "Miguel Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8302,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 802,
                "fifa_rank": 759.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.3216,
                "assist_rate": 0.109,
                "assists": 0,
                "expected_goals": 0.3718,
                "goal_rate": 0.1984,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0472,
                "minutes": 67,
                "total_pass": 35,
                "accurate_pass": 29,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 10.8019,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "duel_xg_multiplier": 1.1779,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.8,
                "duel_win_rate": 0.541,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Miguel Rodríguez",
                "opponent_faced": "Miguel Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.3105,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8302,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.3105,
                "scorer_weight": 0.3087,
                "squad_weight_total": 2.5683,
                "weight_share": 0.1202,
                "finishing_factor": 0.8302,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.3216,
                "assist_rate": 0.109,
                "assists": 0,
                "expected_goals": 0.3718,
                "goal_rate": 0.1984,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "rating": 7.0472,
                "minutes": 67,
                "total_pass": 35,
                "accurate_pass": 29,
                "duels_won": 5,
                "total_long_balls": 2,
                "accurate_long_balls": 0,
                "total_own_half_passes": 10,
                "accurate_own_half_passes": 8,
                "total_opp_half_passes": 25,
                "accurate_opp_half_passes": 21,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 51,
                "possession_lost": 10.8019,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 20,
                "total_progression": 60,
                "progressive_carries": 3,
                "shots_off_target": 1,
                "duel_xg_multiplier": 1.1779,
                "dribbles_attempted": 2,
                "dribbles_successful": 1.0,
                "crosses_attempted": 2.8,
                "duel_win_rate": 0.541,
                "pressing_faced": "LOW",
                "matchup_zone": "RWB vs LWB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Miguel Rodríguez",
                "opponent_faced": "Miguel Rodríguez",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.3105,
                "projected_assists": 0,
                "assist_probability": 0.275,
                "finishing_factor": 0.8302,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.275,
                "provider_weight": 0.2573,
                "squad_weight_total": 1.6575,
                "weight_share": 0.1552,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Julián Alvarez": {
          "player_id": 944656,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 170,
          "market_value": 116000000,
          "stats": {
            "expected_goals": 0.6573,
            "goal_rate": 0.2313,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1125,
            "key_pass": 0,
            "rating": 6.7631,
            "minutes": 28,
            "total_pass": 16,
            "accurate_pass": 16,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 12,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 27,
            "possession_lost": 4.8457,
            "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,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 11,
            "total_progression": 13,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 9.3,
            "pointsPerMatch": 1.0,
            "netGoalDifferencePer90": 0.0,
            "duel_xg_multiplier": 1.2524,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.372,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
            "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4818,
            "projected_assists": 0,
            "assist_probability": 0.1064,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3341,
                "expected_assists": 0.0842,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_type": "played",
              "match_id": "16416332.0",
              "match_date": "2026-09-13 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": "Real Sociedad",
              "away_team": "Atl. Madrid",
              "home_score_current": 0.0,
              "away_score_current": 3.0,
              "team_side": "away",
              "status_code": "100.0",
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": "True",
              "team": "Atl. Madrid",
              "opponent": "Real Sociedad",
              "stats": {},
              "has_player_stats": false,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 31,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2286,
                "expected_assists": 0.0367,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 16,
                "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"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0464,
                "expected_assists": 0.0167,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 66,
            "combined_rank_score": 77.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 80.0,
            "sofascore_rating": 7.5533,
            "sofascore_appearances": 15.0,
            "fifa_rank": 75.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7631,
            "source_file": "data/player_rankings.csv",
            "player_name": "Julián Alvarez",
            "ranking_neighbors": {
              "upper": [
                {
                  "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
                },
                {
                  "player_name": "Cucurella",
                  "ranking": 65
                }
              ],
              "lower": [
                {
                  "player_name": "Jamshid Iskandarov",
                  "ranking": 67
                },
                {
                  "player_name": "Emiliano Martínez",
                  "ranking": 68
                },
                {
                  "player_name": "Cole Palmer",
                  "ranking": 69
                },
                {
                  "player_name": "David Raya",
                  "ranking": 70
                },
                {
                  "player_name": "Granit Xhaka",
                  "ranking": 71
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.441,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.441,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.1191,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 25.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.6,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "XGBoost regressor (F_service) evaluated 3 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.02, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3143,
                "goal_rate": 0.1664,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0515,
                "key_pass": 0,
                "rating": 6.7631,
                "minutes": 28,
                "total_pass": 15,
                "accurate_pass": 14,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 11,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 24,
                "possession_lost": 4.33,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 10,
                "total_progression": 12,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 28.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 1.1079,
                  "totalShots": 1.7775,
                  "minutesPlayed": 27.8678,
                  "shotValueNormalized": -0.2605,
                  "accuratePass": 14.4227,
                  "expectedAssists": 0.0495
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.31428858637809753,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0751
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0402
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0333
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0163
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0138
                        }
                      ],
                      "others": -0.0474,
                      "total": 0.3143,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": 0.188286
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.096364
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.087484
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.045737
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.039029
                        }
                      ],
                      "others_margin": -0.140709
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.16637441515922546,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0419
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0234
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0113
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0106
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0248,
                      "total": 0.1664,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.158055
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.100467
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.052437
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.052029
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.041936
                        }
                      ],
                      "others_margin": -0.138995
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6079874634742737,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0982
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0538
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0231
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0182
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0148
                        }
                      ],
                      "others": 0.0309,
                      "total": 0.608,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "shot_accuracy",
                          "margin": 0.154177
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.081479
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.037094
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.030258
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.02532
                        }
                      ],
                      "others_margin": 0.052034
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5936874634742737,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.2002
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1299
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.083
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0771
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0652
                        }
                      ],
                      "others": 0.0289,
                      "total": 1.5937,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.200233
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.129921
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.082978
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.077111
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.065193
                        }
                      ],
                      "others_margin": 0.028823
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.051530107855796814,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0074
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0031
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0031
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0026
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0023
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.0515,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.131018
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.05745
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.056816
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.048473
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.042342
                        }
                      ],
                      "others_margin": -0.028713
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3863474130630493,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.2766
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0413
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0284
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0207
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0148
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.3863,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.52397
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.108462
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.075847
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.051857
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.036854
                        }
                      ],
                      "others_margin": -0.021153
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.763099670410156,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0351
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0326
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0224
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0221
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0397,
                      "total": 6.7631,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.035075
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.03261
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.02241
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.022081
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.010036
                        }
                      ],
                      "others_margin": -0.039691
                    }
                  }
                ],
                "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.1191, quality 0.897)",
              "stats": {
                "expected_goals": 0.3517,
                "goal_rate": 0.1862,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0577,
                "key_pass": 0,
                "rating": 6.7631,
                "minutes": 28,
                "total_pass": 16,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 4.8457,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 11,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 116000000,
                "quality_factor": 0.897,
                "boost_factor": 1.1191
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0081)",
              "stats": {
                "expected_goals": 0.3517,
                "goal_rate": 0.1847,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0577,
                "key_pass": 0,
                "rating": 6.7631,
                "minutes": 28,
                "total_pass": 16,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 4.8457,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 11,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0081,
                "history_matches": 3,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.7835,
                  "after": 1.7983
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6804,
                  "after": 0.6749
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3517,
                "goal_rate": 0.1847,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0577,
                "key_pass": 0,
                "rating": 6.7631,
                "minutes": 28,
                "total_pass": 16,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 4.8457,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 11,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.4405,
                "goal_rate": 0.2313,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.0577,
                "key_pass": 0,
                "rating": 6.7631,
                "minutes": 28,
                "total_pass": 16,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 4.8457,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 11,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2524,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.372,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.372,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.2524,
                  "skill_edge": 0.1957,
                  "height_edge": -0.024,
                  "attacker_skill": 0.897,
                  "defender_skill": 0.4622,
                  "xg_override": 0.4405
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.7983,
                  "after": 2.2522
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1031,
                  "after": 1.3815
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6749,
                  "after": 0.8452
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3517,
                  "after": 0.4405
                },
                {
                  "stat": "goals",
                  "before": 0.1847,
                  "after": 0.2313
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.6573,
                "goal_rate": 0.2313,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1125,
                "key_pass": 0,
                "rating": 6.7631,
                "minutes": 28,
                "total_pass": 16,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 4.8457,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 11,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2524,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.372,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.4405,
                  "after": 0.6573
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0577,
                  "after": 0.1125
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 86.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.6573,
                "goal_rate": 0.2313,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1125,
                "key_pass": 0,
                "rating": 6.7631,
                "minutes": 28,
                "total_pass": 16,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 4.8457,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 11,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2524,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.372,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 66,
                "fifa_rank": 75.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.6573,
                "goal_rate": 0.2313,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1125,
                "key_pass": 0,
                "rating": 6.7631,
                "minutes": 28,
                "total_pass": 16,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 4.8457,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 11,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2524,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.372,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4818,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.4818,
                "scorer_weight": 0.5258,
                "squad_weight_total": 2.5683,
                "weight_share": 0.2047,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.6573,
                "goal_rate": 0.2313,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1125,
                "key_pass": 0,
                "rating": 6.7631,
                "minutes": 28,
                "total_pass": 16,
                "accurate_pass": 16,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 12,
                "accurate_opp_half_passes": 12,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 27,
                "possession_lost": 4.8457,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 11,
                "total_progression": 13,
                "progressive_carries": 1,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 9.3,
                "pointsPerMatch": 1.0,
                "netGoalDifferencePer90": 0.0,
                "duel_xg_multiplier": 1.2524,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.7,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.372,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4818,
                "projected_assists": 0,
                "assist_probability": 0.1064,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1064,
                "provider_weight": 0.09,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0543,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Ademola Lookman": {
          "player_id": 824200,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 174,
          "market_value": 44000000,
          "stats": {
            "expected_goals": 0.385,
            "goal_rate": 0.2105,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.2215,
            "key_pass": 1,
            "rating": 6.7654,
            "minutes": 66,
            "total_pass": 22,
            "accurate_pass": 19,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 34,
            "possession_lost": 8.568,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 13,
            "total_progression": 33,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 50.0,
            "shotConversion": 0.17,
            "minutesPct": 86.3,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 1.16,
            "duel_xg_multiplier": 1.2119,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.344,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
            "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.3195,
            "projected_assists": 0,
            "assist_probability": 0.1987,
            "finishing_factor": 0.8458,
            "creation_factor": 0.8,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 23,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0578,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 68,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7464,
                "expected_assists": 0.1954,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 31,
                "accurate_pass": 27,
                "key_pass": 5,
                "tackles": 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": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 76,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0408,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "key_pass": 3,
                "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 58,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0443,
                "expected_assists": 0.0411,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 13
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 66,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.211,
                "expected_assists": 0.0891,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 79,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0183,
                "expected_assists": 0.2017,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1539,
                "expected_assists": 0.0102,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 23,
                "accurate_pass": 17,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 451,
            "combined_rank_score": 272.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 236.0,
            "sofascore_rating": 7.1333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 308.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7654,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ademola Lookman",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Piero Hincapié",
                  "ranking": 446
                },
                {
                  "player_name": "Ha Jung-Woo",
                  "ranking": 447
                },
                {
                  "player_name": "Umar Adhamzoda",
                  "ranking": 448
                },
                {
                  "player_name": "Mateo Kovačić",
                  "ranking": 449
                },
                {
                  "player_name": "Jun-seok Lee",
                  "ranking": 450
                }
              ],
              "lower": [
                {
                  "player_name": "Gonzalo Escalante",
                  "ranking": 452
                },
                {
                  "player_name": "Sergio Carreira",
                  "ranking": 453
                },
                {
                  "player_name": "Neto Moura",
                  "ranking": 454
                },
                {
                  "player_name": "Walter",
                  "ranking": 455
                },
                {
                  "player_name": "Gonzalo Plata",
                  "ranking": 456
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.713,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.713,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0901,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 233.0,
              "goals_per90": 0.3846153846153846,
              "assists_per90": 0.0,
              "shots_per90": 2.32,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1733
            },
            "rationale": "XGBoost regressor (F_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.17, gls/90: 0.3846153846153846, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1953,
                "goal_rate": 0.1498,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1042,
                "key_pass": 1,
                "rating": 6.7654,
                "minutes": 66,
                "total_pass": 20,
                "accurate_pass": 17,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 15,
                "accurate_opp_half_passes": 13,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 31,
                "possession_lost": 7.86,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 12,
                "total_progression": 30,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 23.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "onTargetScoringAttempt": 0.2818,
                  "totalShots": 1.3088,
                  "minutesPlayed": 60.6642,
                  "shotValueNormalized": -0.0634,
                  "accuratePass": 17.0858,
                  "expectedAssists": 0.0924
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.19526466727256775,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0795
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0218
                        },
                        {
                          "name": "topSpeed",
                          "contribution": -0.0141
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0116
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0093
                        }
                      ],
                      "others": -0.0542,
                      "total": 0.1953,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": -0.247556
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.080116
                        },
                        {
                          "name": "topSpeed",
                          "margin": -0.055488
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.045859
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.036675
                        }
                      ],
                      "others_margin": -0.24496
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1498303860425949,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0479
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0269
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0231
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0127
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0174,
                      "total": 0.1498,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.183074
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.119415
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.115583
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.069959
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.05119
                        }
                      ],
                      "others_margin": -0.109436
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5205531120300293,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.1186
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0937
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0617
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0222
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0172
                        }
                      ],
                      "others": 0.0234,
                      "total": 0.5206,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.224941
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.181785
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.115828
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.045205
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.035154
                        }
                      ],
                      "others_margin": 0.045832
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.4067531120300294,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1117
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0916
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0511
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0439
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0426
                        }
                      ],
                      "others": 0.0414,
                      "total": 1.4067,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.111678
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.091559
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.05113
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.04394
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.04261
                        }
                      ],
                      "others_margin": 0.04143
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10422887653112411,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0324
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0077
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0053
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0038
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0039
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.1042,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.431816
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.080325
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.051205
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.03559
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.035449
                        }
                      ],
                      "others_margin": -0.082926
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.1488220691680908,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.1824
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0726
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0654
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0612
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0506
                        }
                      ],
                      "others": 0.0384,
                      "total": 1.1488,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.238193
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.080997
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.067766
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.059445
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.04666
                        }
                      ],
                      "others_margin": 0.03396
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.765404224395752,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0417
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0384
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.024
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0097
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0091
                        }
                      ],
                      "others": -0.0035,
                      "total": 6.7654,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.041663
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.038408
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024026
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.009674
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.009078
                        }
                      ],
                      "others_margin": -0.003525
                    }
                  }
                ],
                "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.0901, quality 0.800)",
              "stats": {
                "expected_goals": 0.2129,
                "goal_rate": 0.1633,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1136,
                "key_pass": 1,
                "rating": 6.7654,
                "minutes": 66,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 8.568,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0901
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0469)",
              "stats": {
                "expected_goals": 0.2129,
                "goal_rate": 0.1737,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1136,
                "key_pass": 1,
                "rating": 6.7654,
                "minutes": 66,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 8.568,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.17,
                "minutesPct": 86.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.16
              },
              "params": {
                "blend_weight": 0.0469,
                "history_matches": 7,
                "prior_reliability": 0.1733,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0903
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0722
                },
                {
                  "stat": "totalShots",
                  "before": 1.5335,
                  "after": 1.5704
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5674,
                  "after": 0.5952
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.0181
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0181
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2129,
                "goal_rate": 0.1737,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1136,
                "key_pass": 1,
                "rating": 6.7654,
                "minutes": 66,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 8.568,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.17,
                "minutesPct": 86.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.16
              },
              "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.258,
                "goal_rate": 0.2105,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1136,
                "key_pass": 1,
                "rating": 6.7654,
                "minutes": 66,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 8.568,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.17,
                "minutesPct": 86.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.16,
                "duel_xg_multiplier": 1.2119,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.344,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.2119,
                  "skill_edge": 0.1521,
                  "height_edge": -0.008,
                  "attacker_skill": 0.8002,
                  "defender_skill": 0.4622,
                  "xg_override": 0.258
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.5704,
                  "after": 1.9032
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.966,
                  "after": 1.1707
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5952,
                  "after": 0.7213
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2129,
                  "after": 0.258
                },
                {
                  "stat": "goals",
                  "before": 0.1737,
                  "after": 0.2105
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.385,
                "goal_rate": 0.2105,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.2215,
                "key_pass": 1,
                "rating": 6.7654,
                "minutes": 66,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 8.568,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.17,
                "minutesPct": 86.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.16,
                "duel_xg_multiplier": 1.2119,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8458,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.258,
                  "after": 0.385
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1136,
                  "after": 0.2215
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.385,
                "goal_rate": 0.2105,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.2215,
                "key_pass": 1,
                "rating": 6.7654,
                "minutes": 66,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 8.568,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.17,
                "minutesPct": 86.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.16,
                "duel_xg_multiplier": 1.2119,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8458,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 451,
                "fifa_rank": 308.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.385,
                "goal_rate": 0.2105,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.2215,
                "key_pass": 1,
                "rating": 6.7654,
                "minutes": 66,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 8.568,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.17,
                "minutesPct": 86.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.16,
                "duel_xg_multiplier": 1.2119,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3195,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8458,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.3195,
                "scorer_weight": 0.3256,
                "squad_weight_total": 2.5683,
                "weight_share": 0.1268,
                "finishing_factor": 0.8458,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.385,
                "goal_rate": 0.2105,
                "goals": 0,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.2215,
                "key_pass": 1,
                "rating": 6.7654,
                "minutes": 66,
                "total_pass": 22,
                "accurate_pass": 19,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 17,
                "accurate_opp_half_passes": 14,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 34,
                "possession_lost": 8.568,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "offsides": 0,
                "ball_carries": 13,
                "total_progression": 33,
                "progressive_carries": 2,
                "shots_off_target": 1,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 50.0,
                "shotConversion": 0.17,
                "minutesPct": 86.3,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 1.16,
                "duel_xg_multiplier": 1.2119,
                "dribbles_attempted": 2,
                "dribbles_successful": 0.6,
                "aerial_won": 1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.344,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Youssef Enriquez, Nahuel Tenaglia",
                "opponent_faced": "Youssef Enriquez, Nahuel Tenaglia",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3195,
                "projected_assists": 0,
                "assist_probability": 0.1987,
                "finishing_factor": 0.8458,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1987,
                "provider_weight": 0.1772,
                "squad_weight_total": 1.6575,
                "weight_share": 0.1069,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Juan Musso": {
          "player_id": 263651,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 191,
          "market_value": 3200000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0147,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1174,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 82.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 315,
            "combined_rank_score": 216.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 21.0,
            "sofascore_rating": 8.1,
            "sofascore_appearances": 4.0,
            "fifa_rank": 411.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Juan Musso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Josh Wilson-Esbrand",
                  "ranking": 310
                },
                {
                  "player_name": "Choi Jun-yeong",
                  "ranking": 311
                },
                {
                  "player_name": "Wladimiro Falcone",
                  "ranking": 312
                },
                {
                  "player_name": "Morgan Gibbs-White",
                  "ranking": 313
                },
                {
                  "player_name": "Bojan Ciger",
                  "ranking": 314
                }
              ],
              "lower": [
                {
                  "player_name": "Ju-kong Kim",
                  "ranking": 316
                },
                {
                  "player_name": "Jae-yong Bak",
                  "ranking": 317
                },
                {
                  "player_name": "Bryan Mbeumo",
                  "ranking": 318
                },
                {
                  "player_name": "Sandzhar Kuvvatov",
                  "ranking": 319
                },
                {
                  "player_name": "Jon Ander Olasagasti",
                  "ranking": 320
                }
              ]
            }
          },
          "data_sources": [
            "market_value",
            "fbref_season"
          ],
          "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",
              "fbref_season"
            ],
            "bench_expected_minutes": 4.40206294284004,
            "bench_appearance_prob": 0.10918467922000183,
            "market_value_adjustment": 0.4399,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection from market-value prior (€3,200,000) scaled to 4.4 expected mins; FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90,
                "total_pass": 27,
                "accurate_pass": 20,
                "total_long_balls": 9,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 1,
                "punches": 0.3,
                "aerial_won": 1,
                "sweeper_actions": 1,
                "sweeper_accurate": 1,
                "saves_inside_box": 1,
                "possession_lost": 2.4,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0000)",
              "stats": {
                "saves": 3,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90,
                "total_pass": 27,
                "accurate_pass": 20,
                "total_long_balls": 9,
                "accurate_long_balls": 4,
                "touches": 32,
                "clearances": 1,
                "ball_recovery": 1,
                "high_claims": 1,
                "punches": 0.3,
                "aerial_won": 1,
                "sweeper_actions": 1,
                "sweeper_accurate": 1,
                "saves_inside_box": 1,
                "possession_lost": 2.4,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 21,
                "accurate_own_half_passes": 16
              },
              "params": {
                "blend_weight": 0.0,
                "history_matches": 0,
                "prior_reliability": 0.0,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1174,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "expected_minutes": 4.4,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1174,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "saves": 0,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4,
                "total_pass": 1,
                "accurate_pass": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "touches": 2,
                "clearances": 0,
                "ball_recovery": 0,
                "high_claims": 0,
                "punches": 0.0147,
                "aerial_won": 0,
                "sweeper_actions": 0,
                "sweeper_accurate": 0,
                "saves_inside_box": 0,
                "possession_lost": 0.1174,
                "duels_won": 0,
                "duels_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "total_own_half_passes": 1,
                "accurate_own_half_passes": 1,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 315,
                "fifa_rank": 411.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            }
          ]
        },
        "Marcos Llorente": {
          "player_id": 353138,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 184,
          "market_value": 21000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.8059,
            "minutes": 26,
            "total_pass": 15,
            "accurate_pass": 14,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 1.9569,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0457,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0089,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 17,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.6667,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 0.0,
            "shotConversion": 0.0,
            "minutesPct": 50.0,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 2.67,
            "bench_appearance_probability": 0.49,
            "bench_expected_minutes": 25.72,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.041,
                "total_shots": 0,
                "total_pass": 81,
                "accurate_pass": 77,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0664,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 60,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0269,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0755,
                "expected_assists": 0.0281,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 68,
                "accurate_pass": 63,
                "key_pass": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "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": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 66,
                "rating": 7.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0129,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 48,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 1,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0306,
                "expected_assists": 0.0425,
                "total_shots": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 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": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0088,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 31,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 264,
            "combined_rank_score": 196.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 236.0,
            "sofascore_rating": 7.1333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 157.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8059,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marcos Llorente",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "James Nicholas Delianov",
                  "ranking": 259
                },
                {
                  "player_name": "Scott McTominay",
                  "ranking": 260
                },
                {
                  "player_name": "Yann Sommer",
                  "ranking": 261
                },
                {
                  "player_name": "Éder Militão",
                  "ranking": 262
                },
                {
                  "player_name": "Aleksandar Pavlović",
                  "ranking": 263
                }
              ],
              "lower": [
                {
                  "player_name": "Alexander Sørloth",
                  "ranking": 265
                },
                {
                  "player_name": "Edgar Silva",
                  "ranking": 266
                },
                {
                  "player_name": "Antonio Rüdiger",
                  "ranking": 267
                },
                {
                  "player_name": "Ibrahima Konaté",
                  "ranking": 268
                },
                {
                  "player_name": "Jorge Henríquez",
                  "ranking": 269
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.703,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.703,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.72,
            "bench_appearance_prob": 0.49,
            "market_value_adjustment": 1.0422,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 35.0,
              "goals_per90": 0.0,
              "assists_per90": 0.6666666666666666,
              "prior_reliability": 0.1
            },
            "rationale": "Bench projection scaled from XGBoost D_service (7 historical appearances) to 25.7 expected mins (appearance prob 0.49); FBref playing time empirical prior: 2.0 sub appearances, 35.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.8059,
                "minutes": 66,
                "total_pass": 50,
                "accurate_pass": 46,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 22,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 28,
                "accurate_opp_half_passes": 26,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 65,
                "possession_lost": 6.57,
                "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,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.03,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 58,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.1356,
                  "defensive_actions": 2.9565,
                  "wonTackle": 1.0547,
                  "totalTackle_p90": 2.4262,
                  "totalClearance_p90": 1.6099,
                  "aerialWon": 0.2508
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7254912257194519,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2413
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0432
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0452
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.014
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0117
                        }
                      ],
                      "others": 0.0007,
                      "total": 0.7255,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.310703
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.063217
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062083
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.018876
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.015997
                        }
                      ],
                      "others_margin": 0.001002
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.4967929124832153,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1313
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1225
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0401
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.038
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.035
                        }
                      ],
                      "others": 0.0248,
                      "total": 1.4968,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.094093
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.080427
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.025601
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.024908
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.023471
                        }
                      ],
                      "others_margin": 0.016619
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8050171732902527,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.0503
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.049
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0261
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0166
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0111
                        }
                      ],
                      "others": 0.0013,
                      "total": 0.805,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.062837
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.061307
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.032161
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.020607
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.013712
                        }
                      ],
                      "others_margin": 0.001516
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.8830829858779907,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.6934
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4941
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1443
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1134
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.057
                        }
                      ],
                      "others": -0.0023,
                      "total": 1.8831,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.229021
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.202587
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.067815
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.056739
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.029764
                        }
                      ],
                      "others_margin": -0.001285
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.4717992842197418,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.5401
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1729
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0325
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0246
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0204
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.4718,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.554058
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.270557
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.060199
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.048153
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.041754
                        }
                      ],
                      "others_margin": -0.015199
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3753,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.056
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0277
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0225
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0106
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0101
                        }
                      ],
                      "others": -0.0188,
                      "total": 0.3753,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.05604
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.027653
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.022486
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.010617
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.010068
                        }
                      ],
                      "others_margin": -0.018878
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.805927276611328,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0573
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0158
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0157
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0136
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0129
                        }
                      ],
                      "others": 0.0174,
                      "total": 6.8059,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.057261
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.015761
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.015718
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.013608
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.012907
                        }
                      ],
                      "others_margin": 0.017436
                    }
                  }
                ],
                "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.0422, quality 0.641)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.8059,
                "minutes": 66,
                "total_pass": 52,
                "accurate_pass": 48,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 29,
                "accurate_opp_half_passes": 27,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 6.8475,
                "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,
                "assist_rate": 0.1459,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0313,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 60,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0422
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0271)",
              "stats": {
                "interceptions": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.8059,
                "minutes": 66,
                "total_pass": 52,
                "accurate_pass": 48,
                "duels_won": 3,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 23,
                "accurate_own_half_passes": 21,
                "total_opp_half_passes": 29,
                "accurate_opp_half_passes": 27,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 68,
                "possession_lost": 6.8475,
                "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,
                "assist_rate": 0.16,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0313,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 15,
                "total_progression": 60,
                "progressive_carries": 1,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 50.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.67
              },
              "params": {
                "blend_weight": 0.0271,
                "history_matches": 7,
                "prior_reliability": 0.1,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.1083
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.7561,
                  "after": 0.8078
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0361
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1459,
                  "after": 0.16
                },
                {
                  "stat": "wonTackle",
                  "before": 0.839,
                  "after": 0.8524
                },
                {
                  "stat": "totalShots",
                  "before": 0.3911,
                  "after": 0.3987
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 25.7 expected minutes (appearance prob 0.49)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 1,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.8059,
                "minutes": 26,
                "total_pass": 15,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 1.9569,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0457,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0089,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 50.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.67,
                "bench_appearance_probability": 0.49,
                "bench_expected_minutes": 25.72
              },
              "params": {
                "expected_minutes": 25.72,
                "appearance_probability": 0.49
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 1,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.8059,
                "minutes": 26,
                "total_pass": 15,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 1.9569,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0457,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0089,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 50.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.67,
                "bench_appearance_probability": 0.49,
                "bench_expected_minutes": 25.72
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 85.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 1,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.8059,
                "minutes": 26,
                "total_pass": 15,
                "accurate_pass": 14,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 7,
                "accurate_own_half_passes": 6,
                "total_opp_half_passes": 8,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 19,
                "possession_lost": 1.9569,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0457,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0089,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 17,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.6667,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 0.0,
                "shotConversion": 0.0,
                "minutesPct": 50.0,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 2.67,
                "bench_appearance_probability": 0.49,
                "bench_expected_minutes": 25.72,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 264,
                "fifa_rank": 157.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            }
          ]
        },
        "Robin Le Normand": {
          "player_id": 787751,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 187,
          "market_value": 19100000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7065,
            "minutes": 14,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 7,
            "possession_lost": 0.0,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.5556,
            "ownGoals": 0.0,
            "minutesPct": 61.1,
            "pointsPerMatch": 2.0,
            "netGoalDifferencePer90": 1.09,
            "bench_appearance_probability": 0.232,
            "bench_expected_minutes": 14.3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 8,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0146,
                "expected_assists": 0.0069,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 68,
                "accurate_pass": 63,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 3,
                "duels_won": 5,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 76,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 32,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 28,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 8,
                "aerial_won": 3,
                "duels_won": 6,
                "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": 701,
            "combined_rank_score": 338.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 100.0,
            "sofascore_rating": 7.475,
            "sofascore_appearances": 4.0,
            "fifa_rank": 576.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7065,
            "source_file": "data/player_rankings.csv",
            "player_name": "Robin Le Normand",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jamal Lewis",
                  "ranking": 696
                },
                {
                  "player_name": "Lasha Dvali",
                  "ranking": 697
                },
                {
                  "player_name": "Haris Hajdarević",
                  "ranking": 698
                },
                {
                  "player_name": "Adam Wharton",
                  "ranking": 699
                },
                {
                  "player_name": "Ji-ung Baek",
                  "ranking": 700
                }
              ],
              "lower": [
                {
                  "player_name": "Jonathan Villagra",
                  "ranking": 702
                },
                {
                  "player_name": "Bo-seob Kim",
                  "ranking": 703
                },
                {
                  "player_name": "Mateo Retegui",
                  "ranking": 704
                },
                {
                  "player_name": "Abdukodir Khusanov",
                  "ranking": 705
                },
                {
                  "player_name": "Bradley Barcola",
                  "ranking": 706
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.518,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.518,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 14.303593639163456,
            "bench_appearance_prob": 0.232,
            "market_value_adjustment": 1.0366,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "Bench projection scaled from XGBoost D_service (4 historical appearances) to 14.3 expected mins (appearance prob 0.23); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7065,
                "minutes": 66,
                "total_pass": 34,
                "accurate_pass": 32,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 23,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 43,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:01:55.523250+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 402,
                    "rows": 11400
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 8.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.5957,
                  "defensive_actions": 1.6838,
                  "wonTackle": 0.6862,
                  "totalTackle_p90": 0.9207,
                  "totalClearance_p90": 3.6792,
                  "aerialWon": 1.6051
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6247878670692444,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "interceptionWon",
                        "importance": 0.0903
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0858
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.052
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      }
                    ],
                    "decomposition": {
                      "base": 0.9034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1959
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.07
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0176
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0148
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0116
                        }
                      ],
                      "others": -0.0567,
                      "total": 0.6248,
                      "log_link": true,
                      "margin_base": -0.101631,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.244483
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.104217
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.027218
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.022325
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.017177
                        }
                      ],
                      "others_margin": -0.086731
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1248687505722046,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "defensive_actions",
                        "importance": 0.1044
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0863
                      },
                      {
                        "name": "wonTackle",
                        "importance": 0.0629
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.045
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0342
                      }
                    ],
                    "decomposition": {
                      "base": 1.3313,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.071
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.063
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.033
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0287
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0141
                        }
                      ],
                      "others": -0.0248,
                      "total": 1.1249,
                      "log_link": true,
                      "margin_base": 0.286166,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.054804
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.051251
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.027962
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.024957
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.012349
                        }
                      ],
                      "others_margin": -0.021874
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6648352146148682,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "wonTackle",
                        "importance": 0.1003
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0586
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0501
                      },
                      {
                        "name": "tackle_success_rate",
                        "importance": 0.0492
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0386
                      }
                    ],
                    "decomposition": {
                      "base": 0.8256,
                      "items": [
                        {
                          "name": "wonTackle",
                          "contribution": -0.1251
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0306
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0195
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0194
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0104
                        }
                      ],
                      "others": 0.0054,
                      "total": 0.6648,
                      "log_link": true,
                      "margin_base": -0.191612,
                      "item_margins": [
                        {
                          "name": "wonTackle",
                          "margin": -0.164276
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.044662
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.029498
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.029324
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.015637
                        }
                      ],
                      "others_margin": 0.008145
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.422774314880371,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalClearance",
                        "importance": 0.138
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0733
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0425
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.034
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 3.3876,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -1.1279
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1666
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1303
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0531
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0427
                        }
                      ],
                      "others": -0.038,
                      "total": 2.4228,
                      "log_link": true,
                      "margin_base": 1.220122,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.404876
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.071131
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.052317
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.021004
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.017204
                        }
                      ],
                      "others_margin": -0.015573
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6992382407188416,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.1155
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0659
                      },
                      {
                        "name": "aerial_dominance",
                        "importance": 0.0345
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0335
                      },
                      {
                        "name": "errorLeadToAShot",
                        "importance": 0.0332
                      }
                    ],
                    "decomposition": {
                      "base": 1.2696,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3702
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0735
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.049
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0459
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0217
                        }
                      ],
                      "others": -0.0101,
                      "total": 0.6992,
                      "log_link": true,
                      "margin_base": 0.238719,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.344722
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.085218
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.061202
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.060896
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.030134
                        }
                      ],
                      "others_margin": -0.01431
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.26341521739959717,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0373
                      },
                      {
                        "name": "long_ball_accuracy",
                        "importance": 0.0337
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.0333
                      },
                      {
                        "name": "errorLeadToAGoal",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.476,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0536
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0376
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0214
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0188
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0682,
                      "total": 0.2634,
                      "log_link": false,
                      "margin_base": 0.476045,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053581
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.037647
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.021436
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.018783
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.013005
                        }
                      ],
                      "others_margin": -0.068177
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.706460952758789,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "touches",
                        "importance": 0.0639
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0627
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0466
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0352
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0337
                      }
                    ],
                    "decomposition": {
                      "base": 6.7578,
                      "items": [
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0185
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0143
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0116
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0096
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.0368,
                      "total": 6.7065,
                      "log_link": false,
                      "margin_base": 6.757789,
                      "item_margins": [
                        {
                          "name": "duel_win_rate",
                          "margin": -0.018513
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.014281
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.011636
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.009556
                        },
                        {
                          "name": "touches",
                          "margin": -0.008334
                        }
                      ],
                      "others_margin": -0.036681
                    }
                  }
                ],
                "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.0366, quality 0.622)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7065,
                "minutes": 66,
                "total_pass": 35,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0
              },
              "params": {
                "market_value_eur": 19100000,
                "quality_factor": 0.6221,
                "boost_factor": 1.0366
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0433)",
              "stats": {
                "interceptions": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "total_shots": 0,
                "rating": 6.7065,
                "minutes": 66,
                "total_pass": 35,
                "accurate_pass": 33,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 24,
                "accurate_own_half_passes": 24,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 44,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 2,
                "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,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5556,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.09
              },
              "params": {
                "blend_weight": 0.0433,
                "history_matches": 4,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.6477,
                  "after": 0.7159
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0481
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0241
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6892,
                  "after": 0.7075
                },
                {
                  "stat": "totalShots",
                  "before": 0.2731,
                  "after": 0.2613
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 14.3 expected minutes (appearance prob 0.23)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7065,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5556,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.09,
                "bench_appearance_probability": 0.232,
                "bench_expected_minutes": 14.3
              },
              "params": {
                "expected_minutes": 14.3,
                "appearance_probability": 0.232
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7065,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5556,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.09,
                "bench_appearance_probability": 0.232,
                "bench_expected_minutes": 14.3
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "interceptions": 0,
                "tackles": 0,
                "tackles_won": 0,
                "clearances": 0,
                "aerial_won": 0,
                "total_shots": 0,
                "rating": 6.7065,
                "minutes": 14,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 4,
                "accurate_own_half_passes": 4,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 7,
                "possession_lost": 0.0,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "shots_on_target": 0,
                "big_chances_created": 0,
                "xgot": 0.0,
                "ball_carries": 0,
                "total_progression": 0,
                "progressive_carries": 0,
                "key_pass": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.5556,
                "ownGoals": 0.0,
                "minutesPct": 61.1,
                "pointsPerMatch": 2.0,
                "netGoalDifferencePer90": 1.09,
                "bench_appearance_probability": 0.232,
                "bench_expected_minutes": 14.3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 701,
                "fifa_rank": 576.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            }
          ]
        },
        "Rodrigo Mendoza": {
          "player_id": 1391752,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 182,
          "market_value": 21000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0057,
            "assist_rate": 0.0085,
            "assists": 0,
            "expected_goals": 0.0232,
            "goal_rate": 0.018,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6978,
            "minutes": 14,
            "total_pass": 2,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 0,
            "accurate_own_half_passes": 0,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 3,
            "possession_lost": 0.7328,
            "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,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 1,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "offsides": 0,
            "yellowCards": 0.0,
            "redCards": 0.0,
            "ownGoals": 0.0,
            "shotAccuracy": 60.0,
            "shotConversion": 0.0,
            "minutesPct": 39.6,
            "pointsPerMatch": 2.33,
            "netGoalDifferencePer90": 0.0,
            "bench_appearance_probability": 0.452,
            "bench_expected_minutes": 13.55,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416316.0,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0839,
                "expected_assists": 0.0065,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055.0,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 57,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2244,
                "expected_assists": 0.0766,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 22,
                "accurate_pass": 20,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1376,
            "combined_rank_score": 713.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 848.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6978,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rodrigo Mendoza",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jemmes",
                  "ranking": 1371
                },
                {
                  "player_name": "Samandar Muratbaev",
                  "ranking": 1372
                },
                {
                  "player_name": "Kyeong-jae Kim",
                  "ranking": 1373
                },
                {
                  "player_name": "Jung-min Lee",
                  "ranking": 1374
                },
                {
                  "player_name": "Rafa Garrido",
                  "ranking": 1375
                }
              ],
              "lower": [
                {
                  "player_name": "Peque Fernández",
                  "ranking": 1377
                },
                {
                  "player_name": "Javi Morcillo",
                  "ranking": 1378
                },
                {
                  "player_name": "Luis Pacheco",
                  "ranking": 1379
                },
                {
                  "player_name": "Fredy Noguera",
                  "ranking": 1380
                },
                {
                  "player_name": "Guillermo Varela",
                  "ranking": 1381
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.45,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.45,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.55,
            "bench_appearance_prob": 0.452,
            "market_value_adjustment": 1.0422,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 6.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "Bench projection scaled from XGBoost M_service (3 historical appearances) to 13.6 expected mins (appearance prob 0.45); FBref playing time empirical prior: 1.0 sub appearances, 6.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0362,
                "assist_rate": 0.0563,
                "assists": 0,
                "expected_goals": 0.1476,
                "goal_rate": 0.1187,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6978,
                "minutes": 38,
                "total_pass": 13,
                "accurate_pass": 12,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 4.67,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 9,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.5034,
                  "expectedAssists": 0.0237,
                  "creative_index": 0.0142,
                  "creative_efficiency": 0.0,
                  "shotValueNormalized": -0.0377,
                  "dribbleValueNormalized": 0.024
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.4991163909435272,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.1615
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.1099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0344
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0298
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0262
                        }
                      ],
                      "others": -0.0658,
                      "total": 0.4991,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.191495
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.155094
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.053911
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.049156
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.045348
                        }
                      ],
                      "others_margin": -0.123764
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03622356429696083,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0282
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0033
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0029
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0026
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0118,
                      "total": 0.0362,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.390716
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.058311
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.052692
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.049557
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.045714
                        }
                      ],
                      "others_margin": -0.281864
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05627109855413437,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0118
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0063
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0033
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0026
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.0563,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": -0.14886
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.090443
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.049944
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.041418
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.037997
                        }
                      ],
                      "others_margin": -0.121464
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.14757956564426422,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0202
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0149
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0133
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0129
                        },
                        {
                          "name": "kilometersCovered",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.0303,
                      "total": 0.1476,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.104693
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.076075
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.068515
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.066287
                        },
                        {
                          "name": "kilometersCovered",
                          "margin": -0.057023
                        }
                      ],
                      "others_margin": -0.186902
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11872796714305878,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.049
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0341
                        },
                        {
                          "name": "intensity_index",
                          "contribution": -0.0215
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0103
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.01
                        }
                      ],
                      "others": -0.0223,
                      "total": 0.1187,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.286127
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.189973
                        },
                        {
                          "name": "intensity_index",
                          "margin": -0.141577
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.075327
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.073357
                        }
                      ],
                      "others_margin": -0.17236
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.28777286410331726,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0335
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0231
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.014
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.014
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0133
                        }
                      ],
                      "others": -0.0467,
                      "total": 0.2878,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.094673
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.064332
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.039511
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.039346
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.038999
                        }
                      ],
                      "others_margin": -0.150694
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2569074630737305,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3471
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0448
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0439
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.03
                        }
                      ],
                      "others": -0.0452,
                      "total": 1.2569,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.347052
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.05398
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.04484
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.04387
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.02997
                        }
                      ],
                      "others_margin": -0.045233
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.697775363922119,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0463
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0334
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0294
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0272
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0159
                        }
                      ],
                      "others": -0.0642,
                      "total": 6.6978,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.046306
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.03343
                        },
                        {
                          "name": "touches",
                          "margin": -0.029409
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.027218
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.015889
                        }
                      ],
                      "others_margin": -0.064163
                    }
                  }
                ],
                "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.0422, quality 0.641)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0378,
                "assist_rate": 0.0586,
                "assists": 0,
                "expected_goals": 0.1538,
                "goal_rate": 0.1237,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6978,
                "minutes": 38,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 4.8672,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0422
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0325)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.0378,
                "assist_rate": 0.0567,
                "assists": 0,
                "expected_goals": 0.1538,
                "goal_rate": 0.1197,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.6978,
                "minutes": 38,
                "total_pass": 14,
                "accurate_pass": 12,
                "duels_won": 4,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 11,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 22,
                "possession_lost": 4.8672,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 6,
                "total_progression": 10,
                "progressive_carries": 0,
                "shots_off_target": 1,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.0,
                "minutesPct": 39.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0
              },
              "params": {
                "blend_weight": 0.0325,
                "history_matches": 3,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.31,
                  "after": 1.4042
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2999,
                  "after": 0.3721
                },
                {
                  "stat": "wonTackle",
                  "before": 0.0,
                  "after": 0.0542
                },
                {
                  "stat": "totalCross",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0271
                },
                {
                  "stat": "wasFouled",
                  "before": 0.0,
                  "after": 0.0271
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 13.6 expected minutes (appearance prob 0.45)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0057,
                "assist_rate": 0.0085,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.018,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6978,
                "minutes": 14,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.7328,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.0,
                "minutesPct": 39.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.452,
                "bench_expected_minutes": 13.55
              },
              "params": {
                "expected_minutes": 13.55,
                "appearance_probability": 0.452
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0057,
                "assist_rate": 0.0085,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.018,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6978,
                "minutes": 14,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.7328,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.0,
                "minutesPct": 39.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.452,
                "bench_expected_minutes": 13.55
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0057,
                "assist_rate": 0.0085,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.018,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.6978,
                "minutes": 14,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_own_half_passes": 0,
                "accurate_own_half_passes": 0,
                "total_opp_half_passes": 2,
                "accurate_opp_half_passes": 1,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 3,
                "possession_lost": 0.7328,
                "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,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 1,
                "total_progression": 1,
                "progressive_carries": 0,
                "shots_off_target": 0,
                "offsides": 0,
                "yellowCards": 0.0,
                "redCards": 0.0,
                "ownGoals": 0.0,
                "shotAccuracy": 60.0,
                "shotConversion": 0.0,
                "minutesPct": 39.6,
                "pointsPerMatch": 2.33,
                "netGoalDifferencePer90": 0.0,
                "bench_appearance_probability": 0.452,
                "bench_expected_minutes": 13.55,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1376,
                "fifa_rank": 848.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Alejandro Grimaldo": {
          "player_id": 177177,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 171,
          "market_value": 19400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0517,
            "assist_rate": 0.0207,
            "assists": 0,
            "expected_goals": 0.0694,
            "goal_rate": 0.0452,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8452,
            "minutes": 23,
            "total_pass": 13,
            "accurate_pass": 11,
            "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": 6,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 3.9725,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 16,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.533,
            "bench_expected_minutes": 22.72,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0357,
            "projected_assists": 0,
            "assist_probability": 0.0269,
            "finishing_factor": 0.9865,
            "creation_factor": 0.9242,
            "fifa_overall": 89.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8458,
                "expected_assists": 0.0237,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 47,
                "accurate_pass": 42,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 85,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3081,
                "expected_assists": 0.2421,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 49,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 7,
                "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": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.8419,
                "expected_assists": 0.0527,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 47,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0107,
                "expected_assists": 0.0749,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 49,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0902,
                "expected_assists": 0.012,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 35,
                "accurate_pass": 28,
                "tackles": 2,
                "clearances": 2,
                "aerial_won": 1,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.06,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 42,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 20,
            "combined_rank_score": 22.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 30.0,
            "sofascore_rating": 8.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 15.0,
            "fifa_overall": 89.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8452,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alejandro Grimaldo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gabriel",
                  "ranking": 15
                },
                {
                  "player_name": "Cesinha",
                  "ranking": 16
                },
                {
                  "player_name": "James Rodríguez",
                  "ranking": 17
                },
                {
                  "player_name": "Memphis Depay",
                  "ranking": 18
                },
                {
                  "player_name": "Gustavo Henrique",
                  "ranking": 19
                }
              ],
              "lower": [
                {
                  "player_name": "Marc Bartra",
                  "ranking": 21
                },
                {
                  "player_name": "Khvicha Kvaratskhelia",
                  "ranking": 22
                },
                {
                  "player_name": "Danijel Petković",
                  "ranking": 23
                },
                {
                  "player_name": "Angel Fortuno",
                  "ranking": 24
                },
                {
                  "player_name": "Hyun-woo Cho",
                  "ranking": 25
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.715473211247698,
            "bench_appearance_prob": 0.5325215096021682,
            "market_value_adjustment": 1.0375,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (6 historical appearances) to 22.7 expected mins (appearance prob 0.53)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1011,
                "assist_rate": 0.079,
                "assists": 0,
                "expected_goals": 0.1775,
                "goal_rate": 0.1724,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8452,
                "minutes": 89,
                "total_pass": 48,
                "accurate_pass": 40,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 29,
                "accurate_opp_half_passes": 23,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 15.17,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 59,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.7452,
                  "expectedAssists": 0.0834,
                  "creative_index": 0.2834,
                  "creative_efficiency": 0.034,
                  "shotValueNormalized": 0.0574,
                  "dribbleValueNormalized": 0.2615
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8320115208625793,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1172
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.034
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0272
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0206
                        }
                      ],
                      "others": 0.0397,
                      "total": 0.832,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.135204
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.130509
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.046749
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.035841
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.02641
                        }
                      ],
                      "others_margin": 0.048953
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1010526791214943,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0067
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0052
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0047
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0047
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0031
                        }
                      ],
                      "others": 0.0051,
                      "total": 0.1011,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.074383
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.053402
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.04901
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.048473
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.032253
                        }
                      ],
                      "others_margin": 0.052082
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07903366535902023,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0082
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0048
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0025
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0016
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0015
                        }
                      ],
                      "others": -0.0069,
                      "total": 0.079,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.091907
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.052333
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.028416
                        },
                        {
                          "name": "touches",
                          "margin": -0.018458
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.017912
                        }
                      ],
                      "others_margin": -0.085052
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17754003405570984,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0192
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0078
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.007
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.005
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0137,
                      "total": 0.1775,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.100011
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.039445
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.035536
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.025412
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.024842
                        }
                      ],
                      "others_margin": -0.074099
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17241498827934265,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.036
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0235
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0193
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0145
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0078
                        }
                      ],
                      "others": -0.009,
                      "total": 0.1724,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.217674
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.120471
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.097502
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.080022
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.043862
                        }
                      ],
                      "others_margin": -0.051168
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3956775367259979,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0373
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0308
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0185
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0171
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0103
                        }
                      ],
                      "others": -0.0187,
                      "total": 0.3957,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.104851
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.07904
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.046696
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.043272
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.02518
                        }
                      ],
                      "others_margin": -0.046407
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.331977536725998,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3079
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.044
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0425
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0255
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0247
                        }
                      ],
                      "others": -0.0117,
                      "total": 1.332,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.307851
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.043952
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.042458
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.025452
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.024702
                        }
                      ],
                      "others_margin": -0.011725
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.845157146453857,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0945
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0583
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0507
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.027
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0174
                        }
                      ],
                      "others": 0.0279,
                      "total": 6.8452,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.094537
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.058252
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.050714
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.027039
                        },
                        {
                          "name": "touches",
                          "margin": 0.017361
                        }
                      ],
                      "others_margin": 0.028003
                    }
                  }
                ],
                "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.0375, quality 0.625)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1048,
                "assist_rate": 0.082,
                "assists": 0,
                "expected_goals": 0.1842,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8452,
                "minutes": 89,
                "total_pass": 50,
                "accurate_pass": 42,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 30,
                "accurate_opp_half_passes": 24,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 15.7394,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 62,
                "progressive_carries": 3,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 19400000,
                "quality_factor": 0.6251,
                "boost_factor": 1.0375
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.7 expected minutes (appearance prob 0.53)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0265,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0465,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72
              },
              "params": {
                "expected_minutes": 22.72,
                "appearance_probability": 0.533
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0265,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0465,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72
              },
              "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 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0517,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9865,
                "creation_factor": 0.9242
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 0.533
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0465,
                  "after": 0.0694
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0265,
                  "after": 0.0517
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 89.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0517,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9865,
                "creation_factor": 0.9242,
                "fifa_overall": 89.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 20,
                "fifa_rank": 15.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 89.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0517,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0357,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9865,
                "creation_factor": 0.9242,
                "fifa_overall": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0357,
                "scorer_weight": 0.0365,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0142,
                "finishing_factor": 0.9865,
                "appearance_weight": 0.533,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0517,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0357,
                "projected_assists": 0,
                "assist_probability": 0.0269,
                "finishing_factor": 0.9865,
                "creation_factor": 0.9242,
                "fifa_overall": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0269,
                "provider_weight": 0.0255,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0154,
                "creation_factor": 0.9242,
                "appearance_weight": 0.533,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Jonathan David": {
          "player_id": 935564,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 30,
          "height": 180,
          "market_value": 29000000,
          "stats": {
            "expected_goals": 0.1722,
            "goal_rate": 0.1811,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0622,
            "key_pass": 0,
            "rating": 7.2316,
            "minutes": 26,
            "total_pass": 4,
            "accurate_pass": 3,
            "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.3487,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.1028,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.4462,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 15,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.608,
            "bench_expected_minutes": 26.37,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0962,
            "projected_assists": 0,
            "assist_probability": 0.0367,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 62,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5928,
                "expected_assists": 0.231,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 68,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 1.4628,
                "expected_assists": 0.3606,
                "total_shots": 6,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 17,
                "key_pass": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 30,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2584,
                "expected_assists": 0.0115,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 8,
                "accurate_pass": 4,
                "key_pass": 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": 1190,
            "combined_rank_score": 524.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 310.0,
            "sofascore_rating": 7.0333,
            "sofascore_appearances": 6.0,
            "fifa_rank": 738.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2316,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonathan David",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fernando Calero",
                  "ranking": 1185
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Gerard Martín",
                  "ranking": 1191
                },
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 26.37159379857936,
            "bench_appearance_prob": 0.6077997181172436,
            "market_value_adjustment": 1.063,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 26.4 expected mins (appearance prob 0.61)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3704,
                "goal_rate": 0.5815,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.2316,
                "minutes": 53,
                "total_pass": 12,
                "accurate_pass": 11,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 4.33,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.33,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.96,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 47,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 30.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.9
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 1.9417,
                  "totalShots": 3.3217,
                  "minutesPlayed": 54.9951,
                  "shotValueNormalized": 0.4217,
                  "accuratePass": 11.0165,
                  "expectedAssists": 0.2122
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.37042665481567383,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0724
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0479
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0391
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0359
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0289
                        }
                      ],
                      "others": -0.0664,
                      "total": 0.3704,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": 0.182104
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.104438
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.08446
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.084424
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.068551
                        }
                      ],
                      "others_margin": -0.164844
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.5814979076385498,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.1563
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0912
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0945
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0523
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0246
                        }
                      ],
                      "others": -0.0748,
                      "total": 0.5815,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.435294
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.187133
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.162899
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.079984
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.03674
                        }
                      ],
                      "others_margin": -0.121124
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8459305167198181,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.2167
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.1223
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0823
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0856
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0567
                        }
                      ],
                      "others": -0.1931,
                      "total": 0.8459,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.313323
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.141324
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.084996
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.081329
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.053116
                        }
                      ],
                      "others_margin": -0.205514
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.8658562898635864,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.322
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1972
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.1281
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1134
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.1051
                        }
                      ],
                      "others": 0.0479,
                      "total": 1.8659,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.322017
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.197171
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.128053
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.113378
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.105139
                        }
                      ],
                      "others_margin": 0.047766
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10247831791639328,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0341
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0107
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0047
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0037
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.005,
                      "total": 0.1025,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.44951
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.107957
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.046228
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.036111
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.035159
                        }
                      ],
                      "others_margin": -0.04799
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6726621985435486,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1257
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0944
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0253
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0248
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0216
                        }
                      ],
                      "others": 0.0037,
                      "total": 0.6727,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.204902
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.157651
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.038362
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.037599
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.032857
                        }
                      ],
                      "others_margin": 0.005402
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.231647491455078,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.2395
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1006
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0657
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0583
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0381
                        }
                      ],
                      "others": 0.031,
                      "total": 7.2316,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.239454
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.100593
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.065739
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.058269
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.038142
                        }
                      ],
                      "others_margin": 0.031028
                    }
                  }
                ],
                "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.0630, quality 0.710)",
              "stats": {
                "expected_goals": 0.3938,
                "goal_rate": 0.6181,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1089,
                "key_pass": 1,
                "rating": 7.2316,
                "minutes": 53,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 4.6028,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.3508,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 1.0205,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 50,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 29000000,
                "quality_factor": 0.71,
                "boost_factor": 1.063
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 26.4 expected minutes (appearance prob 0.61)",
              "stats": {
                "expected_goals": 0.1154,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0319,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.299,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37
              },
              "params": {
                "expected_minutes": 26.37,
                "appearance_probability": 0.608
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1154,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0319,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.299,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37
              },
              "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 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1722,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0622,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4462,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 0.608
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1154,
                  "after": 0.1722
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0319,
                  "after": 0.0622
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1722,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0622,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4462,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1190,
                "fifa_rank": 738.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1722,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0622,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4462,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0962,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0962,
                "scorer_weight": 0.1309,
                "squad_weight_total": 2.5683,
                "weight_share": 0.051,
                "finishing_factor": 1.25,
                "appearance_weight": 0.608,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1722,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0622,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4462,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0962,
                "projected_assists": 0,
                "assist_probability": 0.0367,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0367,
                "provider_weight": 0.0473,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0285,
                "creation_factor": 1.25,
                "appearance_weight": 0.608,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Alexander Sørloth": {
          "player_id": 309078,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 195,
          "market_value": 18600000,
          "stats": {
            "expected_goals": 0.1267,
            "goal_rate": 0.0549,
            "goals": 0,
            "total_shots": 1,
            "shots_on_target": 0,
            "expected_assists": 0.0597,
            "duels_won": 1,
            "aerial_won": 1,
            "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.687,
            "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,
            "assist_rate": 0.026,
            "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.097,
            "offsides": 1,
            "ball_carries": 6,
            "total_progression": 16,
            "progressive_carries": 2,
            "bench_appearance_probability": 0.591,
            "bench_expected_minutes": 26.0,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0703,
            "projected_assists": 0,
            "assist_probability": 0.0343,
            "finishing_factor": 0.8,
            "creation_factor": 0.9429,
            "fifa_overall": 83.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 265,
            "combined_rank_score": 198.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 89.0,
            "sofascore_rating": 7.5125,
            "sofascore_appearances": 8.0,
            "fifa_rank": 307.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alexander Sørloth",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Scott McTominay",
                  "ranking": 260
                },
                {
                  "player_name": "Yann Sommer",
                  "ranking": 261
                },
                {
                  "player_name": "Éder Militão",
                  "ranking": 262
                },
                {
                  "player_name": "Aleksandar Pavlović",
                  "ranking": 263
                },
                {
                  "player_name": "Marcos Llorente",
                  "ranking": 264
                }
              ],
              "lower": [
                {
                  "player_name": "Edgar Silva",
                  "ranking": 266
                },
                {
                  "player_name": "Antonio Rüdiger",
                  "ranking": 267
                },
                {
                  "player_name": "Ibrahima Konaté",
                  "ranking": 268
                },
                {
                  "player_name": "Jorge Henríquez",
                  "ranking": 269
                },
                {
                  "player_name": "Seong-min Hwang",
                  "ranking": 270
                }
              ]
            }
          },
          "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": 26.00361813055217,
            "bench_appearance_prob": 0.5910735513887351,
            "market_value_adjustment": 0.6171,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€18,600,000) scaled to 26.0 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.62)",
              "stats": {
                "expected_goals": 0.294,
                "goal_rate": 0.19,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.106,
                "duels_won": 5,
                "aerial_won": 2,
                "rating": 7.1,
                "minutes": 90,
                "total_pass": 32,
                "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.3,
                "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,
                "assist_rate": 0.09,
                "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.225,
                "offsides": 1,
                "ball_carries": 22,
                "total_progression": 56,
                "progressive_carries": 6
              },
              "params": {
                "market_value_eur": 18600000,
                "quality_factor": 0.6171
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 26.0 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0306,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.065,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0
              },
              "params": {
                "expected_minutes": 26.0,
                "appearance_probability": 0.591
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0306,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.065,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0
              },
              "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 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1267,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0597,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.097,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9429
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 0.591
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0849,
                  "after": 0.1267
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0306,
                  "after": 0.0597
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1267,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0597,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.097,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9429,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 265,
                "fifa_rank": 307.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1267,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0597,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.097,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0703,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9429,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0703,
                "scorer_weight": 0.0599,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0233,
                "finishing_factor": 0.8,
                "appearance_weight": 0.591,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1267,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0597,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.097,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0703,
                "projected_assists": 0,
                "assist_probability": 0.0343,
                "finishing_factor": 0.8,
                "creation_factor": 0.9429,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0343,
                "provider_weight": 0.0333,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0201,
                "creation_factor": 0.9429,
                "appearance_weight": 0.591,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Jonathan David": {
          "player_id": 935564,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 30,
          "height": 180,
          "market_value": 29000000,
          "stats": {
            "expected_goals": 0.1722,
            "goal_rate": 0.1811,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0622,
            "key_pass": 0,
            "rating": 7.2316,
            "minutes": 26,
            "total_pass": 4,
            "accurate_pass": 3,
            "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.3487,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.1028,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.4462,
            "offsides": 0,
            "ball_carries": 1,
            "total_progression": 15,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.608,
            "bench_expected_minutes": 26.37,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0962,
            "projected_assists": 0,
            "assist_probability": 0.0367,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 62,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5928,
                "expected_assists": 0.231,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 68,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 1.4628,
                "expected_assists": 0.3606,
                "total_shots": 6,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 17,
                "key_pass": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 30,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2584,
                "expected_assists": 0.0115,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 8,
                "accurate_pass": 4,
                "key_pass": 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": 1190,
            "combined_rank_score": 524.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 310.0,
            "sofascore_rating": 7.0333,
            "sofascore_appearances": 6.0,
            "fifa_rank": 738.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2316,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonathan David",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fernando Calero",
                  "ranking": 1185
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Gerard Martín",
                  "ranking": 1191
                },
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "topSpeed",
              "numberOfSprints",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "speed_threat",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 26.37159379857936,
            "bench_appearance_prob": 0.6077997181172436,
            "market_value_adjustment": 1.063,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 26.4 expected mins (appearance prob 0.61)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3704,
                "goal_rate": 0.5815,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1025,
                "key_pass": 1,
                "rating": 7.2316,
                "minutes": 53,
                "total_pass": 12,
                "accurate_pass": 11,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 9,
                "accurate_opp_half_passes": 8,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 21,
                "possession_lost": 4.33,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.33,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.96,
                "offsides": 0,
                "ball_carries": 4,
                "total_progression": 47,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 5,
                  "trained_at": "2026-09-29T10:02:15.441175+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 325,
                    "rows": 6303
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 30.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 7.9
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "onTargetScoringAttempt": 1.9417,
                  "totalShots": 3.3217,
                  "minutesPlayed": 54.9951,
                  "shotValueNormalized": 0.4217,
                  "accuratePass": 11.0165,
                  "expectedAssists": 0.2122
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.37042665481567383,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0826
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0724
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.048
                      },
                      {
                        "name": "touches_p90",
                        "importance": 0.0379
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0352
                      }
                    ],
                    "decomposition": {
                      "base": 0.3626,
                      "items": [
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0724
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0479
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0391
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0359
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0289
                        }
                      ],
                      "others": -0.0664,
                      "total": 0.3704,
                      "log_link": true,
                      "margin_base": -1.014464,
                      "item_margins": [
                        {
                          "name": "xg_per_shot",
                          "margin": 0.182104
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.104438
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.08446
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.084424
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.068551
                        }
                      ],
                      "others_margin": -0.164844
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.5814979076385498,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1258
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0801
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0583
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0323
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.2866,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.1563
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0912
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0945
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0523
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0246
                        }
                      ],
                      "others": -0.0748,
                      "total": 0.5815,
                      "log_link": true,
                      "margin_base": -1.249595,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.435294
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.187133
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.162899
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.079984
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.03674
                        }
                      ],
                      "others_margin": -0.121124
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8459305167198181,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.1486
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0633
                      },
                      {
                        "name": "shot_accuracy",
                        "importance": 0.0618
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0343
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 0.5888,
                      "items": [
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.2167
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.1223
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0823
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0856
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.0567
                        }
                      ],
                      "others": -0.1931,
                      "total": 0.8459,
                      "log_link": true,
                      "margin_base": -0.52966,
                      "item_margins": [
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.313323
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.141324
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.084996
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.081329
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.053116
                        }
                      ],
                      "others_margin": -0.205514
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.8658562898635864,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "minutesPlayed",
                        "importance": 0.1122
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0872
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0825
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.074
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0566
                      }
                    ],
                    "decomposition": {
                      "base": 1.4352,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.322
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1972
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": -0.1281
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.1134
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.1051
                        }
                      ],
                      "others": 0.0479,
                      "total": 1.8659,
                      "log_link": false,
                      "margin_base": 1.435195,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.322017
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.197171
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": -0.128053
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.113378
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.105139
                        }
                      ],
                      "others_margin": 0.047766
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10247831791639328,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1197
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0571
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0451
                      },
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0369
                      }
                    ],
                    "decomposition": {
                      "base": 0.06,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0341
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0107
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0047
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0037
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.005,
                      "total": 0.1025,
                      "log_link": true,
                      "margin_base": -2.812623,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.44951
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.107957
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.046228
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.036111
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.035159
                        }
                      ],
                      "others_margin": -0.04799
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6726621985435486,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "accuratePass",
                        "importance": 0.1105
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0916
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0444
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0409
                      }
                    ],
                    "decomposition": {
                      "base": 0.6782,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1257
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0944
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0253
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0248
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0216
                        }
                      ],
                      "others": 0.0037,
                      "total": 0.6727,
                      "log_link": true,
                      "margin_base": -0.388283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.204902
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.157651
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.038362
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.037599
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.032857
                        }
                      ],
                      "others_margin": 0.005402
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.231647491455078,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0847
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0724
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0628
                      },
                      {
                        "name": "dispossessed",
                        "importance": 0.0551
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0438
                      }
                    ],
                    "decomposition": {
                      "base": 6.815,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.2395
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1006
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0657
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0583
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0381
                        }
                      ],
                      "others": 0.031,
                      "total": 7.2316,
                      "log_link": false,
                      "margin_base": 6.814961,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.239454
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.100593
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.065739
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.058269
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.038142
                        }
                      ],
                      "others_margin": 0.031028
                    }
                  }
                ],
                "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.0630, quality 0.710)",
              "stats": {
                "expected_goals": 0.3938,
                "goal_rate": 0.6181,
                "goals": 1,
                "shots_on_target": 1,
                "total_shots": 2,
                "expected_assists": 0.1089,
                "key_pass": 1,
                "rating": 7.2316,
                "minutes": 53,
                "total_pass": 13,
                "accurate_pass": 11,
                "duels_won": 2,
                "total_long_balls": 0,
                "accurate_long_balls": 0,
                "total_opp_half_passes": 10,
                "accurate_opp_half_passes": 9,
                "crosses_total": 0,
                "crosses_accurate": 0,
                "touches": 23,
                "possession_lost": 4.6028,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.3508,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 1.0205,
                "offsides": 0,
                "ball_carries": 5,
                "total_progression": 50,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 29000000,
                "quality_factor": 0.71,
                "boost_factor": 1.063
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 26.4 expected minutes (appearance prob 0.61)",
              "stats": {
                "expected_goals": 0.1154,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0319,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.299,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37
              },
              "params": {
                "expected_minutes": 26.37,
                "appearance_probability": 0.608
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1154,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0319,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.299,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37
              },
              "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 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1722,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0622,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4462,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 0.608
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1154,
                  "after": 0.1722
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0319,
                  "after": 0.0622
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1722,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0622,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4462,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1190,
                "fifa_rank": 738.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1722,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0622,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4462,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0962,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0962,
                "scorer_weight": 0.1309,
                "squad_weight_total": 2.5683,
                "weight_share": 0.051,
                "finishing_factor": 1.25,
                "appearance_weight": 0.608,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1722,
                "goal_rate": 0.1811,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "expected_assists": 0.0622,
                "key_pass": 0,
                "rating": 7.2316,
                "minutes": 26,
                "total_pass": 4,
                "accurate_pass": 3,
                "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.3487,
                "dispossessed": 0.0,
                "duels_lost": 0,
                "aerial_lost": 0,
                "total_contest": 0,
                "won_contest": 0,
                "ball_recovery": 1,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "assist_rate": 0.1028,
                "assists": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 0,
                "clearances": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.4462,
                "offsides": 0,
                "ball_carries": 1,
                "total_progression": 15,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.608,
                "bench_expected_minutes": 26.37,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0962,
                "projected_assists": 0,
                "assist_probability": 0.0367,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0367,
                "provider_weight": 0.0473,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0285,
                "creation_factor": 1.25,
                "appearance_weight": 0.608,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Alexander Sørloth": {
          "player_id": 309078,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 195,
          "market_value": 18600000,
          "stats": {
            "expected_goals": 0.1267,
            "goal_rate": 0.0549,
            "goals": 0,
            "total_shots": 1,
            "shots_on_target": 0,
            "expected_assists": 0.0597,
            "duels_won": 1,
            "aerial_won": 1,
            "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.687,
            "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,
            "assist_rate": 0.026,
            "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.097,
            "offsides": 1,
            "ball_carries": 6,
            "total_progression": 16,
            "progressive_carries": 2,
            "bench_appearance_probability": 0.591,
            "bench_expected_minutes": 26.0,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0703,
            "projected_assists": 0,
            "assist_probability": 0.0343,
            "finishing_factor": 0.8,
            "creation_factor": 0.9429,
            "fifa_overall": 83.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 265,
            "combined_rank_score": 198.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 89.0,
            "sofascore_rating": 7.5125,
            "sofascore_appearances": 8.0,
            "fifa_rank": 307.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alexander Sørloth",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Scott McTominay",
                  "ranking": 260
                },
                {
                  "player_name": "Yann Sommer",
                  "ranking": 261
                },
                {
                  "player_name": "Éder Militão",
                  "ranking": 262
                },
                {
                  "player_name": "Aleksandar Pavlović",
                  "ranking": 263
                },
                {
                  "player_name": "Marcos Llorente",
                  "ranking": 264
                }
              ],
              "lower": [
                {
                  "player_name": "Edgar Silva",
                  "ranking": 266
                },
                {
                  "player_name": "Antonio Rüdiger",
                  "ranking": 267
                },
                {
                  "player_name": "Ibrahima Konaté",
                  "ranking": 268
                },
                {
                  "player_name": "Jorge Henríquez",
                  "ranking": 269
                },
                {
                  "player_name": "Seong-min Hwang",
                  "ranking": 270
                }
              ]
            }
          },
          "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": 26.00361813055217,
            "bench_appearance_prob": 0.5910735513887351,
            "market_value_adjustment": 0.6171,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€18,600,000) scaled to 26.0 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position F (quality 0.62)",
              "stats": {
                "expected_goals": 0.294,
                "goal_rate": 0.19,
                "goals": 0,
                "total_shots": 3,
                "shots_on_target": 2,
                "expected_assists": 0.106,
                "duels_won": 5,
                "aerial_won": 2,
                "rating": 7.1,
                "minutes": 90,
                "total_pass": 32,
                "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.3,
                "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,
                "assist_rate": 0.09,
                "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.225,
                "offsides": 1,
                "ball_carries": 22,
                "total_progression": 56,
                "progressive_carries": 6
              },
              "params": {
                "market_value_eur": 18600000,
                "quality_factor": 0.6171
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 26.0 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0306,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.065,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0
              },
              "params": {
                "expected_minutes": 26.0,
                "appearance_probability": 0.591
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0306,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.065,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0
              },
              "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 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1267,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0597,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.097,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9429
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 0.591
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0849,
                  "after": 0.1267
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0306,
                  "after": 0.0597
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1267,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0597,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.097,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9429,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 265,
                "fifa_rank": 307.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1267,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0597,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.097,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0703,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9429,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0703,
                "scorer_weight": 0.0599,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0233,
                "finishing_factor": 0.8,
                "appearance_weight": 0.591,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1267,
                "goal_rate": 0.0549,
                "goals": 0,
                "total_shots": 1,
                "shots_on_target": 0,
                "expected_assists": 0.0597,
                "duels_won": 1,
                "aerial_won": 1,
                "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.687,
                "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,
                "assist_rate": 0.026,
                "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.097,
                "offsides": 1,
                "ball_carries": 6,
                "total_progression": 16,
                "progressive_carries": 2,
                "bench_appearance_probability": 0.591,
                "bench_expected_minutes": 26.0,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0703,
                "projected_assists": 0,
                "assist_probability": 0.0343,
                "finishing_factor": 0.8,
                "creation_factor": 0.9429,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0343,
                "provider_weight": 0.0333,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0201,
                "creation_factor": 0.9429,
                "appearance_weight": 0.591,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        },
        "Alejandro Grimaldo": {
          "player_id": 177177,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 171,
          "market_value": 19400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0517,
            "assist_rate": 0.0207,
            "assists": 0,
            "expected_goals": 0.0694,
            "goal_rate": 0.0452,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8452,
            "minutes": 23,
            "total_pass": 13,
            "accurate_pass": 11,
            "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": 6,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 3.9725,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 16,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.533,
            "bench_expected_minutes": 22.72,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.674,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0357,
            "projected_assists": 0,
            "assist_probability": 0.0269,
            "finishing_factor": 0.9865,
            "creation_factor": 0.9242,
            "fifa_overall": 89.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339.0,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8458,
                "expected_assists": 0.0237,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 47,
                "accurate_pass": 42,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335.0,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 85,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3081,
                "expected_assists": 0.2421,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 49,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 7,
                "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": 16416332.0,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.8419,
                "expected_assists": 0.0527,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 47,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "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": 16416317.0,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0107,
                "expected_assists": 0.0749,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 49,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0902,
                "expected_assists": 0.012,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 35,
                "accurate_pass": 28,
                "tackles": 2,
                "clearances": 2,
                "aerial_won": 1,
                "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": 16416302.0,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.06,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 42,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8.0",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268.0",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 20,
            "combined_rank_score": 22.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 30.0,
            "sofascore_rating": 8.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 15.0,
            "fifa_overall": 89.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8452,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alejandro Grimaldo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gabriel",
                  "ranking": 15
                },
                {
                  "player_name": "Cesinha",
                  "ranking": 16
                },
                {
                  "player_name": "James Rodríguez",
                  "ranking": 17
                },
                {
                  "player_name": "Memphis Depay",
                  "ranking": 18
                },
                {
                  "player_name": "Gustavo Henrique",
                  "ranking": 19
                }
              ],
              "lower": [
                {
                  "player_name": "Marc Bartra",
                  "ranking": 21
                },
                {
                  "player_name": "Khvicha Kvaratskhelia",
                  "ranking": 22
                },
                {
                  "player_name": "Danijel Petković",
                  "ranking": 23
                },
                {
                  "player_name": "Angel Fortuno",
                  "ranking": 24
                },
                {
                  "player_name": "Hyun-woo Cho",
                  "ranking": 25
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "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",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.715473211247698,
            "bench_appearance_prob": 0.5325215096021682,
            "market_value_adjustment": 1.0375,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (6 historical appearances) to 22.7 expected mins (appearance prob 0.53)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1011,
                "assist_rate": 0.079,
                "assists": 0,
                "expected_goals": 0.1775,
                "goal_rate": 0.1724,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8452,
                "minutes": 89,
                "total_pass": 48,
                "accurate_pass": 40,
                "duels_won": 5,
                "total_long_balls": 4,
                "accurate_long_balls": 2,
                "total_own_half_passes": 19,
                "accurate_own_half_passes": 17,
                "total_opp_half_passes": 29,
                "accurate_opp_half_passes": 23,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 75,
                "possession_lost": 15.17,
                "dispossessed": 0.0,
                "duels_lost": 4,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 17,
                "total_progression": 59,
                "progressive_carries": 2,
                "shots_off_target": 1
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 6,
                  "trained_at": "2026-09-29T10:02:07.046807+00:00",
                  "trained_on": {
                    "matches": 593,
                    "players": 550,
                    "rows": 13779
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.7452,
                  "expectedAssists": 0.0834,
                  "creative_index": 0.2834,
                  "creative_efficiency": 0.034,
                  "shotValueNormalized": 0.0574,
                  "dribbleValueNormalized": 0.2615
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8320115208625793,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.12
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0959
                      },
                      {
                        "name": "keyPass_p90",
                        "importance": 0.0798
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0429
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0425
                      }
                    ],
                    "decomposition": {
                      "base": 0.9267,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": -0.1172
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.034
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0272
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0206
                        }
                      ],
                      "others": 0.0397,
                      "total": 0.832,
                      "log_link": true,
                      "margin_base": -0.076148,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": -0.135204
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.130509
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.046749
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.035841
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.02641
                        }
                      ],
                      "others_margin": 0.048953
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1010526791214943,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.118
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0768
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0579
                      },
                      {
                        "name": "cross_creative_contribution",
                        "importance": 0.0397
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0067
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0052
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0047
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0047
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0031
                        }
                      ],
                      "others": 0.0051,
                      "total": 0.1011,
                      "log_link": true,
                      "margin_base": -2.439192,
                      "item_margins": [
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.074383
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.053402
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.04901
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.048473
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.032253
                        }
                      ],
                      "others_margin": 0.052082
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07903366535902023,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.0669
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0574
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0465
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0404
                      },
                      {
                        "name": "ballRecovery_p90",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0082
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0048
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0025
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0016
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0015
                        }
                      ],
                      "others": -0.0069,
                      "total": 0.079,
                      "log_link": true,
                      "margin_base": -2.463441,
                      "item_margins": [
                        {
                          "name": "creative_efficiency",
                          "margin": 0.091907
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.052333
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.028416
                        },
                        {
                          "name": "touches",
                          "margin": -0.018458
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.017912
                        }
                      ],
                      "others_margin": -0.085052
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17754003405570984,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.082
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0365
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.035
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0344
                      }
                    ],
                    "decomposition": {
                      "base": 0.1826,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0192
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0078
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.007
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.005
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0137,
                      "total": 0.1775,
                      "log_link": true,
                      "margin_base": -1.700309,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.100011
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.039445
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.035536
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.025412
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.024842
                        }
                      ],
                      "others_margin": -0.074099
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17241498827934265,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0879
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0676
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0367
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.031
                      },
                      {
                        "name": "intensity_index",
                        "importance": 0.0294
                      }
                    ],
                    "decomposition": {
                      "base": 0.1479,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.036
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0235
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0193
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0145
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0078
                        }
                      ],
                      "others": -0.009,
                      "total": 0.1724,
                      "log_link": true,
                      "margin_base": -1.911166,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.217674
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.120471
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.097502
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.080022
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.043862
                        }
                      ],
                      "others_margin": -0.051168
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3956775367259979,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1114
                      },
                      {
                        "name": "numberOfSprints",
                        "importance": 0.0574
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0383
                      },
                      {
                        "name": "shotValueNormalized",
                        "importance": 0.0333
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.033
                      }
                    ],
                    "decomposition": {
                      "base": 0.3374,
                      "items": [
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0373
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0308
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0185
                        },
                        {
                          "name": "numberOfSprints",
                          "contribution": 0.0171
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0103
                        }
                      ],
                      "others": -0.0187,
                      "total": 0.3957,
                      "log_link": true,
                      "margin_base": -1.086396,
                      "item_margins": [
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.104851
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.07904
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.046696
                        },
                        {
                          "name": "numberOfSprints",
                          "margin": 0.043272
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.02518
                        }
                      ],
                      "others_margin": -0.046407
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.331977536725998,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1236
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0751
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0663
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0364
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.0381,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3079
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.044
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0425
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0255
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0247
                        }
                      ],
                      "others": -0.0117,
                      "total": 1.332,
                      "log_link": false,
                      "margin_base": 1.038069,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.307851
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.043952
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.042458
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.025452
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.024702
                        }
                      ],
                      "others_margin": -0.011725
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.845157146453857,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "passValueNormalized",
                        "importance": 0.0666
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0489
                      },
                      {
                        "name": "touches",
                        "importance": 0.041
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0306
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0305
                      }
                    ],
                    "decomposition": {
                      "base": 6.8598,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0945
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0583
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0507
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.027
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0174
                        }
                      ],
                      "others": 0.0279,
                      "total": 6.8452,
                      "log_link": false,
                      "margin_base": 6.859756,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.094537
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.058252
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.050714
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.027039
                        },
                        {
                          "name": "touches",
                          "margin": 0.017361
                        }
                      ],
                      "others_margin": 0.028003
                    }
                  }
                ],
                "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.0375, quality 0.625)",
              "stats": {
                "key_pass": 1,
                "expected_assists": 0.1048,
                "assist_rate": 0.082,
                "assists": 0,
                "expected_goals": 0.1842,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 1,
                "rating": 6.8452,
                "minutes": 89,
                "total_pass": 50,
                "accurate_pass": 42,
                "duels_won": 5,
                "total_long_balls": 5,
                "accurate_long_balls": 2,
                "total_own_half_passes": 20,
                "accurate_own_half_passes": 18,
                "total_opp_half_passes": 30,
                "accurate_opp_half_passes": 24,
                "crosses_total": 5,
                "crosses_accurate": 0,
                "touches": 78,
                "possession_lost": 15.7394,
                "dispossessed": 0.0,
                "duels_lost": 5,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 2,
                "clearances": 0,
                "total_contest": 3,
                "won_contest": 2,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 18,
                "total_progression": 62,
                "progressive_carries": 3,
                "shots_off_target": 1
              },
              "params": {
                "market_value_eur": 19400000,
                "quality_factor": 0.6251,
                "boost_factor": 1.0375
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled to 22.7 expected minutes (appearance prob 0.53)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0265,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0465,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72
              },
              "params": {
                "expected_minutes": 22.72,
                "appearance_probability": 0.533
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0265,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0465,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72
              },
              "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 2.78 (squad xG sum 1.8617, xG scale 1.4922, xA scale 1.9502, team xA 1.81 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0517,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9865,
                "creation_factor": 0.9242
              },
              "params": {
                "team_lambda": 2.778,
                "squad_xg_sum": 1.8617,
                "squad_xa_sum": 0.9259,
                "team_expected_assists": 1.8057,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.4922,
                "xa_scale": 1.9502,
                "opponent_lambda": 1.061,
                "scoreline_reset": true,
                "appearance_weight": 0.533
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0465,
                  "after": 0.0694
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0265,
                  "after": 0.0517
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 89.0; not used by the projection)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0517,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9865,
                "creation_factor": 0.9242,
                "fifa_overall": 89.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 20,
                "fifa_rank": 15.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 89.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0517,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0357,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9865,
                "creation_factor": 0.9242,
                "fifa_overall": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0357,
                "scorer_weight": 0.0365,
                "squad_weight_total": 2.5683,
                "weight_share": 0.0142,
                "finishing_factor": 0.9865,
                "appearance_weight": 0.533,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Julián Alvarez",
                    "weight": 0.5258,
                    "already": 0,
                    "effective_weight": 0.5258,
                    "runner_up": "Giuliano Simeone",
                    "runner_up_effective_weight": 0.4174
                  },
                  {
                    "n": 2,
                    "player": "Giuliano Simeone",
                    "weight": 0.4174,
                    "already": 0,
                    "effective_weight": 0.4174,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.3931
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0,
                "expected_assists": 0.0517,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0452,
                "goals": 0,
                "shots_on_target": 0,
                "total_shots": 0,
                "rating": 6.8452,
                "minutes": 23,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 6,
                "crosses_total": 1,
                "crosses_accurate": 0,
                "touches": 20,
                "possession_lost": 3.9725,
                "dispossessed": 0.0,
                "duels_lost": 1,
                "aerial_won": 0,
                "aerial_lost": 0,
                "interceptions": 0,
                "tackles_won": 0,
                "tackles": 1,
                "clearances": 0,
                "total_contest": 1,
                "won_contest": 0,
                "challenges_lost": 0,
                "fouls": 0,
                "fouls_drawn": 0,
                "blocks": 0,
                "big_chances_created": 0,
                "big_chances_missed": 0,
                "xgot": 0.0,
                "ball_carries": 4,
                "total_progression": 16,
                "progressive_carries": 1,
                "shots_off_target": 0,
                "bench_appearance_probability": 0.533,
                "bench_expected_minutes": 22.72,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.674,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0357,
                "projected_assists": 0,
                "assist_probability": 0.0269,
                "finishing_factor": 0.9865,
                "creation_factor": 0.9242,
                "fifa_overall": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0269,
                "provider_weight": 0.0255,
                "squad_weight_total": 1.6575,
                "weight_share": 0.0154,
                "creation_factor": 0.9242,
                "appearance_weight": 0.533,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alex Baena",
                    "weight": 0.2651,
                    "already": 0,
                    "effective_weight": 0.2651,
                    "runner_up": "Kang-in Lee",
                    "runner_up_effective_weight": 0.2573
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 2,
        "expected_goals": 2.78,
        "expected_assists": 1.81,
        "total_shots": 16,
        "shots_on_target": 5,
        "total_passes": 469,
        "interceptions": 3,
        "tackles": 4,
        "avg_rating": 6.91,
        "possession_estimated_pct": 53.9,
        "pressing_actions_per_90": 8.2
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Miguel Rodríguez",
        "attacker_role": "LWB",
        "attacker_market_value": 4099999,
        "attacker_height": 179,
        "attacker_skill_quality": 0.451,
        "defenders": [
          "Kang-in Lee"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.718,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.299,
        "xg_contribution": 0.1014,
        "xg_multiplier": 0.8221,
        "shots_in_zone": 0.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Kang-in Lee",
            "role": "RWB",
            "market_value": 30000000,
            "tackles_attempted": 2.2,
            "tackles_won": 1.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.701
          }
        ],
        "duel_analysis": "Miguel Rodríguez (LWB) faces tough defensive resistance against Kang-in Lee in a direct 1v1 contest. Duel win probability: 30%. The quality gap is significant (€4M vs €30M avg). Matchup xG multiplier ×0.82 (×1.00 = his usual level). Projected xG contribution: 0.101 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Antonio Blanco",
        "attacker_role": "CM",
        "attacker_market_value": 9700000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.519,
        "defenders": [
          "Alex Baena"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.796,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.325,
        "xg_contribution": 0.0747,
        "xg_multiplier": 0.8169,
        "shots_in_zone": 1.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Alex Baena",
            "role": "CDM",
            "market_value": 43000000,
            "tackles_attempted": 2.2,
            "tackles_won": 1.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.675
          }
        ],
        "duel_analysis": "Antonio Blanco (CM) faces tough defensive resistance against Alex Baena in a direct 1v1 contest. Duel win probability: 33%. The quality gap is significant (€10M vs €43M avg). Matchup xG multiplier ×0.82 (×1.00 = his usual level). Projected xG contribution: 0.075 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Ángel Pérez",
        "attacker_role": "CM",
        "attacker_market_value": 2800000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Alex Baena"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.796,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.312,
        "xg_contribution": 0.147,
        "xg_multiplier": 0.7967,
        "shots_in_zone": 1.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Alex Baena",
            "role": "CDM",
            "market_value": 43000000,
            "tackles_attempted": 2.2,
            "tackles_won": 1.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.688
          }
        ],
        "duel_analysis": "Ángel Pérez (CM) is heavily outmatched defensively against Alex Baena in a direct 1v1 contest. Duel win probability: 31%. The quality gap is significant (€3M vs €43M avg). Matchup xG multiplier ×0.80 (×1.00 = his usual level). Projected xG contribution: 0.147 — with very limited chance creation expected."
      },
      {
        "attacker": "Carles Aleñá",
        "attacker_role": "RWB",
        "attacker_market_value": 2800000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Giuliano Simeone"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.8,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.264,
        "xg_contribution": 0.0751,
        "xg_multiplier": 0.7707,
        "shots_in_zone": 0.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Giuliano Simeone",
            "role": "LWB",
            "market_value": 44000000,
            "tackles_attempted": 2.2,
            "tackles_won": 2.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.736
          }
        ],
        "duel_analysis": "Carles Aleñá (RWB) is heavily outmatched defensively against Giuliano Simeone in a direct 1v1 contest. Duel win probability: 26%. The quality gap is significant (€3M vs €44M avg). Matchup xG multiplier ×0.77 (×1.00 = his usual level). Projected xG contribution: 0.075 — with very limited chance creation expected."
      },
      {
        "attacker": "Toni Martínez",
        "attacker_role": "ST",
        "attacker_market_value": 7300000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.49,
        "defenders": [
          "Cristian Romero",
          "Marc Pubill"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.774,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1888,
        "xg_multiplier": 0.7326,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Cristian Romero",
            "role": "CB",
            "market_value": 46000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Marc Pubill",
            "role": "CB",
            "market_value": 33000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Toni Martínez (ST) is heavily outmatched defensively against Cristian Romero and Marc Pubill in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€7M vs €40M avg). Matchup xG multiplier ×0.73 (×1.00 = his usual level). Projected xG contribution: 0.189 — with very limited chance creation expected."
      },
      {
        "attacker": "Lucas Boyé",
        "attacker_role": "ST",
        "attacker_market_value": 5300000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.466,
        "defenders": [
          "Cristian Romero",
          "Marc Pubill"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.774,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.194,
        "xg_multiplier": 0.7341,
        "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.5,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Cristian Romero",
            "role": "CB",
            "market_value": 46000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Marc Pubill",
            "role": "CB",
            "market_value": 33000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Lucas Boyé (ST) is heavily outmatched defensively against Cristian Romero and Marc Pubill in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€5M vs €40M avg). Matchup xG multiplier ×0.73 (×1.00 = his usual level). Projected xG contribution: 0.194 — with very limited chance creation expected."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Giuliano Simeone",
        "attacker_role": "LWB",
        "attacker_market_value": 44000000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.8,
        "defenders": [
          "Carles Aleñá"
        ],
        "defender_roles": [
          "RWB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "LWB vs RWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.576,
        "xg_contribution": 0.2519,
        "xg_multiplier": 1.2293,
        "shots_in_zone": 1.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 1.0,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.9,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Carles Aleñá",
            "role": "RWB",
            "market_value": 2800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.424
          }
        ],
        "duel_analysis": "Giuliano Simeone (LWB) has a clear attacking advantage against Carles Aleñá in a direct 1v1 contest. Duel win probability: 58%. The quality gap is significant (€44M vs €3M avg). Matchup xG multiplier ×1.23 (×1.00 = his usual level). Projected xG contribution: 0.252 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Morten Hjulmand",
        "attacker_role": "CM",
        "attacker_market_value": 48000000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.817,
        "defenders": [
          "Pablo Ibáñez"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.451,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.643,
        "xg_contribution": 0.1482,
        "xg_multiplier": 1.2834,
        "shots_in_zone": 2.1,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.7,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Ibáñez",
            "role": "CDM",
            "market_value": 4099999,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.357
          }
        ],
        "duel_analysis": "Morten Hjulmand (CM) has a clear attacking advantage against Pablo Ibáñez in a direct 1v1 contest. Duel win probability: 64%. The quality gap is significant (€48M vs €4M avg). Matchup xG multiplier ×1.28 (×1.00 = his usual level). Projected xG contribution: 0.148 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Pablo Barrios",
        "attacker_role": "CM",
        "attacker_market_value": 60000000,
        "attacker_height": 181,
        "attacker_skill_quality": 0.853,
        "defenders": [
          "Pablo Ibáñez"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.451,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.64,
        "xg_contribution": 0.158,
        "xg_multiplier": 1.28,
        "shots_in_zone": 2.1,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.7,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Ibáñez",
            "role": "CDM",
            "market_value": 4099999,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.36
          }
        ],
        "duel_analysis": "Pablo Barrios (CM) has a clear attacking advantage against Pablo Ibáñez in a direct 1v1 contest. Duel win probability: 64%. The quality gap is significant (€60M vs €4M avg). Matchup xG multiplier ×1.28 (×1.00 = his usual level). Projected xG contribution: 0.158 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Kang-in Lee",
        "attacker_role": "RWB",
        "attacker_market_value": 30000000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.718,
        "defenders": [
          "Miguel Rodríguez"
        ],
        "defender_roles": [
          "LWB"
        ],
        "def_skill_quality_avg": 0.451,
        "duel_zone": "RWB vs LWB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.541,
        "xg_contribution": 0.2492,
        "xg_multiplier": 1.1779,
        "shots_in_zone": 1.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 1.0,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.8,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Miguel Rodríguez",
            "role": "LWB",
            "market_value": 4099999,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.459
          }
        ],
        "duel_analysis": "Kang-in Lee (RWB) is slightly favored against Miguel Rodríguez in a direct 1v1 contest. Duel win probability: 54%. The quality gap is significant (€30M vs €4M avg). Matchup xG multiplier ×1.18 (×1.00 = his usual level). Projected xG contribution: 0.249 — creating consistent moderate threat."
      },
      {
        "attacker": "Julián Alvarez",
        "attacker_role": "ST",
        "attacker_market_value": 116000000,
        "attacker_height": 170,
        "attacker_skill_quality": 0.897,
        "defenders": [
          "Youssef Enriquez",
          "Nahuel Tenaglia"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.447,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.372,
        "xg_contribution": 0.4405,
        "xg_multiplier": 1.2524,
        "shots_in_zone": 2.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 3,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Youssef Enriquez",
            "role": "CB",
            "market_value": 4300000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.628
          },
          {
            "player": "Nahuel Tenaglia",
            "role": "CB",
            "market_value": 3200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.628
          }
        ],
        "duel_analysis": "Julián Alvarez (ST) has a clear attacking advantage against Youssef Enriquez and Nahuel Tenaglia in a 2-defender block. Duel win probability: 37%. The quality gap is significant (€116M vs €4M avg). Matchup xG multiplier ×1.25 (×1.00 = his usual level). Projected xG contribution: 0.440 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Ademola Lookman",
        "attacker_role": "ST",
        "attacker_market_value": 44000000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.8,
        "defenders": [
          "Youssef Enriquez",
          "Nahuel Tenaglia"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.447,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.344,
        "xg_contribution": 0.258,
        "xg_multiplier": 1.2119,
        "shots_in_zone": 2.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Youssef Enriquez",
            "role": "CB",
            "market_value": 4300000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.656
          },
          {
            "player": "Nahuel Tenaglia",
            "role": "CB",
            "market_value": 3200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.656
          }
        ],
        "duel_analysis": "Ademola Lookman (ST) has a clear attacking advantage against Youssef Enriquez and Nahuel Tenaglia in a 2-defender block. Duel win probability: 34%. The quality gap is significant (€44M vs €4M avg). Matchup xG multiplier ×1.21 (×1.00 = his usual level). Projected xG contribution: 0.258 — and projects to generate high-quality chances."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.509,
      "away_midfield_power": 0.847,
      "home_creative_power": 0.417,
      "away_creative_power": 0.819,
      "home_defensive_power": 0.395,
      "away_defensive_power": 0.687,
      "home_dominance_ratio": 0.376,
      "home_midfield_count": 5,
      "away_midfield_count": 5,
      "home_midfield_players": [
        "Antonio Blanco",
        "Miguel Rodríguez",
        "Pablo Ibáñez",
        "Ángel Pérez",
        "Carles Aleñá"
      ],
      "away_midfield_players": [
        "Pablo Barrios",
        "Morten Hjulmand",
        "Giuliano Simeone",
        "Alex Baena",
        "Kang-in Lee"
      ],
      "possession_advantage": "away",
      "estimated_possession_home_pct": 46.1,
      "estimated_possession_away_pct": 53.9,
      "home_pressing_actions_per_90": 6.2,
      "away_pressing_actions_per_90": 8.2,
      "home_key_passes_projected": 4.0,
      "away_key_passes_projected": 6.4,
      "home_throughball_threat": 1.8,
      "away_throughball_threat": 3.1,
      "key_personal_duel": "Antonio Blanco vs Pablo Barrios",
      "midfield_lambda_factor_home": 0.955,
      "midfield_lambda_factor_away": 1.052
    },
    "formation_analysis": {
      "home_formation": "3-5-2",
      "away_formation": "3-5-2",
      "home_tactical_bonus": 0.0,
      "away_tactical_bonus": 0.0,
      "formation_verdict": "Tactical parity between 3-5-2 and 3-5-2. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.061,
    "away_lambda": 2.778,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "home_player_antagonists": {
      "Miguel Rodríguez": {
        "opponents": [
          "Kang-in Lee",
          "Giuliano Simeone"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Antonio Blanco": {
        "opponents": [
          "Alex Baena",
          "Morten Hjulmand"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Ángel Pérez": {
        "opponents": [
          "Alex Baena",
          "Pablo Barrios"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Carles Aleñá": {
        "opponents": [
          "Giuliano Simeone",
          "Kang-in Lee"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Toni Martínez": {
        "opponents": [
          "Cristian Romero",
          "Marc Pubill"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Lucas Boyé": {
        "opponents": [
          "Cristian Romero",
          "Marc Pubill"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Pablo Ibáñez": {
        "opponents": [
          "Morten Hjulmand",
          "Pablo Barrios",
          "Alex Baena"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, midfield_pairing"
      },
      "Youssef Enriquez": {
        "opponents": [
          "Julián Alvarez",
          "Ademola Lookman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Nahuel Tenaglia": {
        "opponents": [
          "Julián Alvarez",
          "Ademola Lookman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Antonio Sivera": {
        "opponents": [
          "Julián Alvarez",
          "Ademola Lookman"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Nicolás Valentini": {
        "opponents": [
          "Julián Alvarez"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Kang-in Lee": {
        "opponents": [
          "Miguel Rodríguez",
          "Carles Aleñá"
        ],
        "primary_zone": "LWB vs RWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Alex Baena": {
        "opponents": [
          "Antonio Blanco",
          "Ángel Pérez",
          "Pablo Ibáñez"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, midfield_pairing"
      },
      "Giuliano Simeone": {
        "opponents": [
          "Carles Aleñá",
          "Miguel Rodríguez"
        ],
        "primary_zone": "RWB vs LWB",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Cristian Romero": {
        "opponents": [
          "Toni Martínez",
          "Lucas Boyé"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Marc Pubill": {
        "opponents": [
          "Toni Martínez",
          "Lucas Boyé"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Morten Hjulmand": {
        "opponents": [
          "Pablo Ibáñez",
          "Antonio Blanco"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Pablo Barrios": {
        "opponents": [
          "Pablo Ibáñez",
          "Ángel Pérez"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Julián Alvarez": {
        "opponents": [
          "Youssef Enriquez",
          "Nahuel Tenaglia"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Ademola Lookman": {
        "opponents": [
          "Youssef Enriquez",
          "Nahuel Tenaglia"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Jan Oblak": {
        "opponents": [
          "Toni Martínez",
          "Lucas Boyé"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Dávid Hancko": {
        "opponents": [
          "Toni Martínez"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Away midfield dictates play with ~54% possession expected (Antonio Blanco vs Pablo Barrios). Total antagonist xG — Home: 0.78, Away: 1.51. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle.",
    "lambda_factors": {
      "home_gk_opposition_factor": 0.9481,
      "away_gk_opposition_factor": 0.9975,
      "home_set_piece_bonus": 0.0,
      "away_set_piece_bonus": 0.1399,
      "home_defensive_solidity_vs": 0.9087,
      "away_defensive_solidity_vs": 1.019,
      "home_midfield_factor": 0.955,
      "away_midfield_factor": 1.052,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.4584,
      "away_avg_quality": 0.7986,
      "avg_quality_gap": -0.3402,
      "squad_value_gap_log": -2.1966,
      "top5_value_gap_log": -2.0745,
      "attack_value_gap_log": -2.1481,
      "elite_count_gap": -7,
      "combined_quality_gap": -0.6928,
      "stronger_lambda_boost": 0.381,
      "weaker_lambda_suppression": 0.2217,
      "home_bench_lambda_bonus": 0.1092,
      "away_bench_lambda_bonus": 0.1702,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Deportivo Alavés",
        "away_squad": "Atlético Madrid",
        "home_goals_per90": 1.6666666666666667,
        "away_goals_against_per90": 2.33,
        "away_goals_per90": 2.333333333333333,
        "home_goals_against_per90": 1.67,
        "home_empirical_lambda": 2.877,
        "away_empirical_lambda": 2.886,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": true,
      "mismatch_score_pressure_gap": -0.6928,
      "mismatch_favorite_lambda_boost": 1.1782,
      "mismatch_underdog_lambda_factor": 0.9407,
      "pre_mismatch_home_lambda": 1.242,
      "pre_mismatch_away_lambda": 2.597,
      "competitive_underdog_floor_applied": false,
      "pre_calibration_home_lambda": 1.242,
      "pre_calibration_away_lambda": 2.5968,
      "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.061,
      "final_away_lambda": 2.778
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 6,
    "opponent_position": 2,
    "standing_lambda_multiplier": 0.8948,
    "attack_index": 1.271,
    "defense_concede_index": 0.606,
    "form_multiplier": 0.963,
    "team_attack_rate_contextual": 1.83,
    "opp_defense_rate_contextual": 0.88,
    "team_ppg": 1.57,
    "opponent_ppg": 2.29
  },
  "away_standing": {
    "available": true,
    "team_position": 2,
    "opponent_position": 6,
    "standing_lambda_multiplier": 0.9914,
    "attack_index": 1.386,
    "defense_concede_index": 0.693,
    "form_multiplier": 1.037,
    "team_attack_rate_contextual": 2.0,
    "opp_defense_rate_contextual": 1.0,
    "team_ppg": 2.29,
    "opponent_ppg": 1.57
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Alavés vs Atl. Madrid. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 3-5-2 vs 3-5-2 (duel lambdas: Home 1.242, Away 2.597). Final calibrated Poisson lambdas: Home 1.061, Away 2.778 (most likely score 1-2).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 0,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 10,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Deportivo Alavés",
      "away_squad": "Atlético Madrid",
      "home_goals_per90": 1.6666666666666667,
      "away_goals_against_per90": 2.33,
      "away_goals_per90": 2.333333333333333,
      "home_goals_against_per90": 1.67,
      "home_empirical_lambda": 2.877,
      "away_empirical_lambda": 2.886,
      "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.061,
      "away_lambda": 2.778,
      "micro_duel_home_lambda": 1.242,
      "micro_duel_away_lambda": 2.597
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-09-30T01:03:28Z",
  "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,
    "aerialLost": 12.0,
    "totalPass": 150.0,
    "accuratePass": 145.0,
    "keyPass": 8.0,
    "expectedAssists": 1.5,
    "goalAssist": 4.0,
    "expectedGoals": 3.0,
    "expectedGoalsOnTarget": 6.0,
    "xgot": 6.0,
    "goals": 5.0,
    "totalShots": 12.0,
    "onTargetScoringAttempt": 8.0,
    "shotOffTarget": 8.0,
    "rating": 10.0,
    "minutesPlayed": 130.0,
    "duelWon": 20.0,
    "duelLost": 20.0,
    "ballRecovery": 18.0,
    "fouls": 12.0
  }
}