{
  "match_info": {
    "home_team": "Barcelona",
    "away_team": "Real Madrid",
    "tournament": "LaLiga",
    "date": "20261025",
    "timezone": "America/New_York",
    "home_formation": "4-2-3-1",
    "away_formation": "3-4-1-2",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "2-1",
    "home_goals": 2,
    "away_goals": 1,
    "most_likely_score_probability": 0.0818,
    "most_likely_winning_score_home": "2-1",
    "most_likely_winning_score_home_probability": 0.0818,
    "most_likely_winning_score_away": "1-2",
    "most_likely_winning_score_away_probability": 0.0467,
    "match_resolution": "regulation",
    "predicted_winner": "Barcelona",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.1763,
      "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,
      "deciding_stage": null,
      "deciding_scoreline": null,
      "deciding_scoreline_probability": null,
      "deciding_route_probability": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "2-1",
        "probability": 0.0818
      },
      {
        "score": "3-1",
        "probability": 0.0729
      },
      {
        "score": "2-2",
        "probability": 0.0625
      },
      {
        "score": "1-1",
        "probability": 0.0616
      },
      {
        "score": "3-2",
        "probability": 0.0557
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0153,
      "0-1": 0.0225,
      "0-2": 0.0175,
      "0-3": 0.0089,
      "0-4": 0.0034,
      "0-5": 0.001,
      "1-0": 0.0397,
      "1-1": 0.0616,
      "1-2": 0.0467,
      "1-3": 0.0238,
      "1-4": 0.0091,
      "1-5": 0.0028,
      "1-6": 0.0007,
      "2-0": 0.0536,
      "2-1": 0.0818,
      "2-2": 0.0625,
      "2-3": 0.0318,
      "2-4": 0.0121,
      "2-5": 0.0037,
      "2-6": 0.0009,
      "3-0": 0.0478,
      "3-1": 0.0729,
      "3-2": 0.0557,
      "3-3": 0.0283,
      "3-4": 0.0108,
      "3-5": 0.0033,
      "3-6": 0.0008,
      "4-0": 0.0319,
      "4-1": 0.0488,
      "4-2": 0.0372,
      "4-3": 0.0189,
      "4-4": 0.0072,
      "4-5": 0.0022,
      "4-6": 0.0006,
      "5-0": 0.0171,
      "5-1": 0.0261,
      "5-2": 0.0199,
      "5-3": 0.0101,
      "5-4": 0.0039,
      "5-5": 0.0012,
      "6-0": 0.0076,
      "6-1": 0.0116,
      "6-2": 0.0089,
      "6-3": 0.0045,
      "6-4": 0.0017,
      "6-5": 0.0005,
      "7-0": 0.0029,
      "7-1": 0.0044,
      "7-2": 0.0034,
      "7-3": 0.0017,
      "7-4": 0.0007,
      "8-0": 0.001,
      "8-1": 0.0015,
      "8-2": 0.0011,
      "8-3": 0.0006
    },
    "outcome": {
      "home_win": 0.6194,
      "draw": 0.1763,
      "away_win": 0.2043
    },
    "markets": {
      "over_2_5_goals": 0.7898,
      "under_2_5_goals": 0.2102,
      "btts_yes": 0.7291,
      "btts_no": 0.2709,
      "home_clean_sheet": 0.2172,
      "away_clean_sheet": 0.069
    },
    "home_ratings": {
      "DR": 7.02,
      "MCR": 7.29,
      "ATR": 7.73,
      "GK": 7.08
    },
    "away_ratings": {
      "DR": 6.89,
      "MCR": 7.05,
      "ATR": 7.39,
      "GK": 7.0
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Barcelona vs Real Madrid. Most likely scoreline: 2-1. Lambdas derived from 4 home and 6 away individual player duels. Head-to-head: Barcelona 7W-0D-3L vs Real Madrid over 10 meetings.",
      "key_player": "Projected scorer(s): Raphinha, Lamine Yamal, Kylian Mbappé",
      "tactical_analysis": "Tactical parity between 4-2-3-1 and 3-4-1-2. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Pedri vs Jude Bellingham will be the pivotal duel. Total antagonist xG — Home: 1.73, Away: 1.19. 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.78,
    "home_lambda": 2.674,
    "away_lambda": 1.527,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 7,
      "away_wins": 3,
      "draws": 0,
      "home_multiplier": 1.0286,
      "away_multiplier": 0.9714
    },
    "modal_scoreline": "2-1",
    "modal_scoreline_probability": 0.0818,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.6194,
      "draw": 0.1763,
      "away_win": 0.2043
    },
    "favorite": "Barcelona",
    "favorite_win_probability": 0.6194,
    "fair_spread": 1.147,
    "fair_total": 4.201,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Barcelona",
        "estimate": 2.674,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Real Madrid",
        "estimate": 1.527,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.7898,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.7291,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Barcelona",
        "estimate": 1.0,
        "probability": 0.2172,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Real Madrid",
        "estimate": 1.0,
        "probability": 0.069,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Lamine Yamal (Barcelona)",
        "estimate": 0.7522,
        "probability": 0.5287,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Kylian Mbappé (Real Madrid)",
        "estimate": 0.6765,
        "probability": 0.4916,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Lamine Yamal (Barcelona)",
        "estimate": 0.3076,
        "probability": 0.2648,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Kylian Mbappé (Real Madrid)",
        "estimate": 0.199,
        "probability": 0.1805,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 4.201,
      "expected_total_shots": 36,
      "expected_total_passes": 1188,
      "expected_pressing_actions_per_90": 17.3,
      "possession_home_pct": 49.5,
      "possession_away_pct": 50.5,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Barcelona",
      "favorite_win_probability": 0.6194,
      "script": "Barcelona is the fair winner side, but the baseline remains favorite-led: fair spread +1.15 goals and fair total 4.20.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 18 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Real Madrid must keep the match inside one goal.",
      "late_game": "A Barcelona lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Real Madrid chance creation leans on Kylian Mbappé against Pau Cubarsí, Gerard Martín in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Barcelona: starters carry the main goal usage through Raphinha, Lamine Yamal; bench watchlist: Dani Olmo, Karim Adeyemi, Gabriel Jesus.",
      "Real Madrid: starters carry the main goal usage through Kylian Mbappé; bench watchlist: Arda Güler, Rodrygo, Franco Mastantuono.",
      "Assist usage should flow through Lamine Yamal, Yan Diomande; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Barcelona tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 18 total first-half shots, and 2.10 first-half xG pace.",
      "45-70: If the match is level, watch midfield control and the listed bench watchlists for usage changes.",
      "70-90: If Real Madrid is chasing, transition and set-piece volume become the primary live deviation signal; a draw state keeps set pieces and transition chances live."
    ],
    "invalidation_triggers": [
      "Early red card, injury, or goalkeeper change for Barcelona.",
      "Real Madrid 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": {
    "Barcelona": {
      "formation": "4-2-3-1",
      "players": {
        "Raphinha": {
          "player_id": 831005,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 176,
          "market_value": 63000000,
          "stats": {
            "expected_goals": 0.5987,
            "goal_rate": 0.8957,
            "goals": 1,
            "shots_on_target": 2,
            "total_shots": 3,
            "expected_assists": 0.2269,
            "key_pass": 2,
            "rating": 7.9117,
            "minutes": 78,
            "total_pass": 30,
            "accurate_pass": 25,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 17,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 45,
            "possession_lost": 9.5857,
            "dispossessed": 0.3824,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 2,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.299,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 1.2057,
            "offsides": 1,
            "ball_carries": 13,
            "total_progression": 59,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9291,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Marc Cucurella, Dean Huijsen",
            "opponent_faced": "Marc Cucurella, Dean Huijsen",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4505,
            "projected_assists": 0,
            "assist_probability": 0.203,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 88.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 20,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0375,
                "expected_assists": 0.065,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 77,
                "rating": 10.0,
                "goal_rate": 3.0,
                "goals": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8306,
                "expected_assists": 0.0272,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_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"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 69,
                "rating": 10.0,
                "goal_rate": 3.0,
                "goals": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 2.3796,
                "expected_assists": 0.0249,
                "total_shots": 6,
                "shots_on_target": 4,
                "total_pass": 19,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 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"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.232,
                "expected_assists": 0.5508,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 38,
                "accurate_pass": 29,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2971,
                "expected_assists": 0.0868,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 39,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 86,
                "rating": 9.5,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2998,
                "expected_assists": 0.3009,
                "total_shots": 4,
                "shots_on_target": 3,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 3,
                "tackles": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 63,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7976,
                "expected_assists": 0.1329,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 3,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 80,
                "rating": 9.9,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 2.0042,
                "expected_assists": 0.3631,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 18,
                "accurate_pass": 15,
                "key_pass": 3,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 63,
                "rating": 9.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3943,
                "expected_assists": 0.2517,
                "total_shots": 5,
                "shots_on_target": 4,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 31,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 26,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1777,
                "expected_assists": 0.0081,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 10,
            "combined_rank_score": 17.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 2.0,
            "sofascore_rating": 9.1,
            "sofascore_appearances": 3.0,
            "fifa_rank": 32.0,
            "fifa_overall": 88.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.9117,
            "source_file": "data/player_rankings.csv",
            "player_name": "Raphinha",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                },
                {
                  "player_name": "Pedri",
                  "ranking": 6
                },
                {
                  "player_name": "Ryu Won-Woo",
                  "ranking": 7
                },
                {
                  "player_name": "Bruno Fernandes",
                  "ranking": 8
                },
                {
                  "player_name": "Felix Horn Myhre",
                  "ranking": 9
                }
              ],
              "lower": [
                {
                  "player_name": "Vini Jr.",
                  "ranking": 11
                },
                {
                  "player_name": "Nico López",
                  "ranking": 12
                },
                {
                  "player_name": "Harry Kane",
                  "ranking": 13
                },
                {
                  "player_name": "Adrián",
                  "ranking": 14
                },
                {
                  "player_name": "Gabriel",
                  "ranking": 15
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 29,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 29,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0156,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 226.0,
              "goals_per90": 2.0,
              "assists_per90": 0.4,
              "shots_per90": 3.98,
              "shots_on_target_pct": 70.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (F_service) evaluated 29 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.17, gls/90: 2.0, ast/90: 0.4)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.5457,
                "goals": 0.9371,
                "goal_rate": 0.9371,
                "shots_on_target": 1.8115,
                "total_shots": 3.1689,
                "expected_assists": 0.1798,
                "key_pass": 1.7762,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.4719,
                "accurate_pass": 24.3543,
                "duels_won": 3.0863,
                "total_long_balls": 1.8341,
                "accurate_long_balls": 0.8819,
                "total_opp_half_passes": 21.0995,
                "accurate_opp_half_passes": 16.7632,
                "crosses_total": 2.6935,
                "crosses_accurate": 0.9412,
                "touches": 44.3139,
                "possession_lost": 9.4385,
                "dispossessed": 0.3765,
                "duels_lost": 2.167,
                "aerial_lost": 0.3114,
                "total_contest": 2.231,
                "won_contest": 1.5798,
                "ball_recovery": 1.5122,
                "challenges_lost": 0.5935,
                "fouls": 0.3322,
                "fouls_drawn": 0.69,
                "assists": 0.2937,
                "assist_rate": 0.2937,
                "interceptions": 0.1056,
                "tackles_won": 0.4197,
                "tackles": 0.7058,
                "clearances": 0.3404,
                "blocks": 0.0,
                "big_chances_created": 0.4551,
                "big_chances_missed": 0.7283,
                "xgot": 1.0989,
                "offsides": 0.4931,
                "ball_carries": 12.9013,
                "total_progression": 58.5437,
                "progressive_carries": 2.1769,
                "shots_off_target": 1.3574
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1514,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1287,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1094,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.093,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.079,
                    "rating": 9.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0672,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0571,
                    "rating": 9.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 9.4
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0412,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 1.0106,
                  "totalOppositionHalfPasses": 19.474,
                  "accurateOppositionHalfPasses": 15.4906,
                  "accuratePass": 22.6823,
                  "totalShots": 3.5495
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.5457364320755005,
                    "model_output": 0.5457,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0811
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1017
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0498
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0466
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0333
                        }
                      ],
                      "others": 0.0342,
                      "total": 0.5457,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.341829
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.309933
                        },
                        {
                          "name": "goals",
                          "margin": 0.12265
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.102539
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.067391
                        }
                      ],
                      "others_margin": 0.064716
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.9371476769447327,
                    "model_output": 0.9371,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0937
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1098
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0715
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0726
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.073
                        }
                      ],
                      "others": 0.3128,
                      "total": 0.9371,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.3783
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.314163
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.161818
                        },
                        {
                          "name": "goals",
                          "margin": 0.141228
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.124344
                        }
                      ],
                      "others_margin": 0.406095
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.8114789724349976,
                    "model_output": 1.8115,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2145
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1542
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.128
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1341
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1088
                        }
                      ],
                      "others": 0.5349,
                      "total": 1.8115,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.336099
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.186635
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.132148
                        },
                        {
                          "name": "goals",
                          "margin": 0.121944
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.089055
                        }
                      ],
                      "others_margin": 0.350058
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 3.1688802242279053,
                    "model_output": 3.1689,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.6674
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.5161
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.295
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1087
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1024
                        }
                      ],
                      "others": 0.1006,
                      "total": 3.1689,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.667394
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.516131
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.294978
                        },
                        {
                          "name": "goals",
                          "margin": 0.108735
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.10236
                        }
                      ],
                      "others_margin": 0.100574
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.17982697486877441,
                    "model_output": 0.1798,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0115
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0135
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0124
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0103
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0096
                        }
                      ],
                      "others": 0.0582,
                      "total": 0.1798,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.16404
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.163686
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.130305
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.096968
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.081924
                        }
                      ],
                      "others_margin": 0.391772
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.7762171030044556,
                    "model_output": 1.7762,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2254
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1418
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.086
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0925
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0682
                        }
                      ],
                      "others": 0.4883,
                      "total": 1.7762,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.288456
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.146425
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.079395
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.078848
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.054425
                        }
                      ],
                      "others_margin": 0.321497
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.911741256713867,
                    "model_output": 7.9117,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.193
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1525
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.1111
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0832
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0807
                        }
                      ],
                      "others": 0.529,
                      "total": 7.9117,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.192956
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.152531
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.111086
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.083166
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.080698
                        }
                      ],
                      "others_margin": 0.529143
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 29,
                  "role_matches": 25,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0156, quality 0.859)",
              "stats": {
                "expected_goals": 0.5542,
                "goals": 0.9518,
                "goal_rate": 0.9518,
                "shots_on_target": 1.8397,
                "total_shots": 3.2183,
                "expected_assists": 0.1826,
                "key_pass": 1.8039,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.9317,
                "accurate_pass": 24.7342,
                "duels_won": 3.1344,
                "total_long_balls": 1.8627,
                "accurate_long_balls": 0.8957,
                "total_opp_half_passes": 21.4287,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 2.7355,
                "crosses_accurate": 0.9559,
                "touches": 45.0052,
                "possession_lost": 9.5857,
                "dispossessed": 0.3824,
                "duels_lost": 2.2008,
                "aerial_lost": 0.3163,
                "total_contest": 2.2658,
                "won_contest": 1.6044,
                "ball_recovery": 1.5358,
                "challenges_lost": 0.6028,
                "fouls": 0.3374,
                "fouls_drawn": 0.7008,
                "assists": 0.2983,
                "assist_rate": 0.2983,
                "interceptions": 0.1072,
                "tackles_won": 0.4262,
                "tackles": 0.7168,
                "clearances": 0.3457,
                "blocks": 0.0,
                "big_chances_created": 0.4622,
                "big_chances_missed": 0.7397,
                "xgot": 1.116,
                "offsides": 0.5008,
                "ball_carries": 13.1026,
                "total_progression": 59.457,
                "progressive_carries": 2.2109,
                "shots_off_target": 1.3786
              },
              "params": {
                "market_value_eur": 63000000,
                "quality_factor": 0.8589,
                "boost_factor": 1.0156,
                "reference_quality": 0.505,
                "history_matches": 29,
                "history_shrink": 0.1471,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0159)",
              "stats": {
                "expected_goals": 0.5542,
                "goals": 0.9641,
                "goal_rate": 0.9641,
                "shots_on_target": 1.8487,
                "total_shots": 3.2216,
                "expected_assists": 0.1826,
                "key_pass": 1.8039,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.9317,
                "accurate_pass": 24.7342,
                "duels_won": 3.1344,
                "total_long_balls": 1.8627,
                "accurate_long_balls": 0.8957,
                "total_opp_half_passes": 21.4287,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 2.7468,
                "crosses_accurate": 0.9559,
                "touches": 45.0052,
                "possession_lost": 9.5857,
                "dispossessed": 0.3824,
                "duels_lost": 2.2008,
                "aerial_lost": 0.3163,
                "total_contest": 2.2658,
                "won_contest": 1.6044,
                "ball_recovery": 1.5358,
                "challenges_lost": 0.6028,
                "fouls": 0.3485,
                "fouls_drawn": 0.6951,
                "assists": 0.299,
                "assist_rate": 0.299,
                "interceptions": 0.1055,
                "tackles_won": 0.4194,
                "tackles": 0.7168,
                "clearances": 0.3457,
                "blocks": 0.0,
                "big_chances_created": 0.4622,
                "big_chances_missed": 0.7397,
                "xgot": 1.116,
                "offsides": 0.5093,
                "ball_carries": 13.1026,
                "total_progression": 59.457,
                "progressive_carries": 2.2109,
                "shots_off_target": 1.3786
              },
              "params": {
                "blend_weight": 0.0159,
                "history_matches": 29,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8613,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 0.9518,
                  "after": 0.9641
                },
                {
                  "stat": "totalCross",
                  "before": 2.7355,
                  "after": 2.7468
                },
                {
                  "stat": "fouls",
                  "before": 0.3374,
                  "after": 0.3485
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.8397,
                  "after": 1.8487
                },
                {
                  "stat": "totalOffside",
                  "before": 0.5008,
                  "after": 0.5093
                },
                {
                  "stat": "wonTackle",
                  "before": 0.4262,
                  "after": 0.4194
                },
                {
                  "stat": "wasFouled",
                  "before": 0.7008,
                  "after": 0.6951
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.5542,
                "goals": 0.9641,
                "goal_rate": 0.9641,
                "shots_on_target": 1.8487,
                "total_shots": 3.2273,
                "expected_assists": 0.1826,
                "key_pass": 1.8039,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.9317,
                "accurate_pass": 24.7342,
                "duels_won": 3.1344,
                "total_long_balls": 1.8627,
                "accurate_long_balls": 0.8957,
                "total_opp_half_passes": 21.4287,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 2.7468,
                "crosses_accurate": 0.9559,
                "touches": 45.0052,
                "possession_lost": 9.5857,
                "dispossessed": 0.3824,
                "duels_lost": 2.2008,
                "aerial_lost": 0.3163,
                "total_contest": 2.2658,
                "won_contest": 1.6044,
                "ball_recovery": 1.5358,
                "challenges_lost": 0.6028,
                "fouls": 0.3485,
                "fouls_drawn": 0.6951,
                "assists": 0.299,
                "assist_rate": 0.299,
                "interceptions": 0.1055,
                "tackles_won": 0.4194,
                "tackles": 0.7168,
                "clearances": 0.3457,
                "blocks": 0.0,
                "big_chances_created": 0.4622,
                "big_chances_missed": 0.7397,
                "xgot": 1.116,
                "offsides": 0.5093,
                "ball_carries": 13.1026,
                "total_progression": 59.457,
                "progressive_carries": 2.2109,
                "shots_off_target": 1.3786
              },
              "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.5149,
                "goals": 0.8957,
                "goal_rate": 0.8957,
                "shots_on_target": 1.7176,
                "total_shots": 2.9985,
                "expected_assists": 0.1826,
                "key_pass": 1.8039,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.9317,
                "accurate_pass": 24.7342,
                "duels_won": 3.1344,
                "total_long_balls": 1.8627,
                "accurate_long_balls": 0.8957,
                "total_opp_half_passes": 21.4287,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 2.7468,
                "crosses_accurate": 0.9559,
                "touches": 45.0052,
                "possession_lost": 9.5857,
                "dispossessed": 0.3824,
                "duels_lost": 2.2008,
                "aerial_lost": 0.3163,
                "total_contest": 2.2658,
                "won_contest": 1.6044,
                "ball_recovery": 1.5358,
                "challenges_lost": 0.6028,
                "fouls": 0.3485,
                "fouls_drawn": 0.6951,
                "assists": 0.299,
                "assist_rate": 0.299,
                "interceptions": 0.1055,
                "tackles_won": 0.4194,
                "tackles": 0.7168,
                "clearances": 0.3457,
                "blocks": 0.0,
                "big_chances_created": 0.4622,
                "big_chances_missed": 0.6873,
                "xgot": 1.0369,
                "offsides": 0.5093,
                "ball_carries": 13.1026,
                "total_progression": 59.457,
                "progressive_carries": 2.2109,
                "shots_off_target": 1.2809,
                "duel_xg_multiplier": 0.9291,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Marc Cucurella, Dean Huijsen",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9291,
                  "skill_edge": -0.0122,
                  "height_edge": -0.036,
                  "attacker_skill": 0.8589,
                  "defender_skill": 0.886,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Marc Cucurella",
                      "market_value": 62000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8842
                    },
                    {
                      "player": "Dean Huijsen",
                      "market_value": 66000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8879
                    }
                  ],
                  "xg_override": 0.5149
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 3.2273,
                  "after": 2.9985
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.8487,
                  "after": 1.7176
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3786,
                  "after": 1.2809
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 1.116,
                  "after": 1.0369
                },
                {
                  "stat": "goals",
                  "before": 0.9641,
                  "after": 0.8957
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.7397,
                  "after": 0.6873
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.5542,
                  "after": 0.5149
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.5149,
                "goal_rate": 0.8957,
                "goals": 0,
                "shots_on_target": 1.7176,
                "total_shots": 2.9985,
                "expected_assists": 0.1826,
                "key_pass": 1.8039,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.9317,
                "accurate_pass": 24.7342,
                "duels_won": 3.1344,
                "total_long_balls": 1.8627,
                "accurate_long_balls": 0.8957,
                "total_opp_half_passes": 21.4287,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 2.7468,
                "crosses_accurate": 0.9559,
                "touches": 45.0052,
                "possession_lost": 9.5857,
                "dispossessed": 0.3824,
                "duels_lost": 2.2008,
                "aerial_lost": 0.3163,
                "total_contest": 2.2658,
                "won_contest": 1.6044,
                "ball_recovery": 1.5358,
                "challenges_lost": 0.6028,
                "fouls": 0.3485,
                "fouls_drawn": 0.6951,
                "assist_rate": 0.299,
                "assists": 0,
                "interceptions": 0.1055,
                "tackles_won": 0.4194,
                "tackles": 0.7168,
                "clearances": 0.3457,
                "blocks": 0.0,
                "big_chances_created": 0.4622,
                "big_chances_missed": 0.6873,
                "xgot": 1.0369,
                "offsides": 0.5093,
                "ball_carries": 13.1026,
                "total_progression": 59.457,
                "progressive_carries": 2.2109,
                "shots_off_target": 1.2809,
                "duel_xg_multiplier": 0.9291,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.5987,
                "goal_rate": 0.8957,
                "goals": 0,
                "shots_on_target": 1.7176,
                "total_shots": 2.9985,
                "expected_assists": 0.2269,
                "key_pass": 1.8039,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.9317,
                "accurate_pass": 24.7342,
                "duels_won": 3.1344,
                "total_long_balls": 1.8627,
                "accurate_long_balls": 0.8957,
                "total_opp_half_passes": 21.4287,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 2.7468,
                "crosses_accurate": 0.9559,
                "touches": 45.0052,
                "possession_lost": 9.5857,
                "dispossessed": 0.3824,
                "duels_lost": 2.2008,
                "aerial_lost": 0.3163,
                "total_contest": 2.2658,
                "won_contest": 1.6044,
                "ball_recovery": 1.5358,
                "challenges_lost": 0.6028,
                "fouls": 0.3485,
                "fouls_drawn": 0.6951,
                "assist_rate": 0.299,
                "assists": 0,
                "interceptions": 0.1055,
                "tackles_won": 0.4194,
                "tackles": 0.7168,
                "clearances": 0.3457,
                "blocks": 0.0,
                "big_chances_created": 0.4622,
                "big_chances_missed": 0.6873,
                "xgot": 1.2057,
                "offsides": 0.5093,
                "ball_carries": 13.1026,
                "total_progression": 59.457,
                "progressive_carries": 2.2109,
                "shots_off_target": 1.2809,
                "duel_xg_multiplier": 0.9291,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "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.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.5149,
                  "after": 0.5987
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1826,
                  "after": 0.2269
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 88.0)",
              "stats": {
                "expected_goals": 0.5987,
                "goal_rate": 0.8957,
                "goals": 0,
                "shots_on_target": 1.7176,
                "total_shots": 2.9985,
                "expected_assists": 0.2269,
                "key_pass": 1.8039,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.9317,
                "accurate_pass": 24.7342,
                "duels_won": 3.1344,
                "total_long_balls": 1.8627,
                "accurate_long_balls": 0.8957,
                "total_opp_half_passes": 21.4287,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 2.7468,
                "crosses_accurate": 0.9559,
                "touches": 45.0052,
                "possession_lost": 9.5857,
                "dispossessed": 0.3824,
                "duels_lost": 2.2008,
                "aerial_lost": 0.3163,
                "total_contest": 2.2658,
                "won_contest": 1.6044,
                "ball_recovery": 1.5358,
                "challenges_lost": 0.6028,
                "fouls": 0.3485,
                "fouls_drawn": 0.6951,
                "assist_rate": 0.299,
                "assists": 0,
                "interceptions": 0.1055,
                "tackles_won": 0.4194,
                "tackles": 0.7168,
                "clearances": 0.3457,
                "blocks": 0.0,
                "big_chances_created": 0.4622,
                "big_chances_missed": 0.6873,
                "xgot": 1.2057,
                "offsides": 0.5093,
                "ball_carries": 13.1026,
                "total_progression": 59.457,
                "progressive_carries": 2.2109,
                "shots_off_target": 1.2809,
                "duel_xg_multiplier": 0.9291,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 88.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": 10,
                "fifa_rank": 32.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": {
                "expected_goals": 0.5987,
                "goal_rate": 0.8957,
                "goals": 1,
                "shots_on_target": 1.7176,
                "total_shots": 2.9985,
                "expected_assists": 0.2269,
                "key_pass": 1.8039,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.9317,
                "accurate_pass": 24.7342,
                "duels_won": 3.1344,
                "total_long_balls": 1.8627,
                "accurate_long_balls": 0.8957,
                "total_opp_half_passes": 21.4287,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 2.7468,
                "crosses_accurate": 0.9559,
                "touches": 45.0052,
                "possession_lost": 9.5857,
                "dispossessed": 0.3824,
                "duels_lost": 2.2008,
                "aerial_lost": 0.3163,
                "total_contest": 2.2658,
                "won_contest": 1.6044,
                "ball_recovery": 1.5358,
                "challenges_lost": 0.6028,
                "fouls": 0.3485,
                "fouls_drawn": 0.6951,
                "assist_rate": 0.299,
                "assists": 0,
                "interceptions": 0.1055,
                "tackles_won": 0.4194,
                "tackles": 0.7168,
                "clearances": 0.3457,
                "blocks": 0.0,
                "big_chances_created": 0.4622,
                "big_chances_missed": 0.6873,
                "xgot": 1.2057,
                "offsides": 0.5093,
                "ball_carries": 13.1026,
                "total_progression": 59.457,
                "progressive_carries": 2.2109,
                "shots_off_target": 1.2809,
                "duel_xg_multiplier": 0.9291,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4505,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.4505,
                "goal_rate": 0.8957,
                "scorer_weight": 0.7484,
                "squad_weight_total": 2.8912,
                "weight_share": 0.2588,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.5987,
                "goal_rate": 0.8957,
                "goals": 1,
                "shots_on_target": 1.7176,
                "total_shots": 2.9985,
                "expected_assists": 0.2269,
                "key_pass": 1.8039,
                "rating": 7.9117,
                "minutes": 77.52,
                "total_pass": 29.9317,
                "accurate_pass": 24.7342,
                "duels_won": 3.1344,
                "total_long_balls": 1.8627,
                "accurate_long_balls": 0.8957,
                "total_opp_half_passes": 21.4287,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 2.7468,
                "crosses_accurate": 0.9559,
                "touches": 45.0052,
                "possession_lost": 9.5857,
                "dispossessed": 0.3824,
                "duels_lost": 2.2008,
                "aerial_lost": 0.3163,
                "total_contest": 2.2658,
                "won_contest": 1.6044,
                "ball_recovery": 1.5358,
                "challenges_lost": 0.6028,
                "fouls": 0.3485,
                "fouls_drawn": 0.6951,
                "assist_rate": 0.299,
                "assists": 0,
                "interceptions": 0.1055,
                "tackles_won": 0.4194,
                "tackles": 0.7168,
                "clearances": 0.3457,
                "blocks": 0.0,
                "big_chances_created": 0.4622,
                "big_chances_missed": 0.6873,
                "xgot": 1.2057,
                "offsides": 0.5093,
                "ball_carries": 13.1026,
                "total_progression": 59.457,
                "progressive_carries": 2.2109,
                "shots_off_target": 1.2809,
                "duel_xg_multiplier": 0.9291,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4505,
                "projected_assists": 0,
                "assist_probability": 0.203,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.203,
                "assist_rate": 0.299,
                "provider_weight": 0.2836,
                "squad_weight_total": 1.8872,
                "weight_share": 0.1503,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Anthony Gordon": {
          "player_id": 914902,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 17,
          "height": 183,
          "market_value": 82000000,
          "stats": {
            "expected_goals": 0.3844,
            "goal_rate": 0.2618,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1455,
            "key_pass": 1,
            "rating": 6.891,
            "minutes": 77,
            "total_pass": 22,
            "accurate_pass": 19,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 15,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 37,
            "possession_lost": 8.9427,
            "dispossessed": 1.0957,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 3,
            "won_contest": 2,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.2504,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2724,
            "offsides": 0,
            "ball_carries": 14,
            "total_progression": 65,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9867,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.191,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Marc Cucurella, Dean Huijsen",
            "opponent_faced": "Marc Cucurella, Dean Huijsen",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.3191,
            "projected_assists": 0,
            "assist_probability": 0.1354,
            "finishing_factor": 0.8192,
            "creation_factor": 1.25,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 28,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1596,
                "expected_assists": 0.0109,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 16,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1965,
                "expected_assists": 0.0754,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 47,
                "accurate_pass": 41,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 86,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9081,
                "expected_assists": 0.0178,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 27,
                "accurate_pass": 24,
                "tackles": 1,
                "duels_won": 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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.5656,
                "expected_assists": 0.129,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 77,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2531,
                "expected_assists": 0.1888,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 80,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3171,
                "expected_assists": 0.2526,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 7.6,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.0769,
                "expected_assists": 0.3274,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 13,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023999,
              "match_date": "2026-04-12",
              "home_team": "Crystal Palace",
              "away_team": "Newcastle United",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Newcastle United",
              "opponent": "Crystal Palace",
              "stats": {
                "minutes": 71,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0375,
                "expected_assists": 0.0283,
                "total_shots": 1,
                "total_pass": 26,
                "accurate_pass": 19,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14024021,
              "match_date": "2026-03-22",
              "home_team": "Newcastle United",
              "away_team": "Sunderland",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Newcastle United",
              "opponent": "Sunderland",
              "stats": {
                "minutes": 89,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4772,
                "expected_assists": 0.0251,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 395,
            "combined_rank_score": 252.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 12.0,
            "fifa_rank": 413.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.891,
            "source_file": "data/player_rankings.csv",
            "player_name": "Anthony Gordon",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Oybek Bozorov",
                  "ranking": 390
                },
                {
                  "player_name": "Marlon Freitas",
                  "ranking": 391
                },
                {
                  "player_name": "Gabriel Paulista",
                  "ranking": 392
                },
                {
                  "player_name": "Sergio Rochet",
                  "ranking": 393
                },
                {
                  "player_name": "João Palhinha",
                  "ranking": 394
                }
              ],
              "lower": [
                {
                  "player_name": "Giorgi Jgerenaia",
                  "ranking": 396
                },
                {
                  "player_name": "Stipe Perica",
                  "ranking": 397
                },
                {
                  "player_name": "Nurillo Tukhtasinov",
                  "ranking": 398
                },
                {
                  "player_name": "Min Ji-Hoon",
                  "ranking": 399
                },
                {
                  "player_name": "Avazbek Ulmasaliyev",
                  "ranking": 400
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 32,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 32,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0154,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 181.0,
              "goals_per90": 0.0,
              "assists_per90": 1.5,
              "shots_per90": 3.48,
              "shots_on_target_pct": 42.9,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (F_service) evaluated 32 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.13, gls/90: 0.0, ast/90: 1.5)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3301,
                "goals": 0.2643,
                "goal_rate": 0.2643,
                "shots_on_target": 0.7621,
                "total_shots": 2.1003,
                "expected_assists": 0.1153,
                "key_pass": 1.2897,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 21.8336,
                "accurate_pass": 18.924,
                "duels_won": 3.8036,
                "total_long_balls": 0.7293,
                "accurate_long_balls": 0.5557,
                "total_opp_half_passes": 16.831,
                "accurate_opp_half_passes": 14.3587,
                "crosses_total": 1.2306,
                "crosses_accurate": 0.1551,
                "touches": 36.7456,
                "possession_lost": 8.8071,
                "dispossessed": 1.0791,
                "duels_lost": 4.1623,
                "aerial_lost": 0.6857,
                "total_contest": 3.4044,
                "won_contest": 1.7796,
                "ball_recovery": 1.8579,
                "challenges_lost": 0.5748,
                "fouls": 0.1995,
                "fouls_drawn": 1.0039,
                "assists": 0.2345,
                "assist_rate": 0.2345,
                "interceptions": 0.0602,
                "tackles_won": 0.4735,
                "tackles": 0.8333,
                "clearances": 0.4553,
                "blocks": 0.0,
                "big_chances_created": 0.1292,
                "big_chances_missed": 0.3788,
                "xgot": 0.2339,
                "offsides": 0.4625,
                "ball_carries": 13.886,
                "total_progression": 63.6982,
                "progressive_carries": 3.5764,
                "shots_off_target": 1.3381
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1508,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1282,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.109,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Crystal Palace",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Sunderland",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Chelsea",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-03-04",
                    "opponent": "Manchester United",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.4165,
                  "totalOppositionHalfPasses": 16.4833,
                  "accurateOppositionHalfPasses": 14.2201,
                  "accuratePass": 18.5887,
                  "totalShots": 2.0593
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.33006003499031067,
                    "model_output": 0.3301,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0637
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0572
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0143
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0097
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.3301,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.277801
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.196888
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.043743
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.028487
                        },
                        {
                          "name": "goals",
                          "margin": -0.026136
                        }
                      ],
                      "others_margin": -0.014586
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.26433518528938293,
                    "model_output": 0.2643,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0568
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0528
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0381
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0108
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.008
                        }
                      ],
                      "others": -0.0137,
                      "total": 0.2643,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.24599
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.184449
                        },
                        {
                          "name": "goals",
                          "margin": -0.129589
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.038533
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.028301
                        }
                      ],
                      "others_margin": -0.050756
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7621248364448547,
                    "model_output": 0.7621,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1568
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0615
                        },
                        {
                          "name": "goals",
                          "contribution": -0.05
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0331
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0299
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.7621,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.256147
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.084906
                        },
                        {
                          "name": "goals",
                          "margin": -0.068546
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.045873
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.039747
                        }
                      ],
                      "others_margin": -0.007978
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.1002581119537354,
                    "model_output": 2.1003,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5198
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.208
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0507
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0288
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0238
                        }
                      ],
                      "others": -0.0043,
                      "total": 2.1003,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.5198
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.207992
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.05066
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.028764
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.023763
                        }
                      ],
                      "others_margin": -0.004374
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11533808708190918,
                    "model_output": 0.1153,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0112
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0097
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.01
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0066
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.004
                        }
                      ],
                      "others": 0.0227,
                      "total": 0.1153,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.16041
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.12059
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.110818
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.072476
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.044555
                        }
                      ],
                      "others_margin": 0.220671
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.2897026538848877,
                    "model_output": 1.2897,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2132
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1301
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0779
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0314
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0277
                        }
                      ],
                      "others": 0.1354,
                      "total": 1.2897,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.274809
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.136818
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.073792
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.02826
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.024302
                        }
                      ],
                      "others_margin": 0.11099
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.890996932983398,
                    "model_output": 6.891,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.057
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0383
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0167
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0133
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0098
                        }
                      ],
                      "others": 0.0467,
                      "total": 6.891,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.057008
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.038334
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.016688
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.013281
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.009836
                        }
                      ],
                      "others_margin": 0.046738
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 32,
                  "role_matches": 29,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0154, quality 0.884)",
              "stats": {
                "expected_goals": 0.3351,
                "goals": 0.2684,
                "goal_rate": 0.2684,
                "shots_on_target": 0.7739,
                "total_shots": 2.1326,
                "expected_assists": 0.1171,
                "key_pass": 1.3096,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 22.1698,
                "accurate_pass": 19.2154,
                "duels_won": 3.8622,
                "total_long_balls": 0.7405,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.0902,
                "accurate_opp_half_passes": 14.5798,
                "crosses_total": 1.2496,
                "crosses_accurate": 0.1575,
                "touches": 37.3115,
                "possession_lost": 8.9427,
                "dispossessed": 1.0957,
                "duels_lost": 4.2264,
                "aerial_lost": 0.6963,
                "total_contest": 3.4568,
                "won_contest": 1.807,
                "ball_recovery": 1.8865,
                "challenges_lost": 0.5837,
                "fouls": 0.2026,
                "fouls_drawn": 1.0194,
                "assists": 0.2381,
                "assist_rate": 0.2381,
                "interceptions": 0.0611,
                "tackles_won": 0.4808,
                "tackles": 0.8461,
                "clearances": 0.4623,
                "blocks": 0.0,
                "big_chances_created": 0.1312,
                "big_chances_missed": 0.3846,
                "xgot": 0.2375,
                "offsides": 0.4696,
                "ball_carries": 14.0998,
                "total_progression": 64.6792,
                "progressive_carries": 3.6315,
                "shots_off_target": 1.3587
              },
              "params": {
                "market_value_eur": 82000000,
                "quality_factor": 0.8837,
                "boost_factor": 1.0154,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0117)",
              "stats": {
                "expected_goals": 0.3351,
                "goals": 0.2653,
                "goal_rate": 0.2653,
                "shots_on_target": 0.7798,
                "total_shots": 2.1426,
                "expected_assists": 0.1171,
                "key_pass": 1.3096,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 22.1698,
                "accurate_pass": 19.2154,
                "duels_won": 3.8622,
                "total_long_balls": 0.7405,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.0902,
                "accurate_opp_half_passes": 14.5798,
                "crosses_total": 1.24,
                "crosses_accurate": 0.1575,
                "touches": 37.3115,
                "possession_lost": 8.9427,
                "dispossessed": 1.0957,
                "duels_lost": 4.2264,
                "aerial_lost": 0.6963,
                "total_contest": 3.4568,
                "won_contest": 1.807,
                "ball_recovery": 1.8865,
                "challenges_lost": 0.5837,
                "fouls": 0.2053,
                "fouls_drawn": 1.0225,
                "assists": 0.2504,
                "assist_rate": 0.2504,
                "interceptions": 0.0604,
                "tackles_won": 0.4802,
                "tackles": 0.8461,
                "clearances": 0.4623,
                "blocks": 0.0,
                "big_chances_created": 0.1312,
                "big_chances_missed": 0.3846,
                "xgot": 0.2375,
                "offsides": 0.4742,
                "ball_carries": 14.0998,
                "total_progression": 64.6792,
                "progressive_carries": 3.6315,
                "shots_off_target": 1.3587
              },
              "params": {
                "blend_weight": 0.0117,
                "history_matches": 32,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8582,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "goalAssist",
                  "before": 0.2381,
                  "after": 0.2504
                },
                {
                  "stat": "totalShots",
                  "before": 2.1326,
                  "after": 2.1426
                },
                {
                  "stat": "totalCross",
                  "before": 1.2496,
                  "after": 1.24
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7739,
                  "after": 0.7798
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3351,
                "goals": 0.2653,
                "goal_rate": 0.2653,
                "shots_on_target": 0.7798,
                "total_shots": 2.1426,
                "expected_assists": 0.1171,
                "key_pass": 1.3096,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 22.1698,
                "accurate_pass": 19.2154,
                "duels_won": 3.8622,
                "total_long_balls": 0.7405,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.0902,
                "accurate_opp_half_passes": 14.5798,
                "crosses_total": 1.24,
                "crosses_accurate": 0.1575,
                "touches": 37.3115,
                "possession_lost": 8.9427,
                "dispossessed": 1.0957,
                "duels_lost": 4.2264,
                "aerial_lost": 0.6963,
                "total_contest": 3.4568,
                "won_contest": 1.807,
                "ball_recovery": 1.8865,
                "challenges_lost": 0.5837,
                "fouls": 0.2053,
                "fouls_drawn": 1.0225,
                "assists": 0.2504,
                "assist_rate": 0.2504,
                "interceptions": 0.0604,
                "tackles_won": 0.4802,
                "tackles": 0.8461,
                "clearances": 0.4623,
                "blocks": 0.0,
                "big_chances_created": 0.1312,
                "big_chances_missed": 0.3846,
                "xgot": 0.2375,
                "offsides": 0.4742,
                "ball_carries": 14.0998,
                "total_progression": 64.6792,
                "progressive_carries": 3.6315,
                "shots_off_target": 1.3587
              },
              "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.3306,
                "goals": 0.2618,
                "goal_rate": 0.2618,
                "shots_on_target": 0.7694,
                "total_shots": 2.1141,
                "expected_assists": 0.1171,
                "key_pass": 1.3096,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 22.1698,
                "accurate_pass": 19.2154,
                "duels_won": 3.8622,
                "total_long_balls": 0.7405,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.0902,
                "accurate_opp_half_passes": 14.5798,
                "crosses_total": 1.24,
                "crosses_accurate": 0.1575,
                "touches": 37.3115,
                "possession_lost": 8.9427,
                "dispossessed": 1.0957,
                "duels_lost": 4.2264,
                "aerial_lost": 0.6963,
                "total_contest": 3.4568,
                "won_contest": 1.807,
                "ball_recovery": 1.8865,
                "challenges_lost": 0.5837,
                "fouls": 0.2053,
                "fouls_drawn": 1.0225,
                "assists": 0.2504,
                "assist_rate": 0.2504,
                "interceptions": 0.0604,
                "tackles_won": 0.4802,
                "tackles": 0.8461,
                "clearances": 0.4623,
                "blocks": 0.0,
                "big_chances_created": 0.1312,
                "big_chances_missed": 0.3795,
                "xgot": 0.2343,
                "offsides": 0.4742,
                "ball_carries": 14.0998,
                "total_progression": 64.6792,
                "progressive_carries": 3.6315,
                "shots_off_target": 1.3406,
                "duel_xg_multiplier": 0.9867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.191,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Marc Cucurella, Dean Huijsen",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.191,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9867,
                  "skill_edge": -0.0011,
                  "height_edge": -0.008,
                  "attacker_skill": 0.8837,
                  "defender_skill": 0.886,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Marc Cucurella",
                      "market_value": 62000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8842
                    },
                    {
                      "player": "Dean Huijsen",
                      "market_value": 66000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8879
                    }
                  ],
                  "xg_override": 0.3306
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.1426,
                  "after": 2.1141
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3587,
                  "after": 1.3406
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7798,
                  "after": 0.7694
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.3846,
                  "after": 0.3795
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.3306,
                "goal_rate": 0.2618,
                "goals": 0,
                "shots_on_target": 0.7694,
                "total_shots": 2.1141,
                "expected_assists": 0.1171,
                "key_pass": 1.3096,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 22.1698,
                "accurate_pass": 19.2154,
                "duels_won": 3.8622,
                "total_long_balls": 0.7405,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.0902,
                "accurate_opp_half_passes": 14.5798,
                "crosses_total": 1.24,
                "crosses_accurate": 0.1575,
                "touches": 37.3115,
                "possession_lost": 8.9427,
                "dispossessed": 1.0957,
                "duels_lost": 4.2264,
                "aerial_lost": 0.6963,
                "total_contest": 3.4568,
                "won_contest": 1.807,
                "ball_recovery": 1.8865,
                "challenges_lost": 0.5837,
                "fouls": 0.2053,
                "fouls_drawn": 1.0225,
                "assist_rate": 0.2504,
                "assists": 0,
                "interceptions": 0.0604,
                "tackles_won": 0.4802,
                "tackles": 0.8461,
                "clearances": 0.4623,
                "blocks": 0.0,
                "big_chances_created": 0.1312,
                "big_chances_missed": 0.3795,
                "xgot": 0.2343,
                "offsides": 0.4742,
                "ball_carries": 14.0998,
                "total_progression": 64.6792,
                "progressive_carries": 3.6315,
                "shots_off_target": 1.3406,
                "duel_xg_multiplier": 0.9867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.191,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.3844,
                "goal_rate": 0.2618,
                "goals": 0,
                "shots_on_target": 0.7694,
                "total_shots": 2.1141,
                "expected_assists": 0.1455,
                "key_pass": 1.3096,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 22.1698,
                "accurate_pass": 19.2154,
                "duels_won": 3.8622,
                "total_long_balls": 0.7405,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.0902,
                "accurate_opp_half_passes": 14.5798,
                "crosses_total": 1.24,
                "crosses_accurate": 0.1575,
                "touches": 37.3115,
                "possession_lost": 8.9427,
                "dispossessed": 1.0957,
                "duels_lost": 4.2264,
                "aerial_lost": 0.6963,
                "total_contest": 3.4568,
                "won_contest": 1.807,
                "ball_recovery": 1.8865,
                "challenges_lost": 0.5837,
                "fouls": 0.2053,
                "fouls_drawn": 1.0225,
                "assist_rate": 0.2504,
                "assists": 0,
                "interceptions": 0.0604,
                "tackles_won": 0.4802,
                "tackles": 0.8461,
                "clearances": 0.4623,
                "blocks": 0.0,
                "big_chances_created": 0.1312,
                "big_chances_missed": 0.3795,
                "xgot": 0.2724,
                "offsides": 0.4742,
                "ball_carries": 14.0998,
                "total_progression": 64.6792,
                "progressive_carries": 3.6315,
                "shots_off_target": 1.3406,
                "duel_xg_multiplier": 0.9867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.191,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8192,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3306,
                  "after": 0.3844
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1171,
                  "after": 0.1455
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.3844,
                "goal_rate": 0.2618,
                "goals": 0,
                "shots_on_target": 0.7694,
                "total_shots": 2.1141,
                "expected_assists": 0.1455,
                "key_pass": 1.3096,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 22.1698,
                "accurate_pass": 19.2154,
                "duels_won": 3.8622,
                "total_long_balls": 0.7405,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.0902,
                "accurate_opp_half_passes": 14.5798,
                "crosses_total": 1.24,
                "crosses_accurate": 0.1575,
                "touches": 37.3115,
                "possession_lost": 8.9427,
                "dispossessed": 1.0957,
                "duels_lost": 4.2264,
                "aerial_lost": 0.6963,
                "total_contest": 3.4568,
                "won_contest": 1.807,
                "ball_recovery": 1.8865,
                "challenges_lost": 0.5837,
                "fouls": 0.2053,
                "fouls_drawn": 1.0225,
                "assist_rate": 0.2504,
                "assists": 0,
                "interceptions": 0.0604,
                "tackles_won": 0.4802,
                "tackles": 0.8461,
                "clearances": 0.4623,
                "blocks": 0.0,
                "big_chances_created": 0.1312,
                "big_chances_missed": 0.3795,
                "xgot": 0.2724,
                "offsides": 0.4742,
                "ball_carries": 14.0998,
                "total_progression": 64.6792,
                "progressive_carries": 3.6315,
                "shots_off_target": 1.3406,
                "duel_xg_multiplier": 0.9867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.191,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8192,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 395,
                "fifa_rank": 413.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": {
                "expected_goals": 0.3844,
                "goal_rate": 0.2618,
                "goals": 0,
                "shots_on_target": 0.7694,
                "total_shots": 2.1141,
                "expected_assists": 0.1455,
                "key_pass": 1.3096,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 22.1698,
                "accurate_pass": 19.2154,
                "duels_won": 3.8622,
                "total_long_balls": 0.7405,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.0902,
                "accurate_opp_half_passes": 14.5798,
                "crosses_total": 1.24,
                "crosses_accurate": 0.1575,
                "touches": 37.3115,
                "possession_lost": 8.9427,
                "dispossessed": 1.0957,
                "duels_lost": 4.2264,
                "aerial_lost": 0.6963,
                "total_contest": 3.4568,
                "won_contest": 1.807,
                "ball_recovery": 1.8865,
                "challenges_lost": 0.5837,
                "fouls": 0.2053,
                "fouls_drawn": 1.0225,
                "assist_rate": 0.2504,
                "assists": 0,
                "interceptions": 0.0604,
                "tackles_won": 0.4802,
                "tackles": 0.8461,
                "clearances": 0.4623,
                "blocks": 0.0,
                "big_chances_created": 0.1312,
                "big_chances_missed": 0.3795,
                "xgot": 0.2724,
                "offsides": 0.4742,
                "ball_carries": 14.0998,
                "total_progression": 64.6792,
                "progressive_carries": 3.6315,
                "shots_off_target": 1.3406,
                "duel_xg_multiplier": 0.9867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.191,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3191,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8192,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.3191,
                "goal_rate": 0.2618,
                "scorer_weight": 0.3149,
                "squad_weight_total": 2.8912,
                "weight_share": 0.1089,
                "finishing_factor": 0.8192,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.3844,
                "goal_rate": 0.2618,
                "goals": 0,
                "shots_on_target": 0.7694,
                "total_shots": 2.1141,
                "expected_assists": 0.1455,
                "key_pass": 1.3096,
                "rating": 6.891,
                "minutes": 77.24,
                "total_pass": 22.1698,
                "accurate_pass": 19.2154,
                "duels_won": 3.8622,
                "total_long_balls": 0.7405,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.0902,
                "accurate_opp_half_passes": 14.5798,
                "crosses_total": 1.24,
                "crosses_accurate": 0.1575,
                "touches": 37.3115,
                "possession_lost": 8.9427,
                "dispossessed": 1.0957,
                "duels_lost": 4.2264,
                "aerial_lost": 0.6963,
                "total_contest": 3.4568,
                "won_contest": 1.807,
                "ball_recovery": 1.8865,
                "challenges_lost": 0.5837,
                "fouls": 0.2053,
                "fouls_drawn": 1.0225,
                "assist_rate": 0.2504,
                "assists": 0,
                "interceptions": 0.0604,
                "tackles_won": 0.4802,
                "tackles": 0.8461,
                "clearances": 0.4623,
                "blocks": 0.0,
                "big_chances_created": 0.1312,
                "big_chances_missed": 0.3795,
                "xgot": 0.2724,
                "offsides": 0.4742,
                "ball_carries": 14.0998,
                "total_progression": 64.6792,
                "progressive_carries": 3.6315,
                "shots_off_target": 1.3406,
                "duel_xg_multiplier": 0.9867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.191,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3191,
                "projected_assists": 0,
                "assist_probability": 0.1354,
                "finishing_factor": 0.8192,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1354,
                "assist_rate": 0.2504,
                "provider_weight": 0.1819,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0964,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Fermín López": {
          "player_id": 1153270,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 176,
          "market_value": 113000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.2213,
            "assist_rate": 0.167,
            "assists": 0,
            "expected_goals": 0.2813,
            "goal_rate": 0.2381,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.1402,
            "minutes": 80,
            "total_pass": 39,
            "accurate_pass": 33,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 22,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 57,
            "possession_lost": 12.9788,
            "dispossessed": 1.5316,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 0,
            "total_contest": 3,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.6676,
            "ball_carries": 14,
            "total_progression": 50,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.014,
            "dribbles_attempted": 4,
            "dribbles_successful": 1.5,
            "crosses_attempted": 2.7,
            "duel_win_rate": 0.43,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "LW vs CB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Marc Cucurella",
            "opponent_faced": "Marc Cucurella",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.2452,
            "projected_assists": 0,
            "assist_probability": 0.1985,
            "finishing_factor": 0.987,
            "creation_factor": 0.9513,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 62,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1348,
                "expected_assists": 0.3833,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 29,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0653,
                "expected_assists": 0.034,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 76,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0861,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 28,
                "key_pass": 3,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 6,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0124,
                "expected_assists": 0.1037,
                "total_shots": 1,
                "total_pass": 47,
                "accurate_pass": 40,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 75,
                "rating": 8.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.3788,
                "expected_assists": 0.4771,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 40,
                "key_pass": 4,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 26,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3051,
                "expected_assists": 0.0748,
                "total_shots": 1,
                "total_pass": 14,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0318,
                "expected_assists": 0.0498,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 43,
                "accurate_pass": 36,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0127,
                "expected_assists": 0.0329,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 33,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2671,
                "expected_assists": 0.0139,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 21,
                "tackles": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 88,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0729,
                "expected_assists": 0.1647,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 33,
                "accurate_pass": 32,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 33,
            "combined_rank_score": 28.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 44.0,
            "sofascore_rating": 7.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 13.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1402,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fermín López",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rafael Romo",
                  "ranking": 28
                },
                {
                  "player_name": "Michael Olise",
                  "ranking": 29
                },
                {
                  "player_name": "Marko Arnautović",
                  "ranking": 30
                },
                {
                  "player_name": "Mikel Oyarzabal",
                  "ranking": 31
                },
                {
                  "player_name": "Vitinha",
                  "ranking": 32
                }
              ],
              "lower": [
                {
                  "player_name": "Bianneider Tamayo",
                  "ranking": 34
                },
                {
                  "player_name": "Virgil van Dijk",
                  "ranking": 35
                },
                {
                  "player_name": "Remo Freuler",
                  "ranking": 36
                },
                {
                  "player_name": "Pablo Cunat Campos",
                  "ranking": 37
                },
                {
                  "player_name": "Pablo Cuñat",
                  "ranking": 38
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 36,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0143,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 207.0,
              "goals_per90": 1.3043478260869565,
              "assists_per90": 0.0,
              "shots_per90": 2.61,
              "shots_on_target_pct": 83.3,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 36 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.15, gls/90: 1.3043478260869565, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.7158,
                "expected_assists": 0.1756,
                "assists": 0.1667,
                "assist_rate": 0.1667,
                "expected_goals": 0.2352,
                "goals": 0.2202,
                "goal_rate": 0.2202,
                "shots_on_target": 0.8713,
                "total_shots": 2.0962,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.1002,
                "accurate_pass": 32.3006,
                "duels_won": 4.6358,
                "total_long_balls": 2.1712,
                "accurate_long_balls": 0.9068,
                "total_own_half_passes": 11.4357,
                "accurate_own_half_passes": 10.9608,
                "total_opp_half_passes": 26.6645,
                "accurate_opp_half_passes": 21.3398,
                "crosses_total": 1.4724,
                "crosses_accurate": 0.3657,
                "touches": 55.8768,
                "possession_lost": 12.7958,
                "dispossessed": 1.51,
                "duels_lost": 6.2535,
                "aerial_won": 0.5633,
                "aerial_lost": 0.6241,
                "interceptions": 0.3578,
                "tackles_won": 0.6777,
                "tackles": 1.5154,
                "clearances": 0.4142,
                "total_contest": 2.8084,
                "won_contest": 1.594,
                "challenges_lost": 1.1547,
                "fouls": 1.8108,
                "fouls_drawn": 0.963,
                "blocks": 0.1414,
                "big_chances_created": 0.4929,
                "big_chances_missed": 0.2182,
                "xgot": 0.5582,
                "ball_carries": 14.1934,
                "total_progression": 49.5748,
                "progressive_carries": 1.9845,
                "shots_off_target": 1.2249
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0924,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.9278,
                  "creative_index": 0.7375,
                  "expectedGoals": 0.3109,
                  "expectedAssists": 0.1381,
                  "onTargetScoringAttempt": 1.0522
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.7157920598983765,
                    "model_output": 1.7158,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1357
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1453
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0787
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0498
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0432
                        }
                      ],
                      "others": 0.3769,
                      "total": 1.7158,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.142522
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.13291
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.06528
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.039192
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.032774
                        }
                      ],
                      "others_margin": 0.248012
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1756165325641632,
                    "model_output": 0.1756,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0105
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0099
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0063
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0065
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0057
                        }
                      ],
                      "others": 0.0509,
                      "total": 0.1756,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115715
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.09775
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.057556
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.056007
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.047008
                        }
                      ],
                      "others_margin": 0.342559
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.16674211621284485,
                    "model_output": 0.1667,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.0075
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0077
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0083
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0089
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0088
                        }
                      ],
                      "others": 0.0403,
                      "total": 0.1667,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.084739
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.079669
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.079229
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.078412
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.071989
                        }
                      ],
                      "others_margin": 0.277062
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.23523859679698944,
                    "model_output": 0.2352,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0533
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0319
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0224
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0182
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0155
                        }
                      ],
                      "others": -0.0005,
                      "total": 0.2352,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.447845
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.195491
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117422
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.086446
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.068195
                        }
                      ],
                      "others_margin": -0.002637
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.22023482620716095,
                    "model_output": 0.2202,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0427
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0239
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0181
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.017
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0188
                        }
                      ],
                      "others": 0.0383,
                      "total": 0.2202,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.362473
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.157294
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.11653
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110058
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.109249
                        }
                      ],
                      "others_margin": 0.190811
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8713164925575256,
                    "model_output": 0.8713,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1243
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1059
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0785
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0452
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0301
                        }
                      ],
                      "others": 0.1633,
                      "total": 0.8713,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.324779
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.211992
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132446
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.068946
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.04343
                        }
                      ],
                      "others_margin": 0.207697
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.096231698989868,
                    "model_output": 2.0962,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.5508
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.179
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.104
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0961
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0464
                        }
                      ],
                      "others": 0.1294,
                      "total": 2.0962,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.550845
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.178994
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.103983
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.096078
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.046395
                        }
                      ],
                      "others_margin": 0.129471
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.14022159576416,
                    "model_output": 7.1402,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1362
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0736
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0285
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.024
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0193
                        }
                      ],
                      "others": 0.0963,
                      "total": 7.1402,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.136225
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.073594
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.028463
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.024007
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.019326
                        }
                      ],
                      "others_margin": 0.096398
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 24,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0143, quality 0.896)",
              "stats": {
                "key_pass": 1.7403,
                "expected_assists": 0.1781,
                "assists": 0.1691,
                "assist_rate": 0.1691,
                "expected_goals": 0.2386,
                "goals": 0.2234,
                "goal_rate": 0.2234,
                "shots_on_target": 0.8838,
                "total_shots": 2.1262,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.645,
                "accurate_pass": 32.7625,
                "duels_won": 4.7021,
                "total_long_balls": 2.2022,
                "accurate_long_balls": 0.9198,
                "total_own_half_passes": 11.5992,
                "accurate_own_half_passes": 11.1175,
                "total_opp_half_passes": 27.0458,
                "accurate_opp_half_passes": 21.645,
                "crosses_total": 1.4935,
                "crosses_accurate": 0.3709,
                "touches": 56.6758,
                "possession_lost": 12.9788,
                "dispossessed": 1.5316,
                "duels_lost": 6.3429,
                "aerial_won": 0.5714,
                "aerial_lost": 0.633,
                "interceptions": 0.3629,
                "tackles_won": 0.6874,
                "tackles": 1.5371,
                "clearances": 0.4201,
                "total_contest": 2.8486,
                "won_contest": 1.6168,
                "challenges_lost": 1.1712,
                "fouls": 1.8367,
                "fouls_drawn": 0.9768,
                "blocks": 0.1434,
                "big_chances_created": 0.4999,
                "big_chances_missed": 0.2213,
                "xgot": 0.5662,
                "ball_carries": 14.3964,
                "total_progression": 50.2837,
                "progressive_carries": 2.0129,
                "shots_off_target": 1.2424
              },
              "params": {
                "market_value_eur": 113000000,
                "quality_factor": 0.8965,
                "boost_factor": 1.0143,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0122)",
              "stats": {
                "key_pass": 1.7403,
                "expected_assists": 0.1781,
                "assists": 0.167,
                "assist_rate": 0.167,
                "expected_goals": 0.2386,
                "goals": 0.2348,
                "goal_rate": 0.2348,
                "shots_on_target": 0.8965,
                "total_shots": 2.1285,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.645,
                "accurate_pass": 32.7625,
                "duels_won": 4.7021,
                "total_long_balls": 2.2022,
                "accurate_long_balls": 0.9198,
                "total_own_half_passes": 11.5992,
                "accurate_own_half_passes": 11.1175,
                "total_opp_half_passes": 27.0458,
                "accurate_opp_half_passes": 21.645,
                "crosses_total": 1.4894,
                "crosses_accurate": 0.3709,
                "touches": 56.6758,
                "possession_lost": 12.9788,
                "dispossessed": 1.5316,
                "duels_lost": 6.3429,
                "aerial_won": 0.5714,
                "aerial_lost": 0.633,
                "interceptions": 0.3632,
                "tackles_won": 0.6931,
                "tackles": 1.5371,
                "clearances": 0.4201,
                "total_contest": 2.8486,
                "won_contest": 1.6168,
                "challenges_lost": 1.1712,
                "fouls": 1.8331,
                "fouls_drawn": 0.9837,
                "blocks": 0.1434,
                "big_chances_created": 0.4999,
                "big_chances_missed": 0.2213,
                "xgot": 0.5662,
                "ball_carries": 14.3964,
                "total_progression": 50.2837,
                "progressive_carries": 2.0129,
                "shots_off_target": 1.2424
              },
              "params": {
                "blend_weight": 0.0122,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.888,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8838,
                  "after": 0.8965
                },
                {
                  "stat": "goals",
                  "before": 0.2234,
                  "after": 0.2348
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9768,
                  "after": 0.9837
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6874,
                  "after": 0.6931
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.7403,
                "expected_assists": 0.1781,
                "assists": 0.167,
                "assist_rate": 0.167,
                "expected_goals": 0.2386,
                "goals": 0.2348,
                "goal_rate": 0.2348,
                "shots_on_target": 0.8965,
                "total_shots": 2.1389,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.645,
                "accurate_pass": 32.7625,
                "duels_won": 4.7021,
                "total_long_balls": 2.2022,
                "accurate_long_balls": 0.9198,
                "total_own_half_passes": 11.5992,
                "accurate_own_half_passes": 11.1175,
                "total_opp_half_passes": 27.0458,
                "accurate_opp_half_passes": 21.645,
                "crosses_total": 1.4894,
                "crosses_accurate": 0.3709,
                "touches": 56.6758,
                "possession_lost": 12.9788,
                "dispossessed": 1.5316,
                "duels_lost": 6.3429,
                "aerial_won": 0.5714,
                "aerial_lost": 0.633,
                "interceptions": 0.3632,
                "tackles_won": 0.6931,
                "tackles": 1.5371,
                "clearances": 0.4201,
                "total_contest": 2.8486,
                "won_contest": 1.6168,
                "challenges_lost": 1.1712,
                "fouls": 1.8331,
                "fouls_drawn": 0.9837,
                "blocks": 0.1434,
                "big_chances_created": 0.4999,
                "big_chances_missed": 0.2213,
                "xgot": 0.5662,
                "ball_carries": 14.3964,
                "total_progression": 50.2837,
                "progressive_carries": 2.0129,
                "shots_off_target": 1.2424
              },
              "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.7403,
                "expected_assists": 0.1781,
                "assists": 0.167,
                "assist_rate": 0.167,
                "expected_goals": 0.2419,
                "goals": 0.2381,
                "goal_rate": 0.2381,
                "shots_on_target": 0.9091,
                "total_shots": 2.1689,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.645,
                "accurate_pass": 32.7625,
                "duels_won": 4.7021,
                "total_long_balls": 2.2022,
                "accurate_long_balls": 0.9198,
                "total_own_half_passes": 11.5992,
                "accurate_own_half_passes": 11.1175,
                "total_opp_half_passes": 27.0458,
                "accurate_opp_half_passes": 21.645,
                "crosses_total": 1.4894,
                "crosses_accurate": 0.3709,
                "touches": 56.6758,
                "possession_lost": 12.9788,
                "dispossessed": 1.5316,
                "duels_lost": 6.3429,
                "aerial_won": 0.9,
                "aerial_lost": 0.633,
                "interceptions": 0.3632,
                "tackles_won": 0.6931,
                "tackles": 1.5371,
                "clearances": 0.4201,
                "total_contest": 2.8486,
                "won_contest": 1.6168,
                "challenges_lost": 1.1712,
                "fouls": 1.8331,
                "fouls_drawn": 0.9837,
                "blocks": 0.1434,
                "big_chances_created": 0.4999,
                "big_chances_missed": 0.2244,
                "xgot": 0.5741,
                "ball_carries": 14.3964,
                "total_progression": 50.2837,
                "progressive_carries": 2.0129,
                "shots_off_target": 1.2598,
                "duel_xg_multiplier": 1.014,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.43,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Cucurella",
                "opponent_faced": "Marc Cucurella",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Marc Cucurella",
                  "matchup_zone": "LW vs CB",
                  "duel_win_rate": 0.43,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.014,
                  "skill_edge": 0.0055,
                  "height_edge": 0.004,
                  "attacker_skill": 0.8965,
                  "defender_skill": 0.8842,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Marc Cucurella",
                      "market_value": 62000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8842
                    }
                  ],
                  "xg_override": 0.2419
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.5714,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 2.1389,
                  "after": 2.1689
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2424,
                  "after": 1.2598
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8965,
                  "after": 0.9091
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.5662,
                  "after": 0.5741
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.7403,
                "expected_assists": 0.1781,
                "assist_rate": 0.167,
                "assists": 0,
                "expected_goals": 0.2419,
                "goal_rate": 0.2381,
                "goals": 0,
                "shots_on_target": 0.9091,
                "total_shots": 2.1689,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.645,
                "accurate_pass": 32.7625,
                "duels_won": 4.7021,
                "total_long_balls": 2.2022,
                "accurate_long_balls": 0.9198,
                "total_own_half_passes": 11.5992,
                "accurate_own_half_passes": 11.1175,
                "total_opp_half_passes": 27.0458,
                "accurate_opp_half_passes": 21.645,
                "crosses_total": 1.4894,
                "crosses_accurate": 0.3709,
                "touches": 56.6758,
                "possession_lost": 12.9788,
                "dispossessed": 1.5316,
                "duels_lost": 6.3429,
                "aerial_won": 0.9,
                "aerial_lost": 0.633,
                "interceptions": 0.3632,
                "tackles_won": 0.6931,
                "tackles": 1.5371,
                "clearances": 0.4201,
                "total_contest": 2.8486,
                "won_contest": 1.6168,
                "challenges_lost": 1.1712,
                "fouls": 1.8331,
                "fouls_drawn": 0.9837,
                "blocks": 0.1434,
                "big_chances_created": 0.4999,
                "big_chances_missed": 0.2244,
                "xgot": 0.5741,
                "ball_carries": 14.3964,
                "total_progression": 50.2837,
                "progressive_carries": 2.0129,
                "shots_off_target": 1.2598,
                "duel_xg_multiplier": 1.014,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.43,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Cucurella",
                "opponent_faced": "Marc Cucurella",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.7403,
                "expected_assists": 0.2213,
                "assist_rate": 0.167,
                "assists": 0,
                "expected_goals": 0.2813,
                "goal_rate": 0.2381,
                "goals": 0,
                "shots_on_target": 0.9091,
                "total_shots": 2.1689,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.645,
                "accurate_pass": 32.7625,
                "duels_won": 4.7021,
                "total_long_balls": 2.2022,
                "accurate_long_balls": 0.9198,
                "total_own_half_passes": 11.5992,
                "accurate_own_half_passes": 11.1175,
                "total_opp_half_passes": 27.0458,
                "accurate_opp_half_passes": 21.645,
                "crosses_total": 1.4894,
                "crosses_accurate": 0.3709,
                "touches": 56.6758,
                "possession_lost": 12.9788,
                "dispossessed": 1.5316,
                "duels_lost": 6.3429,
                "aerial_won": 0.9,
                "aerial_lost": 0.633,
                "interceptions": 0.3632,
                "tackles_won": 0.6931,
                "tackles": 1.5371,
                "clearances": 0.4201,
                "total_contest": 2.8486,
                "won_contest": 1.6168,
                "challenges_lost": 1.1712,
                "fouls": 1.8331,
                "fouls_drawn": 0.9837,
                "blocks": 0.1434,
                "big_chances_created": 0.4999,
                "big_chances_missed": 0.2244,
                "xgot": 0.6676,
                "ball_carries": 14.3964,
                "total_progression": 50.2837,
                "progressive_carries": 2.0129,
                "shots_off_target": 1.2598,
                "duel_xg_multiplier": 1.014,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.43,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Cucurella",
                "opponent_faced": "Marc Cucurella",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.987,
                "creation_factor": 0.9513
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2419,
                  "after": 0.2813
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1781,
                  "after": 0.2213
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 90.0)",
              "stats": {
                "key_pass": 1.7403,
                "expected_assists": 0.2213,
                "assist_rate": 0.167,
                "assists": 0,
                "expected_goals": 0.2813,
                "goal_rate": 0.2381,
                "goals": 0,
                "shots_on_target": 0.9091,
                "total_shots": 2.1689,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.645,
                "accurate_pass": 32.7625,
                "duels_won": 4.7021,
                "total_long_balls": 2.2022,
                "accurate_long_balls": 0.9198,
                "total_own_half_passes": 11.5992,
                "accurate_own_half_passes": 11.1175,
                "total_opp_half_passes": 27.0458,
                "accurate_opp_half_passes": 21.645,
                "crosses_total": 1.4894,
                "crosses_accurate": 0.3709,
                "touches": 56.6758,
                "possession_lost": 12.9788,
                "dispossessed": 1.5316,
                "duels_lost": 6.3429,
                "aerial_won": 0.9,
                "aerial_lost": 0.633,
                "interceptions": 0.3632,
                "tackles_won": 0.6931,
                "tackles": 1.5371,
                "clearances": 0.4201,
                "total_contest": 2.8486,
                "won_contest": 1.6168,
                "challenges_lost": 1.1712,
                "fouls": 1.8331,
                "fouls_drawn": 0.9837,
                "blocks": 0.1434,
                "big_chances_created": 0.4999,
                "big_chances_missed": 0.2244,
                "xgot": 0.6676,
                "ball_carries": 14.3964,
                "total_progression": 50.2837,
                "progressive_carries": 2.0129,
                "shots_off_target": 1.2598,
                "duel_xg_multiplier": 1.014,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.43,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Cucurella",
                "opponent_faced": "Marc Cucurella",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.987,
                "creation_factor": 0.9513,
                "fifa_overall": 90.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 33,
                "fifa_rank": 13.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.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.7403,
                "expected_assists": 0.2213,
                "assist_rate": 0.167,
                "assists": 0,
                "expected_goals": 0.2813,
                "goal_rate": 0.2381,
                "goals": 0,
                "shots_on_target": 0.9091,
                "total_shots": 2.1689,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.645,
                "accurate_pass": 32.7625,
                "duels_won": 4.7021,
                "total_long_balls": 2.2022,
                "accurate_long_balls": 0.9198,
                "total_own_half_passes": 11.5992,
                "accurate_own_half_passes": 11.1175,
                "total_opp_half_passes": 27.0458,
                "accurate_opp_half_passes": 21.645,
                "crosses_total": 1.4894,
                "crosses_accurate": 0.3709,
                "touches": 56.6758,
                "possession_lost": 12.9788,
                "dispossessed": 1.5316,
                "duels_lost": 6.3429,
                "aerial_won": 0.9,
                "aerial_lost": 0.633,
                "interceptions": 0.3632,
                "tackles_won": 0.6931,
                "tackles": 1.5371,
                "clearances": 0.4201,
                "total_contest": 2.8486,
                "won_contest": 1.6168,
                "challenges_lost": 1.1712,
                "fouls": 1.8331,
                "fouls_drawn": 0.9837,
                "blocks": 0.1434,
                "big_chances_created": 0.4999,
                "big_chances_missed": 0.2244,
                "xgot": 0.6676,
                "ball_carries": 14.3964,
                "total_progression": 50.2837,
                "progressive_carries": 2.0129,
                "shots_off_target": 1.2598,
                "duel_xg_multiplier": 1.014,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.43,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Cucurella",
                "opponent_faced": "Marc Cucurella",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2452,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.987,
                "creation_factor": 0.9513,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.2452,
                "goal_rate": 0.2381,
                "scorer_weight": 0.2776,
                "squad_weight_total": 2.8912,
                "weight_share": 0.096,
                "finishing_factor": 0.987,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.7403,
                "expected_assists": 0.2213,
                "assist_rate": 0.167,
                "assists": 0,
                "expected_goals": 0.2813,
                "goal_rate": 0.2381,
                "goals": 0,
                "shots_on_target": 0.9091,
                "total_shots": 2.1689,
                "rating": 7.1402,
                "minutes": 79.92,
                "total_pass": 38.645,
                "accurate_pass": 32.7625,
                "duels_won": 4.7021,
                "total_long_balls": 2.2022,
                "accurate_long_balls": 0.9198,
                "total_own_half_passes": 11.5992,
                "accurate_own_half_passes": 11.1175,
                "total_opp_half_passes": 27.0458,
                "accurate_opp_half_passes": 21.645,
                "crosses_total": 1.4894,
                "crosses_accurate": 0.3709,
                "touches": 56.6758,
                "possession_lost": 12.9788,
                "dispossessed": 1.5316,
                "duels_lost": 6.3429,
                "aerial_won": 0.9,
                "aerial_lost": 0.633,
                "interceptions": 0.3632,
                "tackles_won": 0.6931,
                "tackles": 1.5371,
                "clearances": 0.4201,
                "total_contest": 2.8486,
                "won_contest": 1.6168,
                "challenges_lost": 1.1712,
                "fouls": 1.8331,
                "fouls_drawn": 0.9837,
                "blocks": 0.1434,
                "big_chances_created": 0.4999,
                "big_chances_missed": 0.2244,
                "xgot": 0.6676,
                "ball_carries": 14.3964,
                "total_progression": 50.2837,
                "progressive_carries": 2.0129,
                "shots_off_target": 1.2598,
                "duel_xg_multiplier": 1.014,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.43,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Cucurella",
                "opponent_faced": "Marc Cucurella",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2452,
                "projected_assists": 0,
                "assist_probability": 0.1985,
                "finishing_factor": 0.987,
                "creation_factor": 0.9513,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1985,
                "assist_rate": 0.167,
                "provider_weight": 0.2105,
                "squad_weight_total": 1.8872,
                "weight_share": 0.1116,
                "creation_factor": 0.9513,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Lamine Yamal": {
          "player_id": 1402912,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 183,
          "market_value": 237000000,
          "stats": {
            "expected_goals": 0.7522,
            "goal_rate": 0.7925,
            "goals": 1,
            "shots_on_target": 2,
            "total_shots": 5,
            "expected_assists": 0.3076,
            "key_pass": 3,
            "rating": 8.378,
            "minutes": 83,
            "total_pass": 50,
            "accurate_pass": 40,
            "duels_won": 7,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 41,
            "accurate_opp_half_passes": 32,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 76,
            "possession_lost": 18.987,
            "dispossessed": 1.5307,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 8,
            "won_contest": 5,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.6773,
            "assists": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 1.0214,
            "offsides": 1,
            "ball_carries": 27,
            "total_progression": 140,
            "progressive_carries": 7,
            "shots_off_target": 3,
            "duel_xg_multiplier": 0.9975,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.198,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Marc Cucurella, Dean Huijsen",
            "opponent_faced": "Marc Cucurella, Dean Huijsen",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.5287,
            "projected_assists": 1,
            "assist_probability": 0.2648,
            "finishing_factor": 1.2091,
            "creation_factor": 1.25,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 70,
                "rating": 8.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2224,
                "expected_assists": 0.4691,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 8,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2346,
                "expected_assists": 0.7747,
                "total_shots": 6,
                "shots_off_target": 4,
                "total_pass": 52,
                "accurate_pass": 37,
                "key_pass": 3,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.2641,
                "expected_assists": 0.5755,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 52,
                "accurate_pass": 44,
                "key_pass": 6,
                "duels_won": 7,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 9.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 1.6645,
                "expected_assists": 0.3084,
                "total_shots": 7,
                "shots_on_target": 2,
                "shots_off_target": 3,
                "total_pass": 53,
                "accurate_pass": 42,
                "key_pass": 3,
                "duels_won": 9,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 66,
                "rating": 8.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.6035,
                "expected_assists": 0.0385,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 30,
                "tackles": 1,
                "clearances": 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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 8.9,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1231,
                "expected_assists": 0.3021,
                "total_shots": 8,
                "shots_on_target": 4,
                "shots_off_target": 3,
                "total_pass": 79,
                "accurate_pass": 66,
                "key_pass": 6,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 10.0,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.327,
                "expected_assists": 0.5343,
                "total_shots": 6,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 40,
                "accurate_pass": 30,
                "key_pass": 7,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 12,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8933,
                "expected_assists": 0.7456,
                "total_shots": 7,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 55,
                "accurate_pass": 45,
                "key_pass": 5,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2063,
                "expected_assists": 0.1498,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 29,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083261,
              "match_date": "2026-04-22",
              "home_team": "FC Barcelona",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 44,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9131,
                "expected_assists": 0.2099,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1,
            "combined_rank_score": 5.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 7.0,
            "sofascore_rating": 8.65,
            "sofascore_appearances": 2.0,
            "fifa_rank": 4.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 8.378,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lamine Yamal",
            "ranking_neighbors": {
              "upper": [],
              "lower": [
                {
                  "player_name": "Kylian Mbappé",
                  "ranking": 2
                },
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                },
                {
                  "player_name": "Mariano Díaz",
                  "ranking": 4
                },
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                },
                {
                  "player_name": "Pedri",
                  "ranking": 6
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "history_matches": 35,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0148,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 244.0,
              "goals_per90": 0.7407407407407407,
              "assists_per90": 0.0,
              "shots_per90": 5.53,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.18
            },
            "rationale": "XGBoost regressor (F_service) evaluated 35 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.18, gls/90: 0.7407407407407407, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.6389,
                "goals": 0.7845,
                "goal_rate": 0.7845,
                "shots_on_target": 1.6799,
                "total_shots": 5.007,
                "expected_assists": 0.244,
                "key_pass": 3.2813,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 48.8267,
                "accurate_pass": 39.7244,
                "duels_won": 6.7226,
                "total_long_balls": 2.0498,
                "accurate_long_balls": 0.9232,
                "total_opp_half_passes": 40.191,
                "accurate_opp_half_passes": 31.7717,
                "crosses_total": 2.6489,
                "crosses_accurate": 0.6706,
                "touches": 74.8879,
                "possession_lost": 18.7101,
                "dispossessed": 1.5084,
                "duels_lost": 6.3796,
                "aerial_lost": 0.0192,
                "total_contest": 7.5299,
                "won_contest": 4.4741,
                "ball_recovery": 2.5594,
                "challenges_lost": 0.7194,
                "fouls": 1.1857,
                "fouls_drawn": 1.7158,
                "assists": 0.6774,
                "assist_rate": 0.6774,
                "interceptions": 0.2496,
                "tackles_won": 0.2051,
                "tackles": 0.5326,
                "clearances": 0.1994,
                "blocks": 0.0,
                "big_chances_created": 1.406,
                "big_chances_missed": 0.4423,
                "xgot": 0.8678,
                "offsides": 0.9014,
                "ball_carries": 26.4584,
                "total_progression": 138.1173,
                "progressive_carries": 7.2263,
                "shots_off_target": 3.3271
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 8.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Celta Vigo",
                    "minutes": 44.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.8181,
                  "totalOppositionHalfPasses": 39.2705,
                  "accurateOppositionHalfPasses": 30.9691,
                  "accuratePass": 38.7542,
                  "totalShots": 5.0984
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.6389384269714355,
                    "model_output": 0.6389,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0773
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1043
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0585
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0411
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0414
                        }
                      ],
                      "others": 0.1173,
                      "total": 0.6389,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.328076
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.320403
                        },
                        {
                          "name": "goals",
                          "margin": 0.142992
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.089428
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.082791
                        }
                      ],
                      "others_margin": 0.203042
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.7845458388328552,
                    "model_output": 0.7845,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0979
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1125
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0596
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0653
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0699
                        }
                      ],
                      "others": 0.1756,
                      "total": 0.7845,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.392461
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.317023
                        },
                        {
                          "name": "goals",
                          "margin": 0.134441
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.129027
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.121877
                        }
                      ],
                      "others_margin": 0.253385
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.6798948049545288,
                    "model_output": 1.6799,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2252
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1305
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1446
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1023
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1005
                        }
                      ],
                      "others": 0.4398,
                      "total": 1.6799,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.350196
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.158063
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.150099
                        },
                        {
                          "name": "goals",
                          "margin": 0.094043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.084518
                        }
                      ],
                      "others_margin": 0.303606
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 5.007019996643066,
                    "model_output": 5.007,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.9346
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.7043
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.4001
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.1982
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1935
                        }
                      ],
                      "others": 1.1976,
                      "total": 5.007,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.934564
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.704335
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.400104
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.198199
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.193535
                        }
                      ],
                      "others_margin": 1.197575
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.24399685859680176,
                    "model_output": 0.244,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0169
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0176
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0154
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0154
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0134
                        }
                      ],
                      "others": 0.101,
                      "total": 0.244,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.233699
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.195983
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.144482
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.126419
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.098229
                        }
                      ],
                      "others_margin": 0.535043
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 3.2812910079956055,
                    "model_output": 3.2813,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.298
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.2928
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.2222
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1733
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.1357
                        }
                      ],
                      "others": 1.4853,
                      "total": 3.2813,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.366109
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.263355
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.161822
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.110249
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.078564
                        }
                      ],
                      "others_margin": 0.602698
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 8.377981185913086,
                    "model_output": 8.378,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.206
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.193
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1641
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.155
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.1472
                        }
                      ],
                      "others": 0.7505,
                      "total": 8.378,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.205963
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.193039
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.164136
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.154956
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.147238
                        }
                      ],
                      "others_margin": 0.750486
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 35,
                  "role_matches": 33,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0148, quality 0.900)",
              "stats": {
                "expected_goals": 0.6484,
                "goals": 0.7962,
                "goal_rate": 0.7962,
                "shots_on_target": 1.7048,
                "total_shots": 5.0811,
                "expected_assists": 0.2476,
                "key_pass": 3.3299,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 49.5493,
                "accurate_pass": 40.3123,
                "duels_won": 6.8221,
                "total_long_balls": 2.0801,
                "accurate_long_balls": 0.9369,
                "total_opp_half_passes": 40.7858,
                "accurate_opp_half_passes": 32.2419,
                "crosses_total": 2.6881,
                "crosses_accurate": 0.6805,
                "touches": 75.9962,
                "possession_lost": 18.987,
                "dispossessed": 1.5307,
                "duels_lost": 6.474,
                "aerial_lost": 0.0195,
                "total_contest": 7.6413,
                "won_contest": 4.5403,
                "ball_recovery": 2.5973,
                "challenges_lost": 0.73,
                "fouls": 1.2032,
                "fouls_drawn": 1.7412,
                "assists": 0.6874,
                "assist_rate": 0.6874,
                "interceptions": 0.2533,
                "tackles_won": 0.2081,
                "tackles": 0.5405,
                "clearances": 0.2024,
                "blocks": 0.0,
                "big_chances_created": 1.4268,
                "big_chances_missed": 0.4488,
                "xgot": 0.8806,
                "offsides": 0.9147,
                "ball_carries": 26.85,
                "total_progression": 140.1614,
                "progressive_carries": 7.3332,
                "shots_off_target": 3.3763
              },
              "params": {
                "market_value_eur": 237000000,
                "quality_factor": 0.9,
                "boost_factor": 1.0148,
                "reference_quality": 0.505,
                "history_matches": 35,
                "history_shrink": 0.125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0146)",
              "stats": {
                "expected_goals": 0.6484,
                "goals": 0.7945,
                "goal_rate": 0.7945,
                "shots_on_target": 1.7046,
                "total_shots": 5.081,
                "expected_assists": 0.2476,
                "key_pass": 3.3299,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 49.5493,
                "accurate_pass": 40.3123,
                "duels_won": 6.8221,
                "total_long_balls": 2.0801,
                "accurate_long_balls": 0.9369,
                "total_opp_half_passes": 40.7858,
                "accurate_opp_half_passes": 32.2419,
                "crosses_total": 2.7035,
                "crosses_accurate": 0.6805,
                "touches": 75.9962,
                "possession_lost": 18.987,
                "dispossessed": 1.5307,
                "duels_lost": 6.474,
                "aerial_lost": 0.0195,
                "total_contest": 7.6413,
                "won_contest": 4.5403,
                "ball_recovery": 2.5973,
                "challenges_lost": 0.73,
                "fouls": 1.1955,
                "fouls_drawn": 1.7406,
                "assists": 0.6773,
                "assist_rate": 0.6773,
                "interceptions": 0.2595,
                "tackles_won": 0.21,
                "tackles": 0.5405,
                "clearances": 0.2024,
                "blocks": 0.0,
                "big_chances_created": 1.4268,
                "big_chances_missed": 0.4488,
                "xgot": 0.8806,
                "offsides": 0.9312,
                "ball_carries": 26.85,
                "total_progression": 140.1614,
                "progressive_carries": 7.3332,
                "shots_off_target": 3.3763
              },
              "params": {
                "blend_weight": 0.0146,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9181,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "totalOffside",
                  "before": 0.9147,
                  "after": 0.9312
                },
                {
                  "stat": "totalCross",
                  "before": 2.6881,
                  "after": 2.7035
                },
                {
                  "stat": "goalAssist",
                  "before": 0.6874,
                  "after": 0.6773
                },
                {
                  "stat": "fouls",
                  "before": 1.2032,
                  "after": 1.1955
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.2533,
                  "after": 0.2595
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.6484,
                "goals": 0.7945,
                "goal_rate": 0.7945,
                "shots_on_target": 1.7046,
                "total_shots": 5.081,
                "expected_assists": 0.2476,
                "key_pass": 3.3299,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 49.5493,
                "accurate_pass": 40.3123,
                "duels_won": 6.8221,
                "total_long_balls": 2.0801,
                "accurate_long_balls": 0.9369,
                "total_opp_half_passes": 40.7858,
                "accurate_opp_half_passes": 32.2419,
                "crosses_total": 2.7035,
                "crosses_accurate": 0.6805,
                "touches": 75.9962,
                "possession_lost": 18.987,
                "dispossessed": 1.5307,
                "duels_lost": 6.474,
                "aerial_lost": 0.0195,
                "total_contest": 7.6413,
                "won_contest": 4.5403,
                "ball_recovery": 2.5973,
                "challenges_lost": 0.73,
                "fouls": 1.1955,
                "fouls_drawn": 1.7406,
                "assists": 0.6773,
                "assist_rate": 0.6773,
                "interceptions": 0.2595,
                "tackles_won": 0.21,
                "tackles": 0.5405,
                "clearances": 0.2024,
                "blocks": 0.0,
                "big_chances_created": 1.4268,
                "big_chances_missed": 0.4488,
                "xgot": 0.8806,
                "offsides": 0.9312,
                "ball_carries": 26.85,
                "total_progression": 140.1614,
                "progressive_carries": 7.3332,
                "shots_off_target": 3.3763
              },
              "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.6468,
                "goals": 0.7925,
                "goal_rate": 0.7925,
                "shots_on_target": 1.7003,
                "total_shots": 5.0683,
                "expected_assists": 0.2476,
                "key_pass": 3.3299,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 49.5493,
                "accurate_pass": 40.3123,
                "duels_won": 6.8221,
                "total_long_balls": 2.0801,
                "accurate_long_balls": 0.9369,
                "total_opp_half_passes": 40.7858,
                "accurate_opp_half_passes": 32.2419,
                "crosses_total": 2.7035,
                "crosses_accurate": 0.6805,
                "touches": 75.9962,
                "possession_lost": 18.987,
                "dispossessed": 1.5307,
                "duels_lost": 6.474,
                "aerial_lost": 0.0195,
                "total_contest": 7.6413,
                "won_contest": 4.5403,
                "ball_recovery": 2.5973,
                "challenges_lost": 0.73,
                "fouls": 1.1955,
                "fouls_drawn": 1.7406,
                "assists": 0.6773,
                "assist_rate": 0.6773,
                "interceptions": 0.2595,
                "tackles_won": 0.21,
                "tackles": 0.5405,
                "clearances": 0.2024,
                "blocks": 0.0,
                "big_chances_created": 1.4268,
                "big_chances_missed": 0.4477,
                "xgot": 0.8784,
                "offsides": 0.9312,
                "ball_carries": 26.85,
                "total_progression": 140.1614,
                "progressive_carries": 7.3332,
                "shots_off_target": 3.3679,
                "duel_xg_multiplier": 0.9975,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Marc Cucurella, Dean Huijsen",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.198,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9975,
                  "skill_edge": 0.0063,
                  "height_edge": -0.008,
                  "attacker_skill": 0.9,
                  "defender_skill": 0.886,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Marc Cucurella",
                      "market_value": 62000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8842
                    },
                    {
                      "player": "Dean Huijsen",
                      "market_value": 66000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8879
                    }
                  ],
                  "xg_override": 0.6468
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 5.081,
                  "after": 5.0683
                },
                {
                  "stat": "shotOffTarget",
                  "before": 3.3763,
                  "after": 3.3679
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.6468,
                "goal_rate": 0.7925,
                "goals": 0,
                "shots_on_target": 1.7003,
                "total_shots": 5.0683,
                "expected_assists": 0.2476,
                "key_pass": 3.3299,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 49.5493,
                "accurate_pass": 40.3123,
                "duels_won": 6.8221,
                "total_long_balls": 2.0801,
                "accurate_long_balls": 0.9369,
                "total_opp_half_passes": 40.7858,
                "accurate_opp_half_passes": 32.2419,
                "crosses_total": 2.7035,
                "crosses_accurate": 0.6805,
                "touches": 75.9962,
                "possession_lost": 18.987,
                "dispossessed": 1.5307,
                "duels_lost": 6.474,
                "aerial_lost": 0.0195,
                "total_contest": 7.6413,
                "won_contest": 4.5403,
                "ball_recovery": 2.5973,
                "challenges_lost": 0.73,
                "fouls": 1.1955,
                "fouls_drawn": 1.7406,
                "assist_rate": 0.6773,
                "assists": 0,
                "interceptions": 0.2595,
                "tackles_won": 0.21,
                "tackles": 0.5405,
                "clearances": 0.2024,
                "blocks": 0.0,
                "big_chances_created": 1.4268,
                "big_chances_missed": 0.4477,
                "xgot": 0.8784,
                "offsides": 0.9312,
                "ball_carries": 26.85,
                "total_progression": 140.1614,
                "progressive_carries": 7.3332,
                "shots_off_target": 3.3679,
                "duel_xg_multiplier": 0.9975,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 1.0,
                  "after": 0
                },
                {
                  "stat": "assists",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.7522,
                "goal_rate": 0.7925,
                "goals": 0,
                "shots_on_target": 1.7003,
                "total_shots": 5.0683,
                "expected_assists": 0.3076,
                "key_pass": 3.3299,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 49.5493,
                "accurate_pass": 40.3123,
                "duels_won": 6.8221,
                "total_long_balls": 2.0801,
                "accurate_long_balls": 0.9369,
                "total_opp_half_passes": 40.7858,
                "accurate_opp_half_passes": 32.2419,
                "crosses_total": 2.7035,
                "crosses_accurate": 0.6805,
                "touches": 75.9962,
                "possession_lost": 18.987,
                "dispossessed": 1.5307,
                "duels_lost": 6.474,
                "aerial_lost": 0.0195,
                "total_contest": 7.6413,
                "won_contest": 4.5403,
                "ball_recovery": 2.5973,
                "challenges_lost": 0.73,
                "fouls": 1.1955,
                "fouls_drawn": 1.7406,
                "assist_rate": 0.6773,
                "assists": 0,
                "interceptions": 0.2595,
                "tackles_won": 0.21,
                "tackles": 0.5405,
                "clearances": 0.2024,
                "blocks": 0.0,
                "big_chances_created": 1.4268,
                "big_chances_missed": 0.4477,
                "xgot": 1.0214,
                "offsides": 0.9312,
                "ball_carries": 26.85,
                "total_progression": 140.1614,
                "progressive_carries": 7.3332,
                "shots_off_target": 3.3679,
                "duel_xg_multiplier": 0.9975,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2091,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.6468,
                  "after": 0.7522
                },
                {
                  "stat": "expected_assists",
                  "before": 0.2476,
                  "after": 0.3076
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 90.0)",
              "stats": {
                "expected_goals": 0.7522,
                "goal_rate": 0.7925,
                "goals": 0,
                "shots_on_target": 1.7003,
                "total_shots": 5.0683,
                "expected_assists": 0.3076,
                "key_pass": 3.3299,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 49.5493,
                "accurate_pass": 40.3123,
                "duels_won": 6.8221,
                "total_long_balls": 2.0801,
                "accurate_long_balls": 0.9369,
                "total_opp_half_passes": 40.7858,
                "accurate_opp_half_passes": 32.2419,
                "crosses_total": 2.7035,
                "crosses_accurate": 0.6805,
                "touches": 75.9962,
                "possession_lost": 18.987,
                "dispossessed": 1.5307,
                "duels_lost": 6.474,
                "aerial_lost": 0.0195,
                "total_contest": 7.6413,
                "won_contest": 4.5403,
                "ball_recovery": 2.5973,
                "challenges_lost": 0.73,
                "fouls": 1.1955,
                "fouls_drawn": 1.7406,
                "assist_rate": 0.6773,
                "assists": 0,
                "interceptions": 0.2595,
                "tackles_won": 0.21,
                "tackles": 0.5405,
                "clearances": 0.2024,
                "blocks": 0.0,
                "big_chances_created": 1.4268,
                "big_chances_missed": 0.4477,
                "xgot": 1.0214,
                "offsides": 0.9312,
                "ball_carries": 26.85,
                "total_progression": 140.1614,
                "progressive_carries": 7.3332,
                "shots_off_target": 3.3679,
                "duel_xg_multiplier": 0.9975,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2091,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1,
                "fifa_rank": 4.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.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.7522,
                "goal_rate": 0.7925,
                "goals": 1,
                "shots_on_target": 1.7003,
                "total_shots": 5.0683,
                "expected_assists": 0.3076,
                "key_pass": 3.3299,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 49.5493,
                "accurate_pass": 40.3123,
                "duels_won": 6.8221,
                "total_long_balls": 2.0801,
                "accurate_long_balls": 0.9369,
                "total_opp_half_passes": 40.7858,
                "accurate_opp_half_passes": 32.2419,
                "crosses_total": 2.7035,
                "crosses_accurate": 0.6805,
                "touches": 75.9962,
                "possession_lost": 18.987,
                "dispossessed": 1.5307,
                "duels_lost": 6.474,
                "aerial_lost": 0.0195,
                "total_contest": 7.6413,
                "won_contest": 4.5403,
                "ball_recovery": 2.5973,
                "challenges_lost": 0.73,
                "fouls": 1.1955,
                "fouls_drawn": 1.7406,
                "assist_rate": 0.6773,
                "assists": 0,
                "interceptions": 0.2595,
                "tackles_won": 0.21,
                "tackles": 0.5405,
                "clearances": 0.2024,
                "blocks": 0.0,
                "big_chances_created": 1.4268,
                "big_chances_missed": 0.4477,
                "xgot": 1.0214,
                "offsides": 0.9312,
                "ball_carries": 26.85,
                "total_progression": 140.1614,
                "progressive_carries": 7.3332,
                "shots_off_target": 3.3679,
                "duel_xg_multiplier": 0.9975,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.5287,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2091,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.5287,
                "goal_rate": 0.7925,
                "scorer_weight": 0.9095,
                "squad_weight_total": 2.8912,
                "weight_share": 0.3146,
                "finishing_factor": 1.2091,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.7522,
                "goal_rate": 0.7925,
                "goals": 1,
                "shots_on_target": 1.7003,
                "total_shots": 5.0683,
                "expected_assists": 0.3076,
                "key_pass": 3.3299,
                "rating": 8.378,
                "minutes": 82.63,
                "total_pass": 49.5493,
                "accurate_pass": 40.3123,
                "duels_won": 6.8221,
                "total_long_balls": 2.0801,
                "accurate_long_balls": 0.9369,
                "total_opp_half_passes": 40.7858,
                "accurate_opp_half_passes": 32.2419,
                "crosses_total": 2.7035,
                "crosses_accurate": 0.6805,
                "touches": 75.9962,
                "possession_lost": 18.987,
                "dispossessed": 1.5307,
                "duels_lost": 6.474,
                "aerial_lost": 0.0195,
                "total_contest": 7.6413,
                "won_contest": 4.5403,
                "ball_recovery": 2.5973,
                "challenges_lost": 0.73,
                "fouls": 1.1955,
                "fouls_drawn": 1.7406,
                "assist_rate": 0.6773,
                "assists": 1,
                "interceptions": 0.2595,
                "tackles_won": 0.21,
                "tackles": 0.5405,
                "clearances": 0.2024,
                "blocks": 0.0,
                "big_chances_created": 1.4268,
                "big_chances_missed": 0.4477,
                "xgot": 1.0214,
                "offsides": 0.9312,
                "ball_carries": 26.85,
                "total_progression": 140.1614,
                "progressive_carries": 7.3332,
                "shots_off_target": 3.3679,
                "duel_xg_multiplier": 0.9975,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.198,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Cucurella, Dean Huijsen",
                "opponent_faced": "Marc Cucurella, Dean Huijsen",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.5287,
                "projected_assists": 1,
                "assist_probability": 0.2648,
                "finishing_factor": 1.2091,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2648,
                "assist_rate": 0.6773,
                "provider_weight": 0.3845,
                "squad_weight_total": 1.8872,
                "weight_share": 0.2037,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Pedri": {
          "player_id": 992587,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 174,
          "market_value": 164000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.2262,
            "assist_rate": 0.2025,
            "assists": 0,
            "expected_goals": 0.0994,
            "goal_rate": 0.0927,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.2363,
            "minutes": 80,
            "total_pass": 70,
            "accurate_pass": 65,
            "duels_won": 3,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 24,
            "total_opp_half_passes": 45,
            "accurate_opp_half_passes": 41,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 83,
            "possession_lost": 8.7603,
            "dispossessed": 0.7684,
            "duels_lost": 3,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 2,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.078,
            "ball_carries": 29,
            "total_progression": 94,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "opponent_faced": "Yan Diomande, Jude Bellingham, Aurélien Tchouaméni",
            "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0946,
            "projected_assists": 0,
            "assist_probability": 0.2024,
            "finishing_factor": 1.0531,
            "creation_factor": 1.0879,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0483,
                "total_shots": 0,
                "total_pass": 112,
                "accurate_pass": 103,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 29,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0257,
                "expected_assists": 0.0447,
                "total_shots": 1,
                "total_pass": 50,
                "accurate_pass": 46,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 86,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1555,
                "expected_assists": 0.063,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 66,
                "accurate_pass": 60,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 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"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 61,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.4025,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 48,
                "key_pass": 5,
                "ball_recovery": 7
              },
              "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 66,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1863,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 53,
                "tackles": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 81,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.297,
                "expected_assists": 0.112,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 69,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 77,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0773,
                "expected_assists": 0.1121,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 68,
                "key_pass": 2,
                "duels_won": 3,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 85,
                "rating": 8.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.4608,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 52,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 46,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1668,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.3751,
                "total_shots": 0,
                "total_pass": 103,
                "accurate_pass": 96,
                "key_pass": 4,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 6,
            "combined_rank_score": 12.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 12.0,
            "sofascore_rating": 8.425,
            "sofascore_appearances": 4.0,
            "fifa_rank": 12.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2363,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pedri",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lamine Yamal",
                  "ranking": 1
                },
                {
                  "player_name": "Kylian Mbappé",
                  "ranking": 2
                },
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                },
                {
                  "player_name": "Mariano Díaz",
                  "ranking": 4
                },
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                }
              ],
              "lower": [
                {
                  "player_name": "Ryu Won-Woo",
                  "ranking": 7
                },
                {
                  "player_name": "Bruno Fernandes",
                  "ranking": 8
                },
                {
                  "player_name": "Felix Horn Myhre",
                  "ranking": 9
                },
                {
                  "player_name": "Raphinha",
                  "ranking": 10
                },
                {
                  "player_name": "Vini Jr.",
                  "ranking": 11
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 36,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0144,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 206.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4347826086956522,
              "shots_per90": 0.87,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 36 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, 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": 2.2764,
                "expected_assists": 0.1795,
                "assists": 0.1975,
                "assist_rate": 0.1975,
                "expected_goals": 0.0843,
                "goals": 0.0925,
                "goal_rate": 0.0925,
                "shots_on_target": 0.2516,
                "total_shots": 1.002,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 68.8382,
                "accurate_pass": 63.7755,
                "duels_won": 3.3899,
                "total_long_balls": 3.6875,
                "accurate_long_balls": 2.7352,
                "total_own_half_passes": 24.619,
                "accurate_own_half_passes": 23.3508,
                "total_opp_half_passes": 44.2192,
                "accurate_opp_half_passes": 40.4246,
                "crosses_total": 1.2301,
                "crosses_accurate": 0.4353,
                "touches": 81.9742,
                "possession_lost": 8.6359,
                "dispossessed": 0.7575,
                "duels_lost": 3.2242,
                "aerial_won": 0.1254,
                "aerial_lost": 0.0086,
                "interceptions": 0.3745,
                "tackles_won": 0.9031,
                "tackles": 1.4742,
                "clearances": 0.7393,
                "total_contest": 1.4596,
                "won_contest": 0.7984,
                "challenges_lost": 1.5763,
                "fouls": 0.2207,
                "fouls_drawn": 0.9919,
                "blocks": 0.0178,
                "big_chances_created": 0.1233,
                "big_chances_missed": 0.0307,
                "xgot": 0.0661,
                "ball_carries": 28.9154,
                "total_progression": 92.5087,
                "progressive_carries": 1.881,
                "shots_off_target": 0.7504
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 46.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.7665,
                  "creative_index": 1.0537,
                  "expectedGoals": 0.0631,
                  "expectedAssists": 0.202,
                  "onTargetScoringAttempt": 0.1317
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 2.2764015197753906,
                    "model_output": 2.2764,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.2085
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1621
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1407
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1262
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.097
                        }
                      ],
                      "others": 0.6557,
                      "total": 2.2764,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.211307
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.138086
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.106082
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.086444
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.06172
                        }
                      ],
                      "others_margin": 0.339772
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.17952381074428558,
                    "model_output": 0.1795,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.017
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0131
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0078
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0055
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.005
                        }
                      ],
                      "others": 0.0453,
                      "total": 0.1795,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.180469
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120237
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.065432
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.043531
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.038052
                        }
                      ],
                      "others_margin": 0.29088
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.19747307896614075,
                    "model_output": 0.1975,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0203
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0179
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0175
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0116
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0103
                        }
                      ],
                      "others": 0.0579,
                      "total": 0.1975,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.213504
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.157002
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.132758
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.085972
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.076678
                        }
                      ],
                      "others_margin": 0.346284
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08425157517194748,
                    "model_output": 0.0843,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0126
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0073
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0062
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0055
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0052
                        }
                      ],
                      "others": -0.0199,
                      "total": 0.0843,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125298
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.070984
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.064107
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.056758
                        },
                        {
                          "name": "touches",
                          "margin": 0.050954
                        }
                      ],
                      "others_margin": -0.21195
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0924806222319603,
                    "model_output": 0.0925,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0118
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0099
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.009
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0088
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0082
                        }
                      ],
                      "others": 0.0052,
                      "total": 0.0925,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "pass_accuracy",
                          "margin": -0.128761
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.109395
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.098439
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.096361
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.089683
                        }
                      ],
                      "others_margin": 0.056784
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2516370415687561,
                    "model_output": 0.2516,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0451
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.041
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.025
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.021
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.061,
                      "total": 0.2516,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130424
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.117887
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.0734
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.061361
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.060536
                        }
                      ],
                      "others_margin": -0.216768
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0020341873168945,
                    "model_output": 1.002,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1453
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1084
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0368
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0289
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0241
                        }
                      ],
                      "others": -0.067,
                      "total": 1.002,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.145309
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.10844
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.036806
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.028924
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024146
                        }
                      ],
                      "others_margin": -0.066883
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.236313819885254,
                    "model_output": 7.2363,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1302
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1079
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0404
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0303
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0301
                        }
                      ],
                      "others": 0.0485,
                      "total": 7.2363,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.130156
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.107902
                        },
                        {
                          "name": "touches",
                          "margin": 0.040405
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.030295
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.030095
                        }
                      ],
                      "others_margin": 0.048589
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 29,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0144, quality 0.900)",
              "stats": {
                "key_pass": 2.3092,
                "expected_assists": 0.1821,
                "assists": 0.2003,
                "assist_rate": 0.2003,
                "expected_goals": 0.0855,
                "goals": 0.0938,
                "goal_rate": 0.0938,
                "shots_on_target": 0.2553,
                "total_shots": 1.0165,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 69.8295,
                "accurate_pass": 64.6939,
                "duels_won": 3.4387,
                "total_long_balls": 3.7406,
                "accurate_long_balls": 2.7746,
                "total_own_half_passes": 24.9735,
                "accurate_own_half_passes": 23.6871,
                "total_opp_half_passes": 44.856,
                "accurate_opp_half_passes": 41.0067,
                "crosses_total": 1.2478,
                "crosses_accurate": 0.4416,
                "touches": 83.1546,
                "possession_lost": 8.7603,
                "dispossessed": 0.7684,
                "duels_lost": 3.2706,
                "aerial_won": 0.1272,
                "aerial_lost": 0.0087,
                "interceptions": 0.3799,
                "tackles_won": 0.9161,
                "tackles": 1.4954,
                "clearances": 0.7499,
                "total_contest": 1.4806,
                "won_contest": 0.8099,
                "challenges_lost": 1.599,
                "fouls": 0.2239,
                "fouls_drawn": 1.0062,
                "blocks": 0.0181,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0311,
                "xgot": 0.0671,
                "ball_carries": 29.3318,
                "total_progression": 93.8408,
                "progressive_carries": 1.9081,
                "shots_off_target": 0.7612
              },
              "params": {
                "market_value_eur": 164000000,
                "quality_factor": 0.8997,
                "boost_factor": 1.0144,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0122)",
              "stats": {
                "key_pass": 2.3092,
                "expected_assists": 0.1821,
                "assists": 0.2025,
                "assist_rate": 0.2025,
                "expected_goals": 0.0855,
                "goals": 0.0927,
                "goal_rate": 0.0927,
                "shots_on_target": 0.2522,
                "total_shots": 1.0135,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 69.8295,
                "accurate_pass": 64.6939,
                "duels_won": 3.4387,
                "total_long_balls": 3.7406,
                "accurate_long_balls": 2.7746,
                "total_own_half_passes": 24.9735,
                "accurate_own_half_passes": 23.6871,
                "total_opp_half_passes": 44.856,
                "accurate_opp_half_passes": 41.0067,
                "crosses_total": 1.2467,
                "crosses_accurate": 0.4416,
                "touches": 83.1546,
                "possession_lost": 8.7603,
                "dispossessed": 0.7684,
                "duels_lost": 3.2706,
                "aerial_won": 0.1272,
                "aerial_lost": 0.0087,
                "interceptions": 0.3753,
                "tackles_won": 0.9237,
                "tackles": 1.4954,
                "clearances": 0.7499,
                "total_contest": 1.4806,
                "won_contest": 0.8099,
                "challenges_lost": 1.599,
                "fouls": 0.2212,
                "fouls_drawn": 1.008,
                "blocks": 0.0181,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0311,
                "xgot": 0.0671,
                "ball_carries": 29.3318,
                "total_progression": 93.8408,
                "progressive_carries": 1.9081,
                "shots_off_target": 0.7612
              },
              "params": {
                "blend_weight": 0.0122,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8863,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.9161,
                  "after": 0.9237
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2.3092,
                "expected_assists": 0.1821,
                "assists": 0.2025,
                "assist_rate": 0.2025,
                "expected_goals": 0.0855,
                "goals": 0.0927,
                "goal_rate": 0.0927,
                "shots_on_target": 0.2522,
                "total_shots": 1.0135,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 69.8295,
                "accurate_pass": 64.6939,
                "duels_won": 3.4387,
                "total_long_balls": 3.7406,
                "accurate_long_balls": 2.7746,
                "total_own_half_passes": 24.9735,
                "accurate_own_half_passes": 23.6871,
                "total_opp_half_passes": 44.856,
                "accurate_opp_half_passes": 41.0067,
                "crosses_total": 1.2467,
                "crosses_accurate": 0.4416,
                "touches": 83.1546,
                "possession_lost": 8.7603,
                "dispossessed": 0.7684,
                "duels_lost": 3.2706,
                "aerial_won": 0.1272,
                "aerial_lost": 0.0087,
                "interceptions": 0.3753,
                "tackles_won": 0.9237,
                "tackles": 1.4954,
                "clearances": 0.7499,
                "total_contest": 1.4806,
                "won_contest": 0.8099,
                "challenges_lost": 1.599,
                "fouls": 0.2212,
                "fouls_drawn": 1.008,
                "blocks": 0.0181,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0311,
                "xgot": 0.0671,
                "ball_carries": 29.3318,
                "total_progression": 93.8408,
                "progressive_carries": 1.9081,
                "shots_off_target": 0.7612
              },
              "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.3092,
                "expected_assists": 0.1821,
                "assists": 0.2025,
                "assist_rate": 0.2025,
                "expected_goals": 0.0855,
                "goals": 0.0927,
                "goal_rate": 0.0927,
                "shots_on_target": 0.2522,
                "total_shots": 1.0135,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 69.8295,
                "accurate_pass": 64.6939,
                "duels_won": 3.4387,
                "total_long_balls": 3.7406,
                "accurate_long_balls": 2.7746,
                "total_own_half_passes": 24.9735,
                "accurate_own_half_passes": 23.6871,
                "total_opp_half_passes": 44.856,
                "accurate_opp_half_passes": 41.0067,
                "crosses_total": 1.2467,
                "crosses_accurate": 0.4416,
                "touches": 83.1546,
                "possession_lost": 8.7603,
                "dispossessed": 0.7684,
                "duels_lost": 3.2706,
                "aerial_won": 0.1272,
                "aerial_lost": 0.0087,
                "interceptions": 0.3753,
                "tackles_won": 0.9237,
                "tackles": 1.4954,
                "clearances": 0.7499,
                "total_contest": 1.4806,
                "won_contest": 0.8099,
                "challenges_lost": 1.599,
                "fouls": 0.2212,
                "fouls_drawn": 1.008,
                "blocks": 0.0181,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0311,
                "xgot": 0.0671,
                "ball_carries": 29.3318,
                "total_progression": 93.8408,
                "progressive_carries": 1.9081,
                "shots_off_target": 0.7612,
                "opponent_faced": "Yan Diomande, Jude Bellingham, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Yan Diomande, Jude Bellingham, Aurélien Tchouaméni",
                  "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 2.3092,
                "expected_assists": 0.1821,
                "assist_rate": 0.2025,
                "assists": 0,
                "expected_goals": 0.0855,
                "goal_rate": 0.0927,
                "goals": 0,
                "shots_on_target": 0.2522,
                "total_shots": 1.0135,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 69.8295,
                "accurate_pass": 64.6939,
                "duels_won": 3.4387,
                "total_long_balls": 3.7406,
                "accurate_long_balls": 2.7746,
                "total_own_half_passes": 24.9735,
                "accurate_own_half_passes": 23.6871,
                "total_opp_half_passes": 44.856,
                "accurate_opp_half_passes": 41.0067,
                "crosses_total": 1.2467,
                "crosses_accurate": 0.4416,
                "touches": 83.1546,
                "possession_lost": 8.7603,
                "dispossessed": 0.7684,
                "duels_lost": 3.2706,
                "aerial_won": 0.1272,
                "aerial_lost": 0.0087,
                "interceptions": 0.3753,
                "tackles_won": 0.9237,
                "tackles": 1.4954,
                "clearances": 0.7499,
                "total_contest": 1.4806,
                "won_contest": 0.8099,
                "challenges_lost": 1.599,
                "fouls": 0.2212,
                "fouls_drawn": 1.008,
                "blocks": 0.0181,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0311,
                "xgot": 0.0671,
                "ball_carries": 29.3318,
                "total_progression": 93.8408,
                "progressive_carries": 1.9081,
                "shots_off_target": 0.7612,
                "opponent_faced": "Yan Diomande, Jude Bellingham, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "key_pass": 2.3092,
                "expected_assists": 0.2262,
                "assist_rate": 0.2025,
                "assists": 0,
                "expected_goals": 0.0994,
                "goal_rate": 0.0927,
                "goals": 0,
                "shots_on_target": 0.2522,
                "total_shots": 1.0135,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 69.8295,
                "accurate_pass": 64.6939,
                "duels_won": 3.4387,
                "total_long_balls": 3.7406,
                "accurate_long_balls": 2.7746,
                "total_own_half_passes": 24.9735,
                "accurate_own_half_passes": 23.6871,
                "total_opp_half_passes": 44.856,
                "accurate_opp_half_passes": 41.0067,
                "crosses_total": 1.2467,
                "crosses_accurate": 0.4416,
                "touches": 83.1546,
                "possession_lost": 8.7603,
                "dispossessed": 0.7684,
                "duels_lost": 3.2706,
                "aerial_won": 0.1272,
                "aerial_lost": 0.0087,
                "interceptions": 0.3753,
                "tackles_won": 0.9237,
                "tackles": 1.4954,
                "clearances": 0.7499,
                "total_contest": 1.4806,
                "won_contest": 0.8099,
                "challenges_lost": 1.599,
                "fouls": 0.2212,
                "fouls_drawn": 1.008,
                "blocks": 0.0181,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0311,
                "xgot": 0.078,
                "ball_carries": 29.3318,
                "total_progression": 93.8408,
                "progressive_carries": 1.9081,
                "shots_off_target": 0.7612,
                "opponent_faced": "Yan Diomande, Jude Bellingham, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0531,
                "creation_factor": 1.0879
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0855,
                  "after": 0.0994
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1821,
                  "after": 0.2262
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 90.0)",
              "stats": {
                "key_pass": 2.3092,
                "expected_assists": 0.2262,
                "assist_rate": 0.2025,
                "assists": 0,
                "expected_goals": 0.0994,
                "goal_rate": 0.0927,
                "goals": 0,
                "shots_on_target": 0.2522,
                "total_shots": 1.0135,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 69.8295,
                "accurate_pass": 64.6939,
                "duels_won": 3.4387,
                "total_long_balls": 3.7406,
                "accurate_long_balls": 2.7746,
                "total_own_half_passes": 24.9735,
                "accurate_own_half_passes": 23.6871,
                "total_opp_half_passes": 44.856,
                "accurate_opp_half_passes": 41.0067,
                "crosses_total": 1.2467,
                "crosses_accurate": 0.4416,
                "touches": 83.1546,
                "possession_lost": 8.7603,
                "dispossessed": 0.7684,
                "duels_lost": 3.2706,
                "aerial_won": 0.1272,
                "aerial_lost": 0.0087,
                "interceptions": 0.3753,
                "tackles_won": 0.9237,
                "tackles": 1.4954,
                "clearances": 0.7499,
                "total_contest": 1.4806,
                "won_contest": 0.8099,
                "challenges_lost": 1.599,
                "fouls": 0.2212,
                "fouls_drawn": 1.008,
                "blocks": 0.0181,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0311,
                "xgot": 0.078,
                "ball_carries": 29.3318,
                "total_progression": 93.8408,
                "progressive_carries": 1.9081,
                "shots_off_target": 0.7612,
                "opponent_faced": "Yan Diomande, Jude Bellingham, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0531,
                "creation_factor": 1.0879,
                "fifa_overall": 90.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": 6,
                "fifa_rank": 12.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.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.3092,
                "expected_assists": 0.2262,
                "assist_rate": 0.2025,
                "assists": 0,
                "expected_goals": 0.0994,
                "goal_rate": 0.0927,
                "goals": 0,
                "shots_on_target": 0.2522,
                "total_shots": 1.0135,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 69.8295,
                "accurate_pass": 64.6939,
                "duels_won": 3.4387,
                "total_long_balls": 3.7406,
                "accurate_long_balls": 2.7746,
                "total_own_half_passes": 24.9735,
                "accurate_own_half_passes": 23.6871,
                "total_opp_half_passes": 44.856,
                "accurate_opp_half_passes": 41.0067,
                "crosses_total": 1.2467,
                "crosses_accurate": 0.4416,
                "touches": 83.1546,
                "possession_lost": 8.7603,
                "dispossessed": 0.7684,
                "duels_lost": 3.2706,
                "aerial_won": 0.1272,
                "aerial_lost": 0.0087,
                "interceptions": 0.3753,
                "tackles_won": 0.9237,
                "tackles": 1.4954,
                "clearances": 0.7499,
                "total_contest": 1.4806,
                "won_contest": 0.8099,
                "challenges_lost": 1.599,
                "fouls": 0.2212,
                "fouls_drawn": 1.008,
                "blocks": 0.0181,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0311,
                "xgot": 0.078,
                "ball_carries": 29.3318,
                "total_progression": 93.8408,
                "progressive_carries": 1.9081,
                "shots_off_target": 0.7612,
                "opponent_faced": "Yan Diomande, Jude Bellingham, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0946,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0531,
                "creation_factor": 1.0879,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0946,
                "goal_rate": 0.0927,
                "scorer_weight": 0.1047,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0362,
                "finishing_factor": 1.0531,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.3092,
                "expected_assists": 0.2262,
                "assist_rate": 0.2025,
                "assists": 0,
                "expected_goals": 0.0994,
                "goal_rate": 0.0927,
                "goals": 0,
                "shots_on_target": 0.2522,
                "total_shots": 1.0135,
                "rating": 7.2363,
                "minutes": 79.77,
                "total_pass": 69.8295,
                "accurate_pass": 64.6939,
                "duels_won": 3.4387,
                "total_long_balls": 3.7406,
                "accurate_long_balls": 2.7746,
                "total_own_half_passes": 24.9735,
                "accurate_own_half_passes": 23.6871,
                "total_opp_half_passes": 44.856,
                "accurate_opp_half_passes": 41.0067,
                "crosses_total": 1.2467,
                "crosses_accurate": 0.4416,
                "touches": 83.1546,
                "possession_lost": 8.7603,
                "dispossessed": 0.7684,
                "duels_lost": 3.2706,
                "aerial_won": 0.1272,
                "aerial_lost": 0.0087,
                "interceptions": 0.3753,
                "tackles_won": 0.9237,
                "tackles": 1.4954,
                "clearances": 0.7499,
                "total_contest": 1.4806,
                "won_contest": 0.8099,
                "challenges_lost": 1.599,
                "fouls": 0.2212,
                "fouls_drawn": 1.008,
                "blocks": 0.0181,
                "big_chances_created": 0.1251,
                "big_chances_missed": 0.0311,
                "xgot": 0.078,
                "ball_carries": 29.3318,
                "total_progression": 93.8408,
                "progressive_carries": 1.9081,
                "shots_off_target": 0.7612,
                "opponent_faced": "Yan Diomande, Jude Bellingham, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0946,
                "projected_assists": 0,
                "assist_probability": 0.2024,
                "finishing_factor": 1.0531,
                "creation_factor": 1.0879,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2024,
                "assist_rate": 0.2025,
                "provider_weight": 0.2461,
                "squad_weight_total": 1.8872,
                "weight_share": 0.1304,
                "creation_factor": 1.0879,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Rodri": {
          "player_id": 827606,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 16,
          "height": 191,
          "market_value": 54000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1293,
            "assist_rate": 0.0662,
            "assists": 0,
            "expected_goals": 0.1113,
            "goal_rate": 0.0726,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.4804,
            "minutes": 82,
            "total_pass": 90,
            "accurate_pass": 83,
            "duels_won": 6,
            "total_long_balls": 7,
            "accurate_long_balls": 5,
            "total_own_half_passes": 35,
            "accurate_own_half_passes": 33,
            "total_opp_half_passes": 54,
            "accurate_opp_half_passes": 50,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 103,
            "possession_lost": 9.7831,
            "dispossessed": 0.4229,
            "duels_lost": 3,
            "aerial_won": 2,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0294,
            "ball_carries": 31,
            "total_progression": 104,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "opponent_faced": "Yan Diomande, Aurélien Tchouaméni",
            "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1053,
            "projected_assists": 0,
            "assist_probability": 0.1213,
            "finishing_factor": 0.8415,
            "creation_factor": 0.8,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1461,
                "expected_assists": 0.0567,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 129,
                "accurate_pass": 126,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 9.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.344,
                "total_shots": 0,
                "total_pass": 124,
                "accurate_pass": 119,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6712,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 4,
                "interceptions": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 61,
                "rating": 8.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0576,
                "expected_assists": 0.3232,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 61,
                "accurate_pass": 55,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0662,
                "total_shots": 0,
                "total_pass": 117,
                "accurate_pass": 111,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 8
              },
              "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0795,
                "expected_assists": 0.0737,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 83,
                "accurate_pass": 81,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 26,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 31,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0267,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023936,
              "match_date": "2026-05-19",
              "home_team": "Bournemouth",
              "away_team": "Manchester City",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Manchester City",
              "opponent": "Bournemouth",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3227,
                "expected_assists": 0.1302,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 88,
                "accurate_pass": 77,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 5,
                "duels_won": 12,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025039,
              "match_date": "2026-04-19",
              "home_team": "Manchester City",
              "away_team": "Arsenal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Manchester City",
              "opponent": "Arsenal",
              "stats": {
                "minutes": 88,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0435,
                "expected_assists": 0.1522,
                "total_shots": 1,
                "total_pass": 74,
                "accurate_pass": 69,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 6,
                "duels_won": 9,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 50,
            "combined_rank_score": 60.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 113.0,
            "sofascore_rating": 7.43,
            "sofascore_appearances": 21.0,
            "fifa_rank": 8.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.4804,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rodri",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bukayo Saka",
                  "ranking": 45
                },
                {
                  "player_name": "Federico Valverde",
                  "ranking": 46
                },
                {
                  "player_name": "Ayrton Lucas",
                  "ranking": 47
                },
                {
                  "player_name": "Giorgian de Arrascaeta",
                  "ranking": 48
                },
                {
                  "player_name": "Rayan Cherki",
                  "ranking": 49
                }
              ],
              "lower": [
                {
                  "player_name": "Matheus Serafim",
                  "ranking": 51
                },
                {
                  "player_name": "Matheus Frizzo",
                  "ranking": 52
                },
                {
                  "player_name": "Florian Wirtz",
                  "ranking": 53
                },
                {
                  "player_name": "Martín Zubimendi",
                  "ranking": 54
                },
                {
                  "player_name": "Luan Dias",
                  "ranking": 55
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.756,
          "history_matches": 27,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.756,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0156,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 55.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "XGBoost regressor (M_service) evaluated 27 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.04, 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.0152,
                "expected_assists": 0.1025,
                "assists": 0.0655,
                "assist_rate": 0.0655,
                "expected_goals": 0.0942,
                "goals": 0.0718,
                "goal_rate": 0.0718,
                "shots_on_target": 0.2038,
                "total_shots": 0.9676,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 88.5046,
                "accurate_pass": 81.3318,
                "duels_won": 5.5452,
                "total_long_balls": 7.0409,
                "accurate_long_balls": 5.3908,
                "total_own_half_passes": 34.9421,
                "accurate_own_half_passes": 32.3177,
                "total_opp_half_passes": 53.5626,
                "accurate_opp_half_passes": 49.0141,
                "crosses_total": 0.4768,
                "crosses_accurate": 0.0221,
                "touches": 101.7185,
                "possession_lost": 9.6328,
                "dispossessed": 0.4164,
                "duels_lost": 2.6039,
                "aerial_won": 1.7208,
                "aerial_lost": 0.491,
                "interceptions": 1.3679,
                "tackles_won": 1.6909,
                "tackles": 2.3996,
                "clearances": 1.9545,
                "total_contest": 0.5752,
                "won_contest": 0.2872,
                "challenges_lost": 0.7069,
                "fouls": 0.7015,
                "fouls_drawn": 1.1377,
                "blocks": 0.096,
                "big_chances_created": 0.2996,
                "big_chances_missed": 0.1551,
                "xgot": 0.0249,
                "ball_carries": 31.0147,
                "total_progression": 102.6867,
                "progressive_carries": 1.0942,
                "shots_off_target": 0.7638
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0933,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0674,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-19",
                    "opponent": "Bournemouth",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-04-19",
                    "opponent": "Arsenal",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Chelsea",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "West Ham United",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.0026,
                  "creative_index": 0.4929,
                  "expectedGoals": 0.1542,
                  "expectedAssists": 0.1222,
                  "onTargetScoringAttempt": 0.0894
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0151528120040894,
                    "model_output": 1.0152,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1143
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1088
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0944
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0664
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0643
                        }
                      ],
                      "others": -0.0018,
                      "total": 1.0152,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121331
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.103198
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.088913
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.063344
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.061266
                        }
                      ],
                      "others_margin": -0.00184
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10251490026712418,
                    "model_output": 0.1025,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0121
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0083
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.007
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0061
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0048
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.1025,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.13221
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.088832
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.075408
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.061681
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.048051
                        }
                      ],
                      "others_margin": 0.045885
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06546660512685776,
                    "model_output": 0.0655,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0082
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0044
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.004
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0057,
                      "total": 0.0655,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.132359
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.116298
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.064117
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.05426
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.048934
                        }
                      ],
                      "others_margin": -0.084596
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0941985547542572,
                    "model_output": 0.0942,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0267
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0185
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0126
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0055
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0053
                        }
                      ],
                      "others": -0.0212,
                      "total": 0.0942,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.248973
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.165614
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.116183
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.046352
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.045209
                        }
                      ],
                      "others_margin": -0.203116
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07179010659456253,
                    "model_output": 0.0718,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.021
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0197
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0088
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0074
                        }
                      ],
                      "others": 0.0004,
                      "total": 0.0718,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.194444
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.181548
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.121701
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.106082
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.098834
                        }
                      ],
                      "others_margin": 0.006126
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.20380178093910217,
                    "model_output": 0.2038,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0429
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0351
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0319
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0342
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0244
                        }
                      ],
                      "others": -0.0839,
                      "total": 0.2038,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalPass_p90",
                          "margin": -0.141865
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.133447
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.121987
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115908
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.081416
                        }
                      ],
                      "others_margin": -0.344735
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9676418304443359,
                    "model_output": 0.9676,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1563
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0622
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0402
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0384
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0291
                        }
                      ],
                      "others": -0.0897,
                      "total": 0.9676,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.156281
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.062196
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.040243
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.038418
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.029051
                        }
                      ],
                      "others_margin": -0.089681
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.480361461639404,
                    "model_output": 7.4804,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1704
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1214
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0592
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0507
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0434
                        }
                      ],
                      "others": 0.1864,
                      "total": 7.4804,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.170423
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.121404
                        },
                        {
                          "name": "touches",
                          "margin": 0.05923
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.050694
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.043398
                        }
                      ],
                      "others_margin": 0.186342
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 27,
                  "role_matches": 21,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0156, quality 0.837)",
              "stats": {
                "key_pass": 1.031,
                "expected_assists": 0.1041,
                "assists": 0.0665,
                "assist_rate": 0.0665,
                "expected_goals": 0.0957,
                "goals": 0.0729,
                "goal_rate": 0.0729,
                "shots_on_target": 0.207,
                "total_shots": 0.9827,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 89.8853,
                "accurate_pass": 82.6006,
                "duels_won": 5.6317,
                "total_long_balls": 7.1507,
                "accurate_long_balls": 5.4749,
                "total_own_half_passes": 35.4872,
                "accurate_own_half_passes": 32.8219,
                "total_opp_half_passes": 54.3982,
                "accurate_opp_half_passes": 49.7787,
                "crosses_total": 0.4842,
                "crosses_accurate": 0.0224,
                "touches": 103.3053,
                "possession_lost": 9.7831,
                "dispossessed": 0.4229,
                "duels_lost": 2.6445,
                "aerial_won": 1.7476,
                "aerial_lost": 0.4987,
                "interceptions": 1.3892,
                "tackles_won": 1.7173,
                "tackles": 2.437,
                "clearances": 1.985,
                "total_contest": 0.5842,
                "won_contest": 0.2917,
                "challenges_lost": 0.7179,
                "fouls": 0.7124,
                "fouls_drawn": 1.1554,
                "blocks": 0.0975,
                "big_chances_created": 0.3043,
                "big_chances_missed": 0.1575,
                "xgot": 0.0253,
                "ball_carries": 31.4985,
                "total_progression": 104.2886,
                "progressive_carries": 1.1113,
                "shots_off_target": 0.7757
              },
              "params": {
                "market_value_eur": 54000000,
                "quality_factor": 0.837,
                "boost_factor": 1.0156,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0041)",
              "stats": {
                "key_pass": 1.031,
                "expected_assists": 0.1041,
                "assists": 0.0662,
                "assist_rate": 0.0662,
                "expected_goals": 0.0957,
                "goals": 0.0726,
                "goal_rate": 0.0726,
                "shots_on_target": 0.2062,
                "total_shots": 0.9787,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 89.8853,
                "accurate_pass": 82.6006,
                "duels_won": 5.6317,
                "total_long_balls": 7.1507,
                "accurate_long_balls": 5.4749,
                "total_own_half_passes": 35.4872,
                "accurate_own_half_passes": 32.8219,
                "total_opp_half_passes": 54.3982,
                "accurate_opp_half_passes": 49.7787,
                "crosses_total": 0.4822,
                "crosses_accurate": 0.0224,
                "touches": 103.3053,
                "possession_lost": 9.7831,
                "dispossessed": 0.4229,
                "duels_lost": 2.6445,
                "aerial_won": 1.7476,
                "aerial_lost": 0.4987,
                "interceptions": 1.3836,
                "tackles_won": 1.7103,
                "tackles": 2.437,
                "clearances": 1.985,
                "total_contest": 0.5842,
                "won_contest": 0.2917,
                "challenges_lost": 0.7179,
                "fouls": 0.7095,
                "fouls_drawn": 1.1507,
                "blocks": 0.0975,
                "big_chances_created": 0.3043,
                "big_chances_missed": 0.1575,
                "xgot": 0.0253,
                "ball_carries": 31.4985,
                "total_progression": 104.2886,
                "progressive_carries": 1.1113,
                "shots_off_target": 0.7757
              },
              "params": {
                "blend_weight": 0.0041,
                "history_matches": 27,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9159,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.7173,
                  "after": 1.7103
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.3892,
                  "after": 1.3836
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.031,
                "expected_assists": 0.1041,
                "assists": 0.0662,
                "assist_rate": 0.0662,
                "expected_goals": 0.0957,
                "goals": 0.0726,
                "goal_rate": 0.0726,
                "shots_on_target": 0.2062,
                "total_shots": 0.9819,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 89.8853,
                "accurate_pass": 82.6006,
                "duels_won": 5.6317,
                "total_long_balls": 7.1507,
                "accurate_long_balls": 5.4749,
                "total_own_half_passes": 35.4872,
                "accurate_own_half_passes": 32.8219,
                "total_opp_half_passes": 54.3982,
                "accurate_opp_half_passes": 49.7787,
                "crosses_total": 0.4822,
                "crosses_accurate": 0.0224,
                "touches": 103.3053,
                "possession_lost": 9.7831,
                "dispossessed": 0.4229,
                "duels_lost": 2.6445,
                "aerial_won": 1.7476,
                "aerial_lost": 0.4987,
                "interceptions": 1.3836,
                "tackles_won": 1.7103,
                "tackles": 2.437,
                "clearances": 1.985,
                "total_contest": 0.5842,
                "won_contest": 0.2917,
                "challenges_lost": 0.7179,
                "fouls": 0.7095,
                "fouls_drawn": 1.1507,
                "blocks": 0.0975,
                "big_chances_created": 0.3043,
                "big_chances_missed": 0.1575,
                "xgot": 0.0253,
                "ball_carries": 31.4985,
                "total_progression": 104.2886,
                "progressive_carries": 1.1113,
                "shots_off_target": 0.7757
              },
              "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.031,
                "expected_assists": 0.1041,
                "assists": 0.0662,
                "assist_rate": 0.0662,
                "expected_goals": 0.0957,
                "goals": 0.0726,
                "goal_rate": 0.0726,
                "shots_on_target": 0.2062,
                "total_shots": 0.9819,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 89.8853,
                "accurate_pass": 82.6006,
                "duels_won": 5.6317,
                "total_long_balls": 7.1507,
                "accurate_long_balls": 5.4749,
                "total_own_half_passes": 35.4872,
                "accurate_own_half_passes": 32.8219,
                "total_opp_half_passes": 54.3982,
                "accurate_opp_half_passes": 49.7787,
                "crosses_total": 0.4822,
                "crosses_accurate": 0.0224,
                "touches": 103.3053,
                "possession_lost": 9.7831,
                "dispossessed": 0.4229,
                "duels_lost": 2.6445,
                "aerial_won": 1.7476,
                "aerial_lost": 0.4987,
                "interceptions": 1.3836,
                "tackles_won": 1.7103,
                "tackles": 2.437,
                "clearances": 1.985,
                "total_contest": 0.5842,
                "won_contest": 0.2917,
                "challenges_lost": 0.7179,
                "fouls": 0.7095,
                "fouls_drawn": 1.1507,
                "blocks": 0.0975,
                "big_chances_created": 0.3043,
                "big_chances_missed": 0.1575,
                "xgot": 0.0253,
                "ball_carries": 31.4985,
                "total_progression": 104.2886,
                "progressive_carries": 1.1113,
                "shots_off_target": 0.7757,
                "opponent_faced": "Yan Diomande, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Yan Diomande, Aurélien Tchouaméni",
                  "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.031,
                "expected_assists": 0.1041,
                "assist_rate": 0.0662,
                "assists": 0,
                "expected_goals": 0.0957,
                "goal_rate": 0.0726,
                "goals": 0,
                "shots_on_target": 0.2062,
                "total_shots": 0.9819,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 89.8853,
                "accurate_pass": 82.6006,
                "duels_won": 5.6317,
                "total_long_balls": 7.1507,
                "accurate_long_balls": 5.4749,
                "total_own_half_passes": 35.4872,
                "accurate_own_half_passes": 32.8219,
                "total_opp_half_passes": 54.3982,
                "accurate_opp_half_passes": 49.7787,
                "crosses_total": 0.4822,
                "crosses_accurate": 0.0224,
                "touches": 103.3053,
                "possession_lost": 9.7831,
                "dispossessed": 0.4229,
                "duels_lost": 2.6445,
                "aerial_won": 1.7476,
                "aerial_lost": 0.4987,
                "interceptions": 1.3836,
                "tackles_won": 1.7103,
                "tackles": 2.437,
                "clearances": 1.985,
                "total_contest": 0.5842,
                "won_contest": 0.2917,
                "challenges_lost": 0.7179,
                "fouls": 0.7095,
                "fouls_drawn": 1.1507,
                "blocks": 0.0975,
                "big_chances_created": 0.3043,
                "big_chances_missed": 0.1575,
                "xgot": 0.0253,
                "ball_carries": 31.4985,
                "total_progression": 104.2886,
                "progressive_carries": 1.1113,
                "shots_off_target": 0.7757,
                "opponent_faced": "Yan Diomande, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.031,
                "expected_assists": 0.1293,
                "assist_rate": 0.0662,
                "assists": 0,
                "expected_goals": 0.1113,
                "goal_rate": 0.0726,
                "goals": 0,
                "shots_on_target": 0.2062,
                "total_shots": 0.9819,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 89.8853,
                "accurate_pass": 82.6006,
                "duels_won": 5.6317,
                "total_long_balls": 7.1507,
                "accurate_long_balls": 5.4749,
                "total_own_half_passes": 35.4872,
                "accurate_own_half_passes": 32.8219,
                "total_opp_half_passes": 54.3982,
                "accurate_opp_half_passes": 49.7787,
                "crosses_total": 0.4822,
                "crosses_accurate": 0.0224,
                "touches": 103.3053,
                "possession_lost": 9.7831,
                "dispossessed": 0.4229,
                "duels_lost": 2.6445,
                "aerial_won": 1.7476,
                "aerial_lost": 0.4987,
                "interceptions": 1.3836,
                "tackles_won": 1.7103,
                "tackles": 2.437,
                "clearances": 1.985,
                "total_contest": 0.5842,
                "won_contest": 0.2917,
                "challenges_lost": 0.7179,
                "fouls": 0.7095,
                "fouls_drawn": 1.1507,
                "blocks": 0.0975,
                "big_chances_created": 0.3043,
                "big_chances_missed": 0.1575,
                "xgot": 0.0294,
                "ball_carries": 31.4985,
                "total_progression": 104.2886,
                "progressive_carries": 1.1113,
                "shots_off_target": 0.7757,
                "opponent_faced": "Yan Diomande, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8415,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0957,
                  "after": 0.1113
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1041,
                  "after": 0.1293
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 90.0)",
              "stats": {
                "key_pass": 1.031,
                "expected_assists": 0.1293,
                "assist_rate": 0.0662,
                "assists": 0,
                "expected_goals": 0.1113,
                "goal_rate": 0.0726,
                "goals": 0,
                "shots_on_target": 0.2062,
                "total_shots": 0.9819,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 89.8853,
                "accurate_pass": 82.6006,
                "duels_won": 5.6317,
                "total_long_balls": 7.1507,
                "accurate_long_balls": 5.4749,
                "total_own_half_passes": 35.4872,
                "accurate_own_half_passes": 32.8219,
                "total_opp_half_passes": 54.3982,
                "accurate_opp_half_passes": 49.7787,
                "crosses_total": 0.4822,
                "crosses_accurate": 0.0224,
                "touches": 103.3053,
                "possession_lost": 9.7831,
                "dispossessed": 0.4229,
                "duels_lost": 2.6445,
                "aerial_won": 1.7476,
                "aerial_lost": 0.4987,
                "interceptions": 1.3836,
                "tackles_won": 1.7103,
                "tackles": 2.437,
                "clearances": 1.985,
                "total_contest": 0.5842,
                "won_contest": 0.2917,
                "challenges_lost": 0.7179,
                "fouls": 0.7095,
                "fouls_drawn": 1.1507,
                "blocks": 0.0975,
                "big_chances_created": 0.3043,
                "big_chances_missed": 0.1575,
                "xgot": 0.0294,
                "ball_carries": 31.4985,
                "total_progression": 104.2886,
                "progressive_carries": 1.1113,
                "shots_off_target": 0.7757,
                "opponent_faced": "Yan Diomande, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8415,
                "creation_factor": 0.8,
                "fifa_overall": 90.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": 50,
                "fifa_rank": 8.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.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.031,
                "expected_assists": 0.1293,
                "assist_rate": 0.0662,
                "assists": 0,
                "expected_goals": 0.1113,
                "goal_rate": 0.0726,
                "goals": 0,
                "shots_on_target": 0.2062,
                "total_shots": 0.9819,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 89.8853,
                "accurate_pass": 82.6006,
                "duels_won": 5.6317,
                "total_long_balls": 7.1507,
                "accurate_long_balls": 5.4749,
                "total_own_half_passes": 35.4872,
                "accurate_own_half_passes": 32.8219,
                "total_opp_half_passes": 54.3982,
                "accurate_opp_half_passes": 49.7787,
                "crosses_total": 0.4822,
                "crosses_accurate": 0.0224,
                "touches": 103.3053,
                "possession_lost": 9.7831,
                "dispossessed": 0.4229,
                "duels_lost": 2.6445,
                "aerial_won": 1.7476,
                "aerial_lost": 0.4987,
                "interceptions": 1.3836,
                "tackles_won": 1.7103,
                "tackles": 2.437,
                "clearances": 1.985,
                "total_contest": 0.5842,
                "won_contest": 0.2917,
                "challenges_lost": 0.7179,
                "fouls": 0.7095,
                "fouls_drawn": 1.1507,
                "blocks": 0.0975,
                "big_chances_created": 0.3043,
                "big_chances_missed": 0.1575,
                "xgot": 0.0294,
                "ball_carries": 31.4985,
                "total_progression": 104.2886,
                "progressive_carries": 1.1113,
                "shots_off_target": 0.7757,
                "opponent_faced": "Yan Diomande, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1053,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8415,
                "creation_factor": 0.8,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1053,
                "goal_rate": 0.0726,
                "scorer_weight": 0.0937,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0324,
                "finishing_factor": 0.8415,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.031,
                "expected_assists": 0.1293,
                "assist_rate": 0.0662,
                "assists": 0,
                "expected_goals": 0.1113,
                "goal_rate": 0.0726,
                "goals": 0,
                "shots_on_target": 0.2062,
                "total_shots": 0.9819,
                "rating": 7.4804,
                "minutes": 82.43,
                "total_pass": 89.8853,
                "accurate_pass": 82.6006,
                "duels_won": 5.6317,
                "total_long_balls": 7.1507,
                "accurate_long_balls": 5.4749,
                "total_own_half_passes": 35.4872,
                "accurate_own_half_passes": 32.8219,
                "total_opp_half_passes": 54.3982,
                "accurate_opp_half_passes": 49.7787,
                "crosses_total": 0.4822,
                "crosses_accurate": 0.0224,
                "touches": 103.3053,
                "possession_lost": 9.7831,
                "dispossessed": 0.4229,
                "duels_lost": 2.6445,
                "aerial_won": 1.7476,
                "aerial_lost": 0.4987,
                "interceptions": 1.3836,
                "tackles_won": 1.7103,
                "tackles": 2.437,
                "clearances": 1.985,
                "total_contest": 0.5842,
                "won_contest": 0.2917,
                "challenges_lost": 0.7179,
                "fouls": 0.7095,
                "fouls_drawn": 1.1507,
                "blocks": 0.0975,
                "big_chances_created": 0.3043,
                "big_chances_missed": 0.1575,
                "xgot": 0.0294,
                "ball_carries": 31.4985,
                "total_progression": 104.2886,
                "progressive_carries": 1.1113,
                "shots_off_target": 0.7757,
                "opponent_faced": "Yan Diomande, Aurélien Tchouaméni",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1053,
                "projected_assists": 0,
                "assist_probability": 0.1213,
                "finishing_factor": 0.8415,
                "creation_factor": 0.8,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1213,
                "assist_rate": 0.0662,
                "provider_weight": 0.1034,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0548,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "João Cancelo": {
          "player_id": 138892,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 182,
          "market_value": 7500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.8702,
            "minutes": 83,
            "total_pass": 47,
            "accurate_pass": 41,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 29,
            "accurate_opp_half_passes": 24,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 67,
            "possession_lost": 12.0323,
            "dispossessed": 0.4567,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.3069,
            "goals": 0,
            "assist_rate": 0.0747,
            "assists": 0,
            "expected_goals": 0.0548,
            "expected_assists": 0.1897,
            "shots_on_target": 1,
            "big_chances_created": 0,
            "xgot": 0.1193,
            "ball_carries": 19,
            "total_progression": 95,
            "progressive_carries": 4,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.439,
            "opponent_faced": "Federico Valverde",
            "pressing_zone": "Right Wingback vs Left Back — Overlapping Run",
            "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0533,
            "projected_assists": 0,
            "assist_probability": 0.1728,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.272,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 58,
                "accurate_pass": 54,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 78,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0901,
                "expected_assists": 0.0492,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 62,
                "accurate_pass": 54,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 10,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 15,
                "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": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0213,
                "expected_assists": 0.0078,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 7
              },
              "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": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.005,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.006,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 8,
                "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": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 17,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1279,
                "expected_assists": 0.1183,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 43,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 2,
                "tackles_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083603,
              "match_date": "2026-05-13",
              "home_team": "Deportivo Alavés",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 11,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0308,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.141,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 472,
            "combined_rank_score": 281.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 242.0,
            "sofascore_rating": 7.125,
            "sofascore_appearances": 16.0,
            "fifa_rank": 320.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.8702,
            "source_file": "data/player_rankings.csv",
            "player_name": "João Cancelo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ramón Terrats",
                  "ranking": 467
                },
                {
                  "player_name": "Igor Formiga",
                  "ranking": 468
                },
                {
                  "player_name": "Anthony Caceres",
                  "ranking": 469
                },
                {
                  "player_name": "James Garner",
                  "ranking": 470
                },
                {
                  "player_name": "Marcus Rashford",
                  "ranking": 471
                }
              ],
              "lower": [
                {
                  "player_name": "Oh-kyu Kim",
                  "ranking": 473
                },
                {
                  "player_name": "Oscar Lopez",
                  "ranking": 474
                },
                {
                  "player_name": "Eberechi Eze",
                  "ranking": 475
                },
                {
                  "player_name": "Hugo Ekitiké",
                  "ranking": 476
                },
                {
                  "player_name": "Manuel Ángel Castillo",
                  "ranking": 477
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.753,
          "history_matches": 22,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 22,
            "data_confidence": 0.753,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9993,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 31.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.9,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "XGBoost regressor (D_service) evaluated 22 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.02, 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": 0.8303,
                "tackles": 1.7109,
                "tackles_won": 1.1436,
                "clearances": 1.9607,
                "aerial_won": 0.7121,
                "total_shots": 0.7708,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3658,
                "accurate_pass": 41.4935,
                "duels_won": 4.8508,
                "total_long_balls": 2.8643,
                "accurate_long_balls": 1.7628,
                "total_own_half_passes": 18.8396,
                "accurate_own_half_passes": 17.3092,
                "total_opp_half_passes": 28.5261,
                "accurate_opp_half_passes": 24.1843,
                "crosses_total": 2.4245,
                "crosses_accurate": 0.4877,
                "touches": 66.7232,
                "possession_lost": 12.0407,
                "dispossessed": 0.457,
                "duels_lost": 4.8661,
                "aerial_lost": 0.5549,
                "total_contest": 2.657,
                "won_contest": 1.2352,
                "ball_recovery": 4.1242,
                "challenges_lost": 1.4358,
                "fouls": 0.9966,
                "fouls_drawn": 0.9215,
                "blocks": 0.1286,
                "goals": 0.3078,
                "goal_rate": 0.3078,
                "assists": 0.075,
                "assist_rate": 0.075,
                "expected_goals": 0.0471,
                "expected_assists": 0.1528,
                "shots_on_target": 0.5332,
                "big_chances_created": 0.2841,
                "xgot": 0.1027,
                "ball_carries": 19.3199,
                "total_progression": 95.3071,
                "progressive_carries": 3.9425,
                "key_pass": 1.0321,
                "shots_off_target": 0.2376
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1543,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.1312,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1115,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0948,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0806,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0685,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0582,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0495,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0421,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0357,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.111,
                  "aerialWon": 0.5556,
                  "totalClearance_p90": 2.0131,
                  "totalTackle": 0.9348,
                  "totalPass": 32.1149
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8303419351577759,
                    "model_output": 0.8303,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1267
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0929
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0456
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0456
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0281
                        }
                      ],
                      "others": -0.0889,
                      "total": 0.8303,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.137876
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.099136
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.049917
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.049909
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.031006
                        }
                      ],
                      "others_margin": -0.101672
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7109168767929077,
                    "model_output": 1.7109,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2005
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0911
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0613
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0537
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0531
                        }
                      ],
                      "others": -0.0201,
                      "total": 1.7109,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134398
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.055578
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.037049
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.032508
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.031163
                        }
                      ],
                      "others_margin": -0.011658
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1435750722885132,
                    "model_output": 1.1436,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1106
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0545
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0395
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0371
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0375
                        }
                      ],
                      "others": 0.089,
                      "total": 1.1436,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121716
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.054977
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.039547
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.037154
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.036173
                        }
                      ],
                      "others_margin": 0.0811
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.9606763124465942,
                    "model_output": 1.9607,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7763
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3764
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3254
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2641
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.237
                        }
                      ],
                      "others": -0.2643,
                      "total": 1.9607,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.254782
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.131652
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.112744
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.101911
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.101194
                        }
                      ],
                      "others_margin": -0.126515
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7121069431304932,
                    "model_output": 0.7121,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4766
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1184
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0926
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0918
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0578
                        }
                      ],
                      "others": -0.1319,
                      "total": 0.7121,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.422954
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.140169
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.125128
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124194
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.07095
                        }
                      ],
                      "others_margin": -0.169973
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.770835816860199,
                    "model_output": 0.7708,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1327
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0632
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.051
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0209
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0126
                        }
                      ],
                      "others": 0.0193,
                      "total": 0.7708,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.132707
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.063206
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.050968
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.02088
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.01258
                        }
                      ],
                      "others_margin": 0.019363
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.870216369628906,
                    "model_output": 6.8702,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0541
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0306
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0171
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0165
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0118
                        }
                      ],
                      "others": -0.012,
                      "total": 6.8702,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.054137
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.030577
                        },
                        {
                          "name": "rating",
                          "margin": 0.017058
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.016532
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.01181
                        }
                      ],
                      "others_margin": -0.011963
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 22,
                  "role_matches": 13,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9993, quality 0.493)",
              "stats": {
                "interceptions": 0.8298,
                "tackles": 1.7097,
                "tackles_won": 1.1428,
                "clearances": 1.9593,
                "aerial_won": 0.7116,
                "total_shots": 0.7703,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3326,
                "accurate_pass": 41.4645,
                "duels_won": 4.8474,
                "total_long_balls": 2.8623,
                "accurate_long_balls": 1.7616,
                "total_own_half_passes": 18.8264,
                "accurate_own_half_passes": 17.2971,
                "total_opp_half_passes": 28.5061,
                "accurate_opp_half_passes": 24.1674,
                "crosses_total": 2.4228,
                "crosses_accurate": 0.4874,
                "touches": 66.6765,
                "possession_lost": 12.0323,
                "dispossessed": 0.4567,
                "duels_lost": 4.8627,
                "aerial_lost": 0.5545,
                "total_contest": 2.6551,
                "won_contest": 1.2343,
                "ball_recovery": 4.1213,
                "challenges_lost": 1.4348,
                "fouls": 0.9959,
                "fouls_drawn": 0.9209,
                "blocks": 0.1285,
                "goals": 0.3076,
                "goal_rate": 0.3076,
                "assists": 0.0749,
                "assist_rate": 0.0749,
                "expected_goals": 0.0471,
                "expected_assists": 0.1527,
                "shots_on_target": 0.5328,
                "big_chances_created": 0.2839,
                "xgot": 0.1026,
                "ball_carries": 19.3064,
                "total_progression": 95.2404,
                "progressive_carries": 3.9397,
                "key_pass": 1.0314,
                "shots_off_target": 0.2374
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9993,
                "reference_quality": 0.505,
                "history_matches": 22,
                "history_shrink": 0.1852,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0024)",
              "stats": {
                "interceptions": 0.8278,
                "tackles": 1.7097,
                "tackles_won": 1.1475,
                "clearances": 1.9593,
                "aerial_won": 0.7116,
                "total_shots": 0.7749,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3326,
                "accurate_pass": 41.4645,
                "duels_won": 4.8474,
                "total_long_balls": 2.8623,
                "accurate_long_balls": 1.7616,
                "total_own_half_passes": 18.8264,
                "accurate_own_half_passes": 17.2971,
                "total_opp_half_passes": 28.5061,
                "accurate_opp_half_passes": 24.1674,
                "crosses_total": 2.417,
                "crosses_accurate": 0.4874,
                "touches": 66.6765,
                "possession_lost": 12.0323,
                "dispossessed": 0.4567,
                "duels_lost": 4.8627,
                "aerial_lost": 0.5545,
                "total_contest": 2.6551,
                "won_contest": 1.2343,
                "ball_recovery": 4.1213,
                "challenges_lost": 1.4348,
                "fouls": 0.9935,
                "fouls_drawn": 0.9187,
                "blocks": 0.1285,
                "goals": 0.3069,
                "goal_rate": 0.3069,
                "assists": 0.0747,
                "assist_rate": 0.0747,
                "expected_goals": 0.0471,
                "expected_assists": 0.1527,
                "shots_on_target": 0.5315,
                "big_chances_created": 0.2839,
                "xgot": 0.1026,
                "ball_carries": 19.3064,
                "total_progression": 95.2404,
                "progressive_carries": 3.9397,
                "key_pass": 1.0314,
                "shots_off_target": 0.2374
              },
              "params": {
                "blend_weight": 0.0024,
                "history_matches": 22,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9251,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.4228,
                  "after": 2.417
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8278,
                "tackles": 1.7097,
                "tackles_won": 1.1475,
                "clearances": 1.9593,
                "aerial_won": 0.7116,
                "total_shots": 0.7749,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3326,
                "accurate_pass": 41.4645,
                "duels_won": 4.8474,
                "total_long_balls": 2.8623,
                "accurate_long_balls": 1.7616,
                "total_own_half_passes": 18.8264,
                "accurate_own_half_passes": 17.2971,
                "total_opp_half_passes": 28.5061,
                "accurate_opp_half_passes": 24.1674,
                "crosses_total": 2.417,
                "crosses_accurate": 0.4874,
                "touches": 66.6765,
                "possession_lost": 12.0323,
                "dispossessed": 0.4567,
                "duels_lost": 4.8627,
                "aerial_lost": 0.5545,
                "total_contest": 2.6551,
                "won_contest": 1.2343,
                "ball_recovery": 4.1213,
                "challenges_lost": 1.4348,
                "fouls": 0.9935,
                "fouls_drawn": 0.9187,
                "blocks": 0.1285,
                "goals": 0.3069,
                "goal_rate": 0.3069,
                "assists": 0.0747,
                "assist_rate": 0.0747,
                "expected_goals": 0.0471,
                "expected_assists": 0.1527,
                "shots_on_target": 0.5315,
                "big_chances_created": 0.2839,
                "xgot": 0.1026,
                "ball_carries": 19.3064,
                "total_progression": 95.2404,
                "progressive_carries": 3.9397,
                "key_pass": 1.0314,
                "shots_off_target": 0.2374
              },
              "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": 0.8278,
                "tackles": 1.7097,
                "tackles_won": 1.1475,
                "clearances": 1.9593,
                "aerial_won": 0.7116,
                "total_shots": 0.7749,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3326,
                "accurate_pass": 41.4645,
                "duels_won": 4.8474,
                "total_long_balls": 2.8623,
                "accurate_long_balls": 1.7616,
                "total_own_half_passes": 18.8264,
                "accurate_own_half_passes": 17.2971,
                "total_opp_half_passes": 28.5061,
                "accurate_opp_half_passes": 24.1674,
                "crosses_total": 2.417,
                "crosses_accurate": 0.4874,
                "touches": 66.6765,
                "possession_lost": 12.0323,
                "dispossessed": 0.4567,
                "duels_lost": 4.8627,
                "aerial_lost": 0.5545,
                "total_contest": 2.6551,
                "won_contest": 1.2343,
                "ball_recovery": 4.1213,
                "challenges_lost": 1.4348,
                "fouls": 0.9935,
                "fouls_drawn": 0.9187,
                "blocks": 0.1285,
                "goals": 0.3069,
                "goal_rate": 0.3069,
                "assists": 0.0747,
                "assist_rate": 0.0747,
                "expected_goals": 0.0471,
                "expected_assists": 0.1527,
                "shots_on_target": 0.5315,
                "big_chances_created": 0.2839,
                "xgot": 0.1026,
                "ball_carries": 19.3064,
                "total_progression": 95.2404,
                "progressive_carries": 3.9397,
                "key_pass": 1.0314,
                "shots_off_target": 0.2374,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.439,
                "opponent_faced": "Federico Valverde",
                "pressing_zone": "Right Wingback vs Left Back — Overlapping Run",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Federico Valverde",
                  "matchup_zone": "Right Wingback vs Left Back — Overlapping Run"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.8278,
                "tackles": 1.7097,
                "tackles_won": 1.1475,
                "clearances": 1.9593,
                "aerial_won": 0.7116,
                "total_shots": 0.7749,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3326,
                "accurate_pass": 41.4645,
                "duels_won": 4.8474,
                "total_long_balls": 2.8623,
                "accurate_long_balls": 1.7616,
                "total_own_half_passes": 18.8264,
                "accurate_own_half_passes": 17.2971,
                "total_opp_half_passes": 28.5061,
                "accurate_opp_half_passes": 24.1674,
                "crosses_total": 2.417,
                "crosses_accurate": 0.4874,
                "touches": 66.6765,
                "possession_lost": 12.0323,
                "dispossessed": 0.4567,
                "duels_lost": 4.8627,
                "aerial_lost": 0.5545,
                "total_contest": 2.6551,
                "won_contest": 1.2343,
                "ball_recovery": 4.1213,
                "challenges_lost": 1.4348,
                "fouls": 0.9935,
                "fouls_drawn": 0.9187,
                "blocks": 0.1285,
                "goal_rate": 0.3069,
                "goals": 0,
                "assist_rate": 0.0747,
                "assists": 0,
                "expected_goals": 0.0471,
                "expected_assists": 0.1527,
                "shots_on_target": 0.5315,
                "big_chances_created": 0.2839,
                "xgot": 0.1026,
                "ball_carries": 19.3064,
                "total_progression": 95.2404,
                "progressive_carries": 3.9397,
                "key_pass": 1.0314,
                "shots_off_target": 0.2374,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.439,
                "opponent_faced": "Federico Valverde",
                "pressing_zone": "Right Wingback vs Left Back — Overlapping Run",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.8278,
                "tackles": 1.7097,
                "tackles_won": 1.1475,
                "clearances": 1.9593,
                "aerial_won": 0.7116,
                "total_shots": 0.7749,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3326,
                "accurate_pass": 41.4645,
                "duels_won": 4.8474,
                "total_long_balls": 2.8623,
                "accurate_long_balls": 1.7616,
                "total_own_half_passes": 18.8264,
                "accurate_own_half_passes": 17.2971,
                "total_opp_half_passes": 28.5061,
                "accurate_opp_half_passes": 24.1674,
                "crosses_total": 2.417,
                "crosses_accurate": 0.4874,
                "touches": 66.6765,
                "possession_lost": 12.0323,
                "dispossessed": 0.4567,
                "duels_lost": 4.8627,
                "aerial_lost": 0.5545,
                "total_contest": 2.6551,
                "won_contest": 1.2343,
                "ball_recovery": 4.1213,
                "challenges_lost": 1.4348,
                "fouls": 0.9935,
                "fouls_drawn": 0.9187,
                "blocks": 0.1285,
                "goal_rate": 0.3069,
                "goals": 0,
                "assist_rate": 0.0747,
                "assists": 0,
                "expected_goals": 0.0548,
                "expected_assists": 0.1897,
                "shots_on_target": 0.5315,
                "big_chances_created": 0.2839,
                "xgot": 0.1193,
                "ball_carries": 19.3064,
                "total_progression": 95.2404,
                "progressive_carries": 3.9397,
                "key_pass": 1.0314,
                "shots_off_target": 0.2374,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.439,
                "opponent_faced": "Federico Valverde",
                "pressing_zone": "Right Wingback vs Left Back — Overlapping Run",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "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.8
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0471,
                  "after": 0.0548
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1527,
                  "after": 0.1897
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 83.0)",
              "stats": {
                "interceptions": 0.8278,
                "tackles": 1.7097,
                "tackles_won": 1.1475,
                "clearances": 1.9593,
                "aerial_won": 0.7116,
                "total_shots": 0.7749,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3326,
                "accurate_pass": 41.4645,
                "duels_won": 4.8474,
                "total_long_balls": 2.8623,
                "accurate_long_balls": 1.7616,
                "total_own_half_passes": 18.8264,
                "accurate_own_half_passes": 17.2971,
                "total_opp_half_passes": 28.5061,
                "accurate_opp_half_passes": 24.1674,
                "crosses_total": 2.417,
                "crosses_accurate": 0.4874,
                "touches": 66.6765,
                "possession_lost": 12.0323,
                "dispossessed": 0.4567,
                "duels_lost": 4.8627,
                "aerial_lost": 0.5545,
                "total_contest": 2.6551,
                "won_contest": 1.2343,
                "ball_recovery": 4.1213,
                "challenges_lost": 1.4348,
                "fouls": 0.9935,
                "fouls_drawn": 0.9187,
                "blocks": 0.1285,
                "goal_rate": 0.3069,
                "goals": 0,
                "assist_rate": 0.0747,
                "assists": 0,
                "expected_goals": 0.0548,
                "expected_assists": 0.1897,
                "shots_on_target": 0.5315,
                "big_chances_created": 0.2839,
                "xgot": 0.1193,
                "ball_carries": 19.3064,
                "total_progression": 95.2404,
                "progressive_carries": 3.9397,
                "key_pass": 1.0314,
                "shots_off_target": 0.2374,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.439,
                "opponent_faced": "Federico Valverde",
                "pressing_zone": "Right Wingback vs Left Back — Overlapping Run",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "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.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": 472,
                "fifa_rank": 320.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": 0.8278,
                "tackles": 1.7097,
                "tackles_won": 1.1475,
                "clearances": 1.9593,
                "aerial_won": 0.7116,
                "total_shots": 0.7749,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3326,
                "accurate_pass": 41.4645,
                "duels_won": 4.8474,
                "total_long_balls": 2.8623,
                "accurate_long_balls": 1.7616,
                "total_own_half_passes": 18.8264,
                "accurate_own_half_passes": 17.2971,
                "total_opp_half_passes": 28.5061,
                "accurate_opp_half_passes": 24.1674,
                "crosses_total": 2.417,
                "crosses_accurate": 0.4874,
                "touches": 66.6765,
                "possession_lost": 12.0323,
                "dispossessed": 0.4567,
                "duels_lost": 4.8627,
                "aerial_lost": 0.5545,
                "total_contest": 2.6551,
                "won_contest": 1.2343,
                "ball_recovery": 4.1213,
                "challenges_lost": 1.4348,
                "fouls": 0.9935,
                "fouls_drawn": 0.9187,
                "blocks": 0.1285,
                "goal_rate": 0.3069,
                "goals": 0,
                "assist_rate": 0.0747,
                "assists": 0,
                "expected_goals": 0.0548,
                "expected_assists": 0.1897,
                "shots_on_target": 0.5315,
                "big_chances_created": 0.2839,
                "xgot": 0.1193,
                "ball_carries": 19.3064,
                "total_progression": 95.2404,
                "progressive_carries": 3.9397,
                "key_pass": 1.0314,
                "shots_off_target": 0.2374,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.439,
                "opponent_faced": "Federico Valverde",
                "pressing_zone": "Right Wingback vs Left Back — Overlapping Run",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0533,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0533,
                "goal_rate": 0.3069,
                "scorer_weight": 0.0685,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0237,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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": 0.8278,
                "tackles": 1.7097,
                "tackles_won": 1.1475,
                "clearances": 1.9593,
                "aerial_won": 0.7116,
                "total_shots": 0.7749,
                "rating": 6.8702,
                "minutes": 83.26,
                "total_pass": 47.3326,
                "accurate_pass": 41.4645,
                "duels_won": 4.8474,
                "total_long_balls": 2.8623,
                "accurate_long_balls": 1.7616,
                "total_own_half_passes": 18.8264,
                "accurate_own_half_passes": 17.2971,
                "total_opp_half_passes": 28.5061,
                "accurate_opp_half_passes": 24.1674,
                "crosses_total": 2.417,
                "crosses_accurate": 0.4874,
                "touches": 66.6765,
                "possession_lost": 12.0323,
                "dispossessed": 0.4567,
                "duels_lost": 4.8627,
                "aerial_lost": 0.5545,
                "total_contest": 2.6551,
                "won_contest": 1.2343,
                "ball_recovery": 4.1213,
                "challenges_lost": 1.4348,
                "fouls": 0.9935,
                "fouls_drawn": 0.9187,
                "blocks": 0.1285,
                "goal_rate": 0.3069,
                "goals": 0,
                "assist_rate": 0.0747,
                "assists": 0,
                "expected_goals": 0.0548,
                "expected_assists": 0.1897,
                "shots_on_target": 0.5315,
                "big_chances_created": 0.2839,
                "xgot": 0.1193,
                "ball_carries": 19.3064,
                "total_progression": 95.2404,
                "progressive_carries": 3.9397,
                "key_pass": 1.0314,
                "shots_off_target": 0.2374,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.439,
                "opponent_faced": "Federico Valverde",
                "pressing_zone": "Right Wingback vs Left Back — Overlapping Run",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0533,
                "projected_assists": 0,
                "assist_probability": 0.1728,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1728,
                "assist_rate": 0.0747,
                "provider_weight": 0.1518,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0804,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Gerard Martín": {
          "player_id": 1094827,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 18,
          "height": 186,
          "market_value": 36000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 7.1254,
            "minutes": 82,
            "total_pass": 77,
            "accurate_pass": 72,
            "duels_won": 3,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 44,
            "accurate_own_half_passes": 42,
            "total_opp_half_passes": 33,
            "accurate_opp_half_passes": 30,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 88,
            "possession_lost": 5.646,
            "dispossessed": 0.0596,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0166,
            "expected_assists": 0.0285,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0206,
            "ball_carries": 28,
            "total_progression": 93,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.801,
            "opponent_faced": "Kylian Mbappé",
            "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.0165,
            "projected_assists": 0,
            "assist_probability": 0.0281,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0129,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 44,
                "clearances": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2401,
                "total_shots": 0,
                "total_pass": 100,
                "accurate_pass": 88,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 31,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0074,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 38,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 3,
                "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"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.026,
                "total_shots": 0,
                "total_pass": 69,
                "accurate_pass": 66,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 2,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0056,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 43,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0294,
                "total_shots": 0,
                "total_pass": 89,
                "accurate_pass": 82,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1036,
                "expected_assists": 0.0267,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 95,
                "accurate_pass": 93,
                "interceptions": 2,
                "clearances": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 56,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 12,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0494,
                "total_shots": 0,
                "total_pass": 104,
                "accurate_pass": 96,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 9,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0265,
                "expected_assists": 0.0174,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 89,
                "accurate_pass": 83,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1191,
            "combined_rank_score": 525.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 108.0,
            "sofascore_rating": 7.45,
            "sofascore_appearances": 2.0,
            "fifa_rank": 942.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1254,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gerard Martín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Diego Rubio",
                  "ranking": 1186
                },
                {
                  "player_name": "Ismaïla Sarr",
                  "ranking": 1187
                },
                {
                  "player_name": "Kevin Danso",
                  "ranking": 1188
                },
                {
                  "player_name": "Folarin Balogun",
                  "ranking": 1189
                },
                {
                  "player_name": "Jonathan David",
                  "ranking": 1190
                }
              ],
              "lower": [
                {
                  "player_name": "Keelan Lebon",
                  "ranking": 1192
                },
                {
                  "player_name": "Sukhrob Nurullaev",
                  "ranking": 1193
                },
                {
                  "player_name": "Ayyoub Bouaddi",
                  "ranking": 1194
                },
                {
                  "player_name": "Choi Hee-won",
                  "ranking": 1195
                },
                {
                  "player_name": "Murodbek Rahmatov",
                  "ranking": 1196
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 38,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 38,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0088,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.5,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 38 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0953,
                "tackles": 1.1692,
                "tackles_won": 0.6739,
                "clearances": 4.972,
                "aerial_won": 1.7233,
                "total_shots": 0.3515,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.2281,
                "accurate_pass": 71.3603,
                "duels_won": 2.5279,
                "total_long_balls": 3.6479,
                "accurate_long_balls": 1.5695,
                "total_own_half_passes": 43.9748,
                "accurate_own_half_passes": 42.0976,
                "total_opp_half_passes": 32.2533,
                "accurate_opp_half_passes": 29.2627,
                "crosses_total": 0.1564,
                "crosses_accurate": 0.0278,
                "touches": 87.5802,
                "possession_lost": 5.5967,
                "dispossessed": 0.0591,
                "duels_lost": 2.1059,
                "aerial_lost": 1.0488,
                "total_contest": 0.2143,
                "won_contest": 0.2085,
                "ball_recovery": 2.2508,
                "challenges_lost": 0.1965,
                "fouls": 0.8623,
                "fouls_drawn": 0.3705,
                "blocks": 0.4178,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0142,
                "expected_assists": 0.0227,
                "shots_on_target": 0.1257,
                "big_chances_created": 0.0012,
                "xgot": 0.0175,
                "ball_carries": 27.79,
                "total_progression": 92.0119,
                "progressive_carries": 0.6724,
                "key_pass": 0.0838,
                "shots_off_target": 0.2258
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1503,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.7161,
                  "aerialWon": 1.4833,
                  "totalClearance_p90": 6.1561,
                  "totalTackle": 0.876,
                  "totalPass": 70.5622
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0952963829040527,
                    "model_output": 1.0953,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1145
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0546
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0291
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0297
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0221
                        }
                      ],
                      "others": -0.012,
                      "total": 1.0953,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125351
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.05462
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.027999
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.027759
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.020138
                        }
                      ],
                      "others_margin": -0.010843
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1691994667053223,
                    "model_output": 1.1692,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1623
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0758
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0591
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0537
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0439
                        }
                      ],
                      "others": -0.1545,
                      "total": 1.1692,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.110162
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.049922
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.040763
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.038546
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.032628
                        }
                      ],
                      "others_margin": -0.124072
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6738506555557251,
                    "model_output": 0.6739,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0927
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.066
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0472
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0367
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0354
                        }
                      ],
                      "others": -0.1587,
                      "total": 0.6739,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.103048
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.072227
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.055017
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.045036
                        },
                        {
                          "name": "rating",
                          "margin": 0.043463
                        }
                      ],
                      "others_margin": -0.211564
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.972015857696533,
                    "model_output": 4.972,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.4694
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4987
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3255
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1191
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.121
                        }
                      ],
                      "others": -0.0131,
                      "total": 4.972,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.127511
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.11972
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.071076
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.024791
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.024573
                        }
                      ],
                      "others_margin": -0.00263
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.723303198814392,
                    "model_output": 1.7233,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1339
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0994
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0879
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0693
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0492
                        }
                      ],
                      "others": 0.1758,
                      "total": 1.7233,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.092461
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.06349
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.055957
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.044393
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.031279
                        }
                      ],
                      "others_margin": 0.107581
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.35145074129104614,
                    "model_output": 0.3515,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1016
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.038
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0326
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0177
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0129
                        }
                      ],
                      "others": -0.058,
                      "total": 0.3515,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.101623
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.038033
                        },
                        {
                          "name": "rating",
                          "margin": 0.032564
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.017738
                        },
                        {
                          "name": "touches",
                          "margin": -0.01292
                        }
                      ],
                      "others_margin": -0.057996
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.1253981590271,
                    "model_output": 7.1254,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0782
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0612
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0518
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0349
                        },
                        {
                          "name": "rating",
                          "contribution": 0.024
                        }
                      ],
                      "others": 0.0902,
                      "total": 7.1254,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.078225
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.061231
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.051783
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.034889
                        },
                        {
                          "name": "rating",
                          "margin": 0.023981
                        }
                      ],
                      "others_margin": 0.090157
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 31,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0088, quality 0.758)",
              "stats": {
                "interceptions": 1.1049,
                "tackles": 1.1795,
                "tackles_won": 0.6798,
                "clearances": 5.0158,
                "aerial_won": 1.7385,
                "total_shots": 0.3546,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.8989,
                "accurate_pass": 71.9883,
                "duels_won": 2.5501,
                "total_long_balls": 3.68,
                "accurate_long_balls": 1.5833,
                "total_own_half_passes": 44.3618,
                "accurate_own_half_passes": 42.4681,
                "total_opp_half_passes": 32.5371,
                "accurate_opp_half_passes": 29.5202,
                "crosses_total": 0.1578,
                "crosses_accurate": 0.028,
                "touches": 88.3509,
                "possession_lost": 5.646,
                "dispossessed": 0.0596,
                "duels_lost": 2.1244,
                "aerial_lost": 1.058,
                "total_contest": 0.2162,
                "won_contest": 0.2103,
                "ball_recovery": 2.2706,
                "challenges_lost": 0.1982,
                "fouls": 0.8699,
                "fouls_drawn": 0.3738,
                "blocks": 0.4215,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0143,
                "expected_assists": 0.0229,
                "shots_on_target": 0.1268,
                "big_chances_created": 0.0012,
                "xgot": 0.0177,
                "ball_carries": 28.0346,
                "total_progression": 92.8216,
                "progressive_carries": 0.6783,
                "key_pass": 0.0845,
                "shots_off_target": 0.2278
              },
              "params": {
                "market_value_eur": 36000000,
                "quality_factor": 0.7581,
                "boost_factor": 1.0088,
                "reference_quality": 0.505,
                "history_matches": 38,
                "history_shrink": 0.1163,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0101)",
              "stats": {
                "interceptions": 1.1076,
                "tackles": 1.1795,
                "tackles_won": 0.6776,
                "clearances": 5.0158,
                "aerial_won": 1.7385,
                "total_shots": 0.3556,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.8989,
                "accurate_pass": 71.9883,
                "duels_won": 2.5501,
                "total_long_balls": 3.68,
                "accurate_long_balls": 1.5833,
                "total_own_half_passes": 44.3618,
                "accurate_own_half_passes": 42.4681,
                "total_opp_half_passes": 32.5371,
                "accurate_opp_half_passes": 29.5202,
                "crosses_total": 0.1562,
                "crosses_accurate": 0.028,
                "touches": 88.3509,
                "possession_lost": 5.646,
                "dispossessed": 0.0596,
                "duels_lost": 2.1244,
                "aerial_lost": 1.058,
                "total_contest": 0.2162,
                "won_contest": 0.2103,
                "ball_recovery": 2.2706,
                "challenges_lost": 0.1982,
                "fouls": 0.8658,
                "fouls_drawn": 0.3746,
                "blocks": 0.4215,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0143,
                "expected_assists": 0.0229,
                "shots_on_target": 0.1255,
                "big_chances_created": 0.0012,
                "xgot": 0.0177,
                "ball_carries": 28.0346,
                "total_progression": 92.8216,
                "progressive_carries": 0.6783,
                "key_pass": 0.0845,
                "shots_off_target": 0.2278
              },
              "params": {
                "blend_weight": 0.0101,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9162,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Barcelona"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1076,
                "tackles": 1.1795,
                "tackles_won": 0.6776,
                "clearances": 5.0158,
                "aerial_won": 1.7385,
                "total_shots": 0.3556,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.8989,
                "accurate_pass": 71.9883,
                "duels_won": 2.5501,
                "total_long_balls": 3.68,
                "accurate_long_balls": 1.5833,
                "total_own_half_passes": 44.3618,
                "accurate_own_half_passes": 42.4681,
                "total_opp_half_passes": 32.5371,
                "accurate_opp_half_passes": 29.5202,
                "crosses_total": 0.1562,
                "crosses_accurate": 0.028,
                "touches": 88.3509,
                "possession_lost": 5.646,
                "dispossessed": 0.0596,
                "duels_lost": 2.1244,
                "aerial_lost": 1.058,
                "total_contest": 0.2162,
                "won_contest": 0.2103,
                "ball_recovery": 2.2706,
                "challenges_lost": 0.1982,
                "fouls": 0.8658,
                "fouls_drawn": 0.3746,
                "blocks": 0.4215,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0143,
                "expected_assists": 0.0229,
                "shots_on_target": 0.1255,
                "big_chances_created": 0.0012,
                "xgot": 0.0177,
                "ball_carries": 28.0346,
                "total_progression": 92.8216,
                "progressive_carries": 0.6783,
                "key_pass": 0.0845,
                "shots_off_target": 0.2278
              },
              "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.1076,
                "tackles": 1.1795,
                "tackles_won": 0.6776,
                "clearances": 5.0158,
                "aerial_won": 1.7385,
                "total_shots": 0.3556,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.8989,
                "accurate_pass": 71.9883,
                "duels_won": 2.5501,
                "total_long_balls": 3.68,
                "accurate_long_balls": 1.5833,
                "total_own_half_passes": 44.3618,
                "accurate_own_half_passes": 42.4681,
                "total_opp_half_passes": 32.5371,
                "accurate_opp_half_passes": 29.5202,
                "crosses_total": 0.1562,
                "crosses_accurate": 0.028,
                "touches": 88.3509,
                "possession_lost": 5.646,
                "dispossessed": 0.0596,
                "duels_lost": 2.1244,
                "aerial_lost": 1.058,
                "total_contest": 0.2162,
                "won_contest": 0.2103,
                "ball_recovery": 2.2706,
                "challenges_lost": 0.1982,
                "fouls": 0.8658,
                "fouls_drawn": 0.3746,
                "blocks": 0.4215,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0143,
                "expected_assists": 0.0229,
                "shots_on_target": 0.1255,
                "big_chances_created": 0.0012,
                "xgot": 0.0177,
                "ball_carries": 28.0346,
                "total_progression": 92.8216,
                "progressive_carries": 0.6783,
                "key_pass": 0.0845,
                "shots_off_target": 0.2278,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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": "Kylian Mbappé",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1076,
                "tackles": 1.1795,
                "tackles_won": 0.6776,
                "clearances": 5.0158,
                "aerial_won": 1.7385,
                "total_shots": 0.3556,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.8989,
                "accurate_pass": 71.9883,
                "duels_won": 2.5501,
                "total_long_balls": 3.68,
                "accurate_long_balls": 1.5833,
                "total_own_half_passes": 44.3618,
                "accurate_own_half_passes": 42.4681,
                "total_opp_half_passes": 32.5371,
                "accurate_opp_half_passes": 29.5202,
                "crosses_total": 0.1562,
                "crosses_accurate": 0.028,
                "touches": 88.3509,
                "possession_lost": 5.646,
                "dispossessed": 0.0596,
                "duels_lost": 2.1244,
                "aerial_lost": 1.058,
                "total_contest": 0.2162,
                "won_contest": 0.2103,
                "ball_recovery": 2.2706,
                "challenges_lost": 0.1982,
                "fouls": 0.8658,
                "fouls_drawn": 0.3746,
                "blocks": 0.4215,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0143,
                "expected_assists": 0.0229,
                "shots_on_target": 0.1255,
                "big_chances_created": 0.0012,
                "xgot": 0.0177,
                "ball_carries": 28.0346,
                "total_progression": 92.8216,
                "progressive_carries": 0.6783,
                "key_pass": 0.0845,
                "shots_off_target": 0.2278,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.1076,
                "tackles": 1.1795,
                "tackles_won": 0.6776,
                "clearances": 5.0158,
                "aerial_won": 1.7385,
                "total_shots": 0.3556,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.8989,
                "accurate_pass": 71.9883,
                "duels_won": 2.5501,
                "total_long_balls": 3.68,
                "accurate_long_balls": 1.5833,
                "total_own_half_passes": 44.3618,
                "accurate_own_half_passes": 42.4681,
                "total_opp_half_passes": 32.5371,
                "accurate_opp_half_passes": 29.5202,
                "crosses_total": 0.1562,
                "crosses_accurate": 0.028,
                "touches": 88.3509,
                "possession_lost": 5.646,
                "dispossessed": 0.0596,
                "duels_lost": 2.1244,
                "aerial_lost": 1.058,
                "total_contest": 0.2162,
                "won_contest": 0.2103,
                "ball_recovery": 2.2706,
                "challenges_lost": 0.1982,
                "fouls": 0.8658,
                "fouls_drawn": 0.3746,
                "blocks": 0.4215,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0166,
                "expected_assists": 0.0285,
                "shots_on_target": 0.1255,
                "big_chances_created": 0.0012,
                "xgot": 0.0206,
                "ball_carries": 28.0346,
                "total_progression": 92.8216,
                "progressive_carries": 0.6783,
                "key_pass": 0.0845,
                "shots_off_target": 0.2278,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0229,
                  "after": 0.0285
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1.1076,
                "tackles": 1.1795,
                "tackles_won": 0.6776,
                "clearances": 5.0158,
                "aerial_won": 1.7385,
                "total_shots": 0.3556,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.8989,
                "accurate_pass": 71.9883,
                "duels_won": 2.5501,
                "total_long_balls": 3.68,
                "accurate_long_balls": 1.5833,
                "total_own_half_passes": 44.3618,
                "accurate_own_half_passes": 42.4681,
                "total_opp_half_passes": 32.5371,
                "accurate_opp_half_passes": 29.5202,
                "crosses_total": 0.1562,
                "crosses_accurate": 0.028,
                "touches": 88.3509,
                "possession_lost": 5.646,
                "dispossessed": 0.0596,
                "duels_lost": 2.1244,
                "aerial_lost": 1.058,
                "total_contest": 0.2162,
                "won_contest": 0.2103,
                "ball_recovery": 2.2706,
                "challenges_lost": 0.1982,
                "fouls": 0.8658,
                "fouls_drawn": 0.3746,
                "blocks": 0.4215,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0166,
                "expected_assists": 0.0285,
                "shots_on_target": 0.1255,
                "big_chances_created": 0.0012,
                "xgot": 0.0206,
                "ball_carries": 28.0346,
                "total_progression": 92.8216,
                "progressive_carries": 0.6783,
                "key_pass": 0.0845,
                "shots_off_target": 0.2278,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1191,
                "fifa_rank": 942.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1076,
                "tackles": 1.1795,
                "tackles_won": 0.6776,
                "clearances": 5.0158,
                "aerial_won": 1.7385,
                "total_shots": 0.3556,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.8989,
                "accurate_pass": 71.9883,
                "duels_won": 2.5501,
                "total_long_balls": 3.68,
                "accurate_long_balls": 1.5833,
                "total_own_half_passes": 44.3618,
                "accurate_own_half_passes": 42.4681,
                "total_opp_half_passes": 32.5371,
                "accurate_opp_half_passes": 29.5202,
                "crosses_total": 0.1562,
                "crosses_accurate": 0.028,
                "touches": 88.3509,
                "possession_lost": 5.646,
                "dispossessed": 0.0596,
                "duels_lost": 2.1244,
                "aerial_lost": 1.058,
                "total_contest": 0.2162,
                "won_contest": 0.2103,
                "ball_recovery": 2.2706,
                "challenges_lost": 0.1982,
                "fouls": 0.8658,
                "fouls_drawn": 0.3746,
                "blocks": 0.4215,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0166,
                "expected_assists": 0.0285,
                "shots_on_target": 0.1255,
                "big_chances_created": 0.0012,
                "xgot": 0.0206,
                "ball_carries": 28.0346,
                "total_progression": 92.8216,
                "progressive_carries": 0.6783,
                "key_pass": 0.0845,
                "shots_off_target": 0.2278,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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.0165,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0165,
                "goal_rate": 0.0,
                "scorer_weight": 0.0133,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0046,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.1076,
                "tackles": 1.1795,
                "tackles_won": 0.6776,
                "clearances": 5.0158,
                "aerial_won": 1.7385,
                "total_shots": 0.3556,
                "rating": 7.1254,
                "minutes": 82.46,
                "total_pass": 76.8989,
                "accurate_pass": 71.9883,
                "duels_won": 2.5501,
                "total_long_balls": 3.68,
                "accurate_long_balls": 1.5833,
                "total_own_half_passes": 44.3618,
                "accurate_own_half_passes": 42.4681,
                "total_opp_half_passes": 32.5371,
                "accurate_opp_half_passes": 29.5202,
                "crosses_total": 0.1562,
                "crosses_accurate": 0.028,
                "touches": 88.3509,
                "possession_lost": 5.646,
                "dispossessed": 0.0596,
                "duels_lost": 2.1244,
                "aerial_lost": 1.058,
                "total_contest": 0.2162,
                "won_contest": 0.2103,
                "ball_recovery": 2.2706,
                "challenges_lost": 0.1982,
                "fouls": 0.8658,
                "fouls_drawn": 0.3746,
                "blocks": 0.4215,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0166,
                "expected_assists": 0.0285,
                "shots_on_target": 0.1255,
                "big_chances_created": 0.0012,
                "xgot": 0.0206,
                "ball_carries": 28.0346,
                "total_progression": 92.8216,
                "progressive_carries": 0.6783,
                "key_pass": 0.0845,
                "shots_off_target": 0.2278,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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.0165,
                "projected_assists": 0,
                "assist_probability": 0.0281,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0281,
                "assist_rate": 0.0,
                "provider_weight": 0.0228,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0121,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Pau Cubarsí": {
          "player_id": 1402913,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 184,
          "market_value": 94000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 3,
            "total_shots": 0,
            "rating": 7.2276,
            "minutes": 85,
            "total_pass": 95,
            "accurate_pass": 90,
            "duels_won": 4,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 57,
            "accurate_own_half_passes": 55,
            "total_opp_half_passes": 38,
            "accurate_opp_half_passes": 35,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 106,
            "possession_lost": 5.6882,
            "dispossessed": 0.0672,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0113,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0497,
            "expected_assists": 0.0251,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0056,
            "ball_carries": 33,
            "total_progression": 143,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.2,
            "tackles_won_in_zone": 1.1,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.801,
            "opponent_faced": "Kylian Mbappé",
            "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.0485,
            "projected_assists": 0,
            "assist_probability": 0.0248,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_assists": 0.6132,
                "total_shots": 0,
                "total_pass": 109,
                "accurate_pass": 106,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 5,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0145,
                "expected_assists": 0.0155,
                "total_shots": 1,
                "total_pass": 97,
                "accurate_pass": 90,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 5,
                "duels_won": 5,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 114,
                "accurate_pass": 109,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 5,
                "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"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0194,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 55,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0642,
                "expected_assists": 0.023,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 110,
                "accurate_pass": 100,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3941,
                "expected_assists": 0.0375,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 107,
                "accurate_pass": 102,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083603,
              "match_date": "2026-05-13",
              "home_team": "Deportivo Alavés",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.013,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 57,
                "tackles": 2,
                "tackles_won": 2,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 77,
                "accurate_pass": 75,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 7,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0214,
                "total_shots": 0,
                "total_pass": 82,
                "accurate_pass": 79,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 13,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083245,
              "match_date": "2026-04-25",
              "home_team": "Getafe",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0241,
                "total_shots": 0,
                "total_pass": 94,
                "accurate_pass": 90,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 12,
                "aerial_won": 7,
                "duels_won": 10,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 57,
            "combined_rank_score": 69.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 62.0,
            "sofascore_rating": 7.65,
            "sofascore_appearances": 2.0,
            "fifa_rank": 76.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2276,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pau Cubarsí",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matheus Frizzo",
                  "ranking": 52
                },
                {
                  "player_name": "Florian Wirtz",
                  "ranking": 53
                },
                {
                  "player_name": "Martín Zubimendi",
                  "ranking": 54
                },
                {
                  "player_name": "Luan Dias",
                  "ranking": 55
                },
                {
                  "player_name": "César Yanis",
                  "ranking": 56
                }
              ],
              "lower": [
                {
                  "player_name": "Declan Rice",
                  "ranking": 58
                },
                {
                  "player_name": "Frenkie de Jong",
                  "ranking": 59
                },
                {
                  "player_name": "Lucas Paquetá",
                  "ranking": 60
                },
                {
                  "player_name": "Rúben Dias",
                  "ranking": 61
                },
                {
                  "player_name": "Luis Díaz",
                  "ranking": 62
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 36,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 36,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0141,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 36 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1327,
                "tackles": 1.1845,
                "tackles_won": 0.7232,
                "clearances": 5.3427,
                "aerial_won": 2.6724,
                "total_shots": 0.4458,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 93.232,
                "accurate_pass": 88.4266,
                "duels_won": 4.3877,
                "total_long_balls": 4.7926,
                "accurate_long_balls": 2.6341,
                "total_own_half_passes": 55.9747,
                "accurate_own_half_passes": 53.9837,
                "total_opp_half_passes": 37.2573,
                "accurate_opp_half_passes": 34.4428,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.7195,
                "possession_lost": 5.6091,
                "dispossessed": 0.0663,
                "duels_lost": 2.2562,
                "aerial_lost": 1.3177,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0205,
                "challenges_lost": 0.2682,
                "fouls": 0.6189,
                "fouls_drawn": 0.2347,
                "blocks": 0.3428,
                "goals": 0.0112,
                "goal_rate": 0.0112,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0421,
                "expected_assists": 0.0199,
                "shots_on_target": 0.0207,
                "big_chances_created": 0.001,
                "xgot": 0.0047,
                "ball_carries": 32.8084,
                "total_progression": 141.1607,
                "progressive_carries": 1.2461,
                "key_pass": 0.035,
                "shots_off_target": 0.4251
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.2744,
                  "aerialWon": 2.7383,
                  "totalClearance_p90": 5.5457,
                  "totalTackle": 1.4137,
                  "totalPass": 93.232
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1327250003814697,
                    "model_output": 1.1327,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1131
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0637
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0311
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0296
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0252
                        }
                      ],
                      "others": 0.0127,
                      "total": 1.1327,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12397
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.063606
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.029639
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.027403
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.022738
                        }
                      ],
                      "others_margin": 0.01127
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1844525337219238,
                    "model_output": 1.1845,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1573
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.081
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0599
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0537
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0341
                        }
                      ],
                      "others": -0.2062,
                      "total": 1.1845,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.10692
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.053599
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.041571
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.038835
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.024791
                        }
                      ],
                      "others_margin": -0.160513
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7231614589691162,
                    "model_output": 0.7232,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0919
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0515
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.04
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0278
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0271
                        }
                      ],
                      "others": -0.1309,
                      "total": 0.7232,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.102187
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.055946
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.045753
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.033071
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.032272
                        }
                      ],
                      "others_margin": -0.166399
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.342736721038818,
                    "model_output": 5.3427,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.6851
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5121
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2663
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.2256
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1265
                        }
                      ],
                      "others": 0.0757,
                      "total": 5.3427,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.18107
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.116707
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.05571
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.04487
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.024306
                        }
                      ],
                      "others_margin": 0.014292
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.6723973751068115,
                    "model_output": 2.6724,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.6109
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2115
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1224
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.1095
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1071
                        }
                      ],
                      "others": 0.129,
                      "total": 2.6724,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.366038
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.100846
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.054054
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.045982
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.043007
                        }
                      ],
                      "others_margin": 0.049496
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4458285868167877,
                    "model_output": 0.4458,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0323
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0284
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0189
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0166
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0146
                        }
                      ],
                      "others": -0.0651,
                      "total": 0.4458,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.032335
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.028432
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01892
                        },
                        {
                          "name": "touches",
                          "margin": -0.016569
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.014647
                        }
                      ],
                      "others_margin": -0.065228
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.227633953094482,
                    "model_output": 7.2276,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.1001
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0894
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0526
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0382
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0265
                        }
                      ],
                      "others": 0.1357,
                      "total": 7.2276,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.100053
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.089433
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.052572
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.038199
                        },
                        {
                          "name": "rating",
                          "margin": 0.026503
                        }
                      ],
                      "others_margin": 0.13574
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 36,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0141, quality 0.891)",
              "stats": {
                "interceptions": 1.1487,
                "tackles": 1.2012,
                "tackles_won": 0.7334,
                "clearances": 5.4181,
                "aerial_won": 2.7101,
                "total_shots": 0.4521,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 94.5466,
                "accurate_pass": 89.6734,
                "duels_won": 4.4496,
                "total_long_balls": 4.8602,
                "accurate_long_balls": 2.6712,
                "total_own_half_passes": 56.7639,
                "accurate_own_half_passes": 54.7449,
                "total_opp_half_passes": 37.7826,
                "accurate_opp_half_passes": 34.9284,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 106.196,
                "possession_lost": 5.6882,
                "dispossessed": 0.0672,
                "duels_lost": 2.288,
                "aerial_lost": 1.3363,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0631,
                "challenges_lost": 0.272,
                "fouls": 0.6276,
                "fouls_drawn": 0.238,
                "blocks": 0.3476,
                "goals": 0.0114,
                "goal_rate": 0.0114,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0427,
                "expected_assists": 0.0202,
                "shots_on_target": 0.021,
                "big_chances_created": 0.001,
                "xgot": 0.0048,
                "ball_carries": 33.271,
                "total_progression": 143.1511,
                "progressive_carries": 1.2637,
                "key_pass": 0.0355,
                "shots_off_target": 0.4311
              },
              "params": {
                "market_value_eur": 94000000,
                "quality_factor": 0.891,
                "boost_factor": 1.0141,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0106)",
              "stats": {
                "interceptions": 1.1416,
                "tackles": 1.2012,
                "tackles_won": 0.7407,
                "clearances": 5.4181,
                "aerial_won": 2.7101,
                "total_shots": 0.4573,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 94.5466,
                "accurate_pass": 89.6734,
                "duels_won": 4.4496,
                "total_long_balls": 4.8602,
                "accurate_long_balls": 2.6712,
                "total_own_half_passes": 56.7639,
                "accurate_own_half_passes": 54.7449,
                "total_opp_half_passes": 37.7826,
                "accurate_opp_half_passes": 34.9284,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 106.196,
                "possession_lost": 5.6882,
                "dispossessed": 0.0672,
                "duels_lost": 2.288,
                "aerial_lost": 1.3363,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0631,
                "challenges_lost": 0.272,
                "fouls": 0.626,
                "fouls_drawn": 0.2405,
                "blocks": 0.3476,
                "goals": 0.0113,
                "goal_rate": 0.0113,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0427,
                "expected_assists": 0.0202,
                "shots_on_target": 0.0208,
                "big_chances_created": 0.001,
                "xgot": 0.0048,
                "ball_carries": 33.271,
                "total_progression": 143.1511,
                "progressive_carries": 1.2637,
                "key_pass": 0.0355,
                "shots_off_target": 0.4311
              },
              "params": {
                "blend_weight": 0.0106,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9471,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7334,
                  "after": 0.7407
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1487,
                  "after": 1.1416
                },
                {
                  "stat": "totalShots",
                  "before": 0.4521,
                  "after": 0.4573
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1416,
                "tackles": 1.2012,
                "tackles_won": 0.7407,
                "clearances": 5.4181,
                "aerial_won": 2.7101,
                "total_shots": 0.4573,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 94.5466,
                "accurate_pass": 89.6734,
                "duels_won": 4.4496,
                "total_long_balls": 4.8602,
                "accurate_long_balls": 2.6712,
                "total_own_half_passes": 56.7639,
                "accurate_own_half_passes": 54.7449,
                "total_opp_half_passes": 37.7826,
                "accurate_opp_half_passes": 34.9284,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 106.196,
                "possession_lost": 5.6882,
                "dispossessed": 0.0672,
                "duels_lost": 2.288,
                "aerial_lost": 1.3363,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0631,
                "challenges_lost": 0.272,
                "fouls": 0.626,
                "fouls_drawn": 0.2405,
                "blocks": 0.3476,
                "goals": 0.0113,
                "goal_rate": 0.0113,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0427,
                "expected_assists": 0.0202,
                "shots_on_target": 0.0208,
                "big_chances_created": 0.001,
                "xgot": 0.0048,
                "ball_carries": 33.271,
                "total_progression": 143.1511,
                "progressive_carries": 1.2637,
                "key_pass": 0.0355,
                "shots_off_target": 0.4311
              },
              "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.1416,
                "tackles": 1.2012,
                "tackles_won": 0.7407,
                "clearances": 5.4181,
                "aerial_won": 2.7101,
                "total_shots": 0.4573,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 94.5466,
                "accurate_pass": 89.6734,
                "duels_won": 4.4496,
                "total_long_balls": 4.8602,
                "accurate_long_balls": 2.6712,
                "total_own_half_passes": 56.7639,
                "accurate_own_half_passes": 54.7449,
                "total_opp_half_passes": 37.7826,
                "accurate_opp_half_passes": 34.9284,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 106.196,
                "possession_lost": 5.6882,
                "dispossessed": 0.0672,
                "duels_lost": 2.288,
                "aerial_lost": 1.3363,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0631,
                "challenges_lost": 0.272,
                "fouls": 0.626,
                "fouls_drawn": 0.2405,
                "blocks": 0.3476,
                "goals": 0.0113,
                "goal_rate": 0.0113,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0427,
                "expected_assists": 0.0202,
                "shots_on_target": 0.0208,
                "big_chances_created": 0.001,
                "xgot": 0.0048,
                "ball_carries": 33.271,
                "total_progression": 143.1511,
                "progressive_carries": 1.2637,
                "key_pass": 0.0355,
                "shots_off_target": 0.4311,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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": "Kylian Mbappé",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1416,
                "tackles": 1.2012,
                "tackles_won": 0.7407,
                "clearances": 5.4181,
                "aerial_won": 2.7101,
                "total_shots": 0.4573,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 94.5466,
                "accurate_pass": 89.6734,
                "duels_won": 4.4496,
                "total_long_balls": 4.8602,
                "accurate_long_balls": 2.6712,
                "total_own_half_passes": 56.7639,
                "accurate_own_half_passes": 54.7449,
                "total_opp_half_passes": 37.7826,
                "accurate_opp_half_passes": 34.9284,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 106.196,
                "possession_lost": 5.6882,
                "dispossessed": 0.0672,
                "duels_lost": 2.288,
                "aerial_lost": 1.3363,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0631,
                "challenges_lost": 0.272,
                "fouls": 0.626,
                "fouls_drawn": 0.2405,
                "blocks": 0.3476,
                "goal_rate": 0.0113,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0427,
                "expected_assists": 0.0202,
                "shots_on_target": 0.0208,
                "big_chances_created": 0.001,
                "xgot": 0.0048,
                "ball_carries": 33.271,
                "total_progression": 143.1511,
                "progressive_carries": 1.2637,
                "key_pass": 0.0355,
                "shots_off_target": 0.4311,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.1416,
                "tackles": 1.2012,
                "tackles_won": 0.7407,
                "clearances": 5.4181,
                "aerial_won": 2.7101,
                "total_shots": 0.4573,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 94.5466,
                "accurate_pass": 89.6734,
                "duels_won": 4.4496,
                "total_long_balls": 4.8602,
                "accurate_long_balls": 2.6712,
                "total_own_half_passes": 56.7639,
                "accurate_own_half_passes": 54.7449,
                "total_opp_half_passes": 37.7826,
                "accurate_opp_half_passes": 34.9284,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 106.196,
                "possession_lost": 5.6882,
                "dispossessed": 0.0672,
                "duels_lost": 2.288,
                "aerial_lost": 1.3363,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0631,
                "challenges_lost": 0.272,
                "fouls": 0.626,
                "fouls_drawn": 0.2405,
                "blocks": 0.3476,
                "goal_rate": 0.0113,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0497,
                "expected_assists": 0.0251,
                "shots_on_target": 0.0208,
                "big_chances_created": 0.001,
                "xgot": 0.0056,
                "ball_carries": 33.271,
                "total_progression": 143.1511,
                "progressive_carries": 1.2637,
                "key_pass": 0.0355,
                "shots_off_target": 0.4311,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0427,
                  "after": 0.0497
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 86.0)",
              "stats": {
                "interceptions": 1.1416,
                "tackles": 1.2012,
                "tackles_won": 0.7407,
                "clearances": 5.4181,
                "aerial_won": 2.7101,
                "total_shots": 0.4573,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 94.5466,
                "accurate_pass": 89.6734,
                "duels_won": 4.4496,
                "total_long_balls": 4.8602,
                "accurate_long_balls": 2.6712,
                "total_own_half_passes": 56.7639,
                "accurate_own_half_passes": 54.7449,
                "total_opp_half_passes": 37.7826,
                "accurate_opp_half_passes": 34.9284,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 106.196,
                "possession_lost": 5.6882,
                "dispossessed": 0.0672,
                "duels_lost": 2.288,
                "aerial_lost": 1.3363,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0631,
                "challenges_lost": 0.272,
                "fouls": 0.626,
                "fouls_drawn": 0.2405,
                "blocks": 0.3476,
                "goal_rate": 0.0113,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0497,
                "expected_assists": 0.0251,
                "shots_on_target": 0.0208,
                "big_chances_created": 0.001,
                "xgot": 0.0056,
                "ball_carries": 33.271,
                "total_progression": 143.1511,
                "progressive_carries": 1.2637,
                "key_pass": 0.0355,
                "shots_off_target": 0.4311,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 86.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": 57,
                "fifa_rank": 76.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": {
                "interceptions": 1.1416,
                "tackles": 1.2012,
                "tackles_won": 0.7407,
                "clearances": 5.4181,
                "aerial_won": 2.7101,
                "total_shots": 0.4573,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 94.5466,
                "accurate_pass": 89.6734,
                "duels_won": 4.4496,
                "total_long_balls": 4.8602,
                "accurate_long_balls": 2.6712,
                "total_own_half_passes": 56.7639,
                "accurate_own_half_passes": 54.7449,
                "total_opp_half_passes": 37.7826,
                "accurate_opp_half_passes": 34.9284,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 106.196,
                "possession_lost": 5.6882,
                "dispossessed": 0.0672,
                "duels_lost": 2.288,
                "aerial_lost": 1.3363,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0631,
                "challenges_lost": 0.272,
                "fouls": 0.626,
                "fouls_drawn": 0.2405,
                "blocks": 0.3476,
                "goal_rate": 0.0113,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0497,
                "expected_assists": 0.0251,
                "shots_on_target": 0.0208,
                "big_chances_created": 0.001,
                "xgot": 0.0056,
                "ball_carries": 33.271,
                "total_progression": 143.1511,
                "progressive_carries": 1.2637,
                "key_pass": 0.0355,
                "shots_off_target": 0.4311,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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.0485,
                "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": 0,
                "goal_probability": 0.0485,
                "goal_rate": 0.0113,
                "scorer_weight": 0.0398,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0138,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.1416,
                "tackles": 1.2012,
                "tackles_won": 0.7407,
                "clearances": 5.4181,
                "aerial_won": 2.7101,
                "total_shots": 0.4573,
                "rating": 7.2276,
                "minutes": 85.24,
                "total_pass": 94.5466,
                "accurate_pass": 89.6734,
                "duels_won": 4.4496,
                "total_long_balls": 4.8602,
                "accurate_long_balls": 2.6712,
                "total_own_half_passes": 56.7639,
                "accurate_own_half_passes": 54.7449,
                "total_opp_half_passes": 37.7826,
                "accurate_opp_half_passes": 34.9284,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 106.196,
                "possession_lost": 5.6882,
                "dispossessed": 0.0672,
                "duels_lost": 2.288,
                "aerial_lost": 1.3363,
                "total_contest": 0.001,
                "won_contest": 0.001,
                "ball_recovery": 3.0631,
                "challenges_lost": 0.272,
                "fouls": 0.626,
                "fouls_drawn": 0.2405,
                "blocks": 0.3476,
                "goal_rate": 0.0113,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0497,
                "expected_assists": 0.0251,
                "shots_on_target": 0.0208,
                "big_chances_created": 0.001,
                "xgot": 0.0056,
                "ball_carries": 33.271,
                "total_progression": 143.1511,
                "progressive_carries": 1.2637,
                "key_pass": 0.0355,
                "shots_off_target": 0.4311,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.801,
                "opponent_faced": "Kylian Mbappé",
                "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.0485,
                "projected_assists": 0,
                "assist_probability": 0.0248,
                "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.0248,
                "assist_rate": 0.0,
                "provider_weight": 0.0201,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0106,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Joan García": {
          "player_id": 930267,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 193,
          "market_value": 46000000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0292,
            "rating": 7.0805,
            "minutes": 84,
            "total_pass": 24,
            "accurate_pass": 21,
            "total_long_balls": 5,
            "accurate_long_balls": 2,
            "touches": 35,
            "clearances": 1,
            "ball_recovery": 9,
            "high_claims": 1,
            "punches": 0.2448,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 1,
            "possession_lost": 3.0445,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 21,
            "gk_engine_opponent_lambda": 1.8402,
            "shots_faced": 14.5,
            "expected_saves": 3.55,
            "high_pressure_saves": 1.22,
            "opponent_faced": "Kylian Mbappé, Jude Bellingham",
            "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": 86.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 14,
                "clearances": 5,
                "ball_recovery": 8,
                "saves": 3,
                "goals_prevented": -0.1033
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 20,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 1,
                "goals_prevented": 0.2256
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "ball_recovery": 1,
                "goals_prevented": -0.6184
              },
              "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 19,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 4,
                "goals_prevented": 0.4648
              },
              "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "clearances": 3,
                "ball_recovery": 10,
                "saves": 2,
                "goals_prevented": 0.558
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "ball_recovery": 13,
                "saves": 3,
                "goals_prevented": 0.2351
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 30,
                "clearances": 2,
                "ball_recovery": 15
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "clearances": 1,
                "ball_recovery": 9,
                "saves": 2,
                "goals_prevented": 0.2641
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 27,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": 0.1397
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 3,
                "saves": 1,
                "goals_prevented": 0.0412
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 123,
            "combined_rank_score": 114.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 140.0,
            "sofascore_rating": 7.34,
            "sofascore_appearances": 30.0,
            "fifa_rank": 89.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0805,
            "source_file": "data/player_rankings.csv",
            "player_name": "Joan García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Adrián de la Fuente",
                  "ranking": 118
                },
                {
                  "player_name": "Jaylan Hankins",
                  "ranking": 119
                },
                {
                  "player_name": "Marquinhos",
                  "ranking": 120
                },
                {
                  "player_name": "Jan Oblak",
                  "ranking": 121
                },
                {
                  "player_name": "Morgan Rogers",
                  "ranking": 122
                }
              ],
              "lower": [
                {
                  "player_name": "Bruno Henrique",
                  "ranking": 124
                },
                {
                  "player_name": "Jung Seung-bae",
                  "ranking": 125
                },
                {
                  "player_name": "Alexander Badolato",
                  "ranking": 126
                },
                {
                  "player_name": "João Neves",
                  "ranking": 127
                },
                {
                  "player_name": "Davron Merganov",
                  "ranking": 128
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 36,
          "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",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0111,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "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 36 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, 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": 2.7055,
                "goals_prevented": -0.0289,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.0261,
                "accurate_pass": 21.0793,
                "total_long_balls": 5.1773,
                "accurate_long_balls": 2.4215,
                "touches": 34.222,
                "clearances": 1.3557,
                "ball_recovery": 8.5005,
                "high_claims": 0.975,
                "punches": 0.2421,
                "aerial_won": 0.1885,
                "sweeper_actions": 1.8262,
                "sweeper_accurate": 1.8262,
                "saves_inside_box": 1.3841,
                "possession_lost": 3.0111,
                "duels_won": 0.2806,
                "duels_lost": 0.1328,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1401,
                "total_own_half_passes": 21.7431,
                "accurate_own_half_passes": 20.5147
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-25T10:04:36.867499+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.7883,
                  "distribution_accuracy": 0.9401,
                  "sweeper_accuracy": 0.7604,
                  "goalkeeperValueNormalized": 0.2087,
                  "save_contribution": 2.0331,
                  "accurateKeeperSweeper": 1.8262
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.7054872512817383,
                    "model_output": 2.7055,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1088
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0763
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0636
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0425
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.039
                        }
                      ],
                      "others": 0.0291,
                      "total": 2.7055,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "totalLongBalls",
                          "margin": -0.037854
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.027421
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.023444
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.015991
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.014681
                        }
                      ],
                      "others_margin": 0.010774
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.028912298381328583,
                    "model_output": -0.0289,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0626
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0412
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0374
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0214
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0187
                        }
                      ],
                      "others": 0.001,
                      "total": -0.0289,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "pass_accuracy",
                          "margin": 0.062612
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.041234
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.037384
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.021363
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.018659
                        }
                      ],
                      "others_margin": 0.001002
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.080472946166992,
                    "model_output": 7.0805,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0408
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0346
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0299
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0232
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0197
                        }
                      ],
                      "others": -0.017,
                      "total": 7.0805,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.040811
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.034615
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.029859
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.023248
                        },
                        {
                          "name": "saves",
                          "margin": 0.019657
                        }
                      ],
                      "others_margin": -0.017122
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 36,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0111, quality 0.809)",
              "stats": {
                "saves": 2.7355,
                "goals_prevented": -0.0292,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.2928,
                "accurate_pass": 21.3133,
                "total_long_balls": 5.2348,
                "accurate_long_balls": 2.4484,
                "touches": 34.6019,
                "clearances": 1.3707,
                "ball_recovery": 8.5949,
                "high_claims": 0.9858,
                "punches": 0.2448,
                "aerial_won": 0.1906,
                "sweeper_actions": 1.8465,
                "sweeper_accurate": 1.8465,
                "saves_inside_box": 1.3995,
                "possession_lost": 3.0445,
                "duels_won": 0.2837,
                "duels_lost": 0.1343,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1417,
                "total_own_half_passes": 21.9844,
                "accurate_own_half_passes": 20.7424
              },
              "params": {
                "market_value_eur": 46000000,
                "quality_factor": 0.8089,
                "boost_factor": 1.0111,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0159)",
              "stats": {
                "saves": 2.7167,
                "goals_prevented": -0.0292,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.2928,
                "accurate_pass": 21.3133,
                "total_long_balls": 5.2348,
                "accurate_long_balls": 2.4484,
                "touches": 34.6019,
                "clearances": 1.3707,
                "ball_recovery": 8.5949,
                "high_claims": 0.9858,
                "punches": 0.2448,
                "aerial_won": 0.1906,
                "sweeper_actions": 1.8465,
                "sweeper_accurate": 1.8465,
                "saves_inside_box": 1.3995,
                "possession_lost": 3.0445,
                "duels_won": 0.2837,
                "duels_lost": 0.1343,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1395,
                "total_own_half_passes": 21.9844,
                "accurate_own_half_passes": 20.7424
              },
              "params": {
                "blend_weight": 0.0159,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9288,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.7355,
                  "after": 2.7167
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.7167,
                "goals_prevented": -0.0292,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.2928,
                "accurate_pass": 21.3133,
                "total_long_balls": 5.2348,
                "accurate_long_balls": 2.4484,
                "touches": 34.6019,
                "clearances": 1.3707,
                "ball_recovery": 8.5949,
                "high_claims": 0.9858,
                "punches": 0.2448,
                "aerial_won": 0.1906,
                "sweeper_actions": 1.8465,
                "sweeper_accurate": 1.8465,
                "saves_inside_box": 1.3995,
                "possession_lost": 3.0445,
                "duels_won": 0.2837,
                "duels_lost": 0.1343,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1395,
                "total_own_half_passes": 21.9844,
                "accurate_own_half_passes": 20.7424
              },
              "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": 2.7167,
                "goals_prevented": -0.0292,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.2928,
                "accurate_pass": 21.3133,
                "total_long_balls": 5.2348,
                "accurate_long_balls": 2.4484,
                "touches": 34.6019,
                "clearances": 1.3707,
                "ball_recovery": 8.5949,
                "high_claims": 0.9858,
                "punches": 0.2448,
                "aerial_won": 0.1906,
                "sweeper_actions": 1.8465,
                "sweeper_accurate": 1.8465,
                "saves_inside_box": 1.3995,
                "possession_lost": 3.0445,
                "duels_won": 0.2837,
                "duels_lost": 0.1343,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1395,
                "total_own_half_passes": 21.9844,
                "accurate_own_half_passes": 20.7424,
                "gk_engine_opponent_lambda": 1.8402,
                "shots_faced": 17.5,
                "expected_saves": 4.28,
                "high_pressure_saves": 1.47,
                "opponent_faced": "Kylian Mbappé, Jude Bellingham",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Kylian Mbappé, Jude Bellingham",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.8402
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.7167,
                "goals_prevented": -0.0292,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.2928,
                "accurate_pass": 21.3133,
                "total_long_balls": 5.2348,
                "accurate_long_balls": 2.4484,
                "touches": 34.6019,
                "clearances": 1.3707,
                "ball_recovery": 8.5949,
                "high_claims": 0.9858,
                "punches": 0.2448,
                "aerial_won": 0.1906,
                "sweeper_actions": 1.8465,
                "sweeper_accurate": 1.8465,
                "saves_inside_box": 1.3995,
                "possession_lost": 3.0445,
                "duels_won": 0.2837,
                "duels_lost": 0.1343,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1395,
                "total_own_half_passes": 21.9844,
                "accurate_own_half_passes": 20.7424,
                "gk_engine_opponent_lambda": 1.8402,
                "shots_faced": 17.5,
                "expected_saves": 4.28,
                "high_pressure_saves": 1.47,
                "opponent_faced": "Kylian Mbappé, Jude Bellingham",
                "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
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "saves": 2.7167,
                "goals_prevented": -0.0292,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.2928,
                "accurate_pass": 21.3133,
                "total_long_balls": 5.2348,
                "accurate_long_balls": 2.4484,
                "touches": 34.6019,
                "clearances": 1.3707,
                "ball_recovery": 8.5949,
                "high_claims": 0.9858,
                "punches": 0.2448,
                "aerial_won": 0.1906,
                "sweeper_actions": 1.8465,
                "sweeper_accurate": 1.8465,
                "saves_inside_box": 1.3995,
                "possession_lost": 3.0445,
                "duels_won": 0.2837,
                "duels_lost": 0.1343,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1395,
                "total_own_half_passes": 21.9844,
                "accurate_own_half_passes": 20.7424,
                "gk_engine_opponent_lambda": 1.8402,
                "shots_faced": 14.5,
                "expected_saves": 3.55,
                "high_pressure_saves": 1.22,
                "opponent_faced": "Kylian Mbappé, Jude Bellingham",
                "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": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 17.5,
                  "after": 14.5
                },
                {
                  "stat": "expected_saves",
                  "before": 4.28,
                  "after": 3.55
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.47,
                  "after": 1.22
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 86.0)",
              "stats": {
                "saves": 2.7167,
                "goals_prevented": -0.0292,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.2928,
                "accurate_pass": 21.3133,
                "total_long_balls": 5.2348,
                "accurate_long_balls": 2.4484,
                "touches": 34.6019,
                "clearances": 1.3707,
                "ball_recovery": 8.5949,
                "high_claims": 0.9858,
                "punches": 0.2448,
                "aerial_won": 0.1906,
                "sweeper_actions": 1.8465,
                "sweeper_accurate": 1.8465,
                "saves_inside_box": 1.3995,
                "possession_lost": 3.0445,
                "duels_won": 0.2837,
                "duels_lost": 0.1343,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1395,
                "total_own_half_passes": 21.9844,
                "accurate_own_half_passes": 20.7424,
                "gk_engine_opponent_lambda": 1.8402,
                "shots_faced": 14.5,
                "expected_saves": 3.55,
                "high_pressure_saves": 1.22,
                "opponent_faced": "Kylian Mbappé, Jude Bellingham",
                "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": 86.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": 123,
                "fifa_rank": 89.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": {
                "saves": 2.7167,
                "goals_prevented": -0.0292,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.2928,
                "accurate_pass": 21.3133,
                "total_long_balls": 5.2348,
                "accurate_long_balls": 2.4484,
                "touches": 34.6019,
                "clearances": 1.3707,
                "ball_recovery": 8.5949,
                "high_claims": 0.9858,
                "punches": 0.2448,
                "aerial_won": 0.1906,
                "sweeper_actions": 1.8465,
                "sweeper_accurate": 1.8465,
                "saves_inside_box": 1.3995,
                "possession_lost": 3.0445,
                "duels_won": 0.2837,
                "duels_lost": 0.1343,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1395,
                "total_own_half_passes": 21.9844,
                "accurate_own_half_passes": 20.7424,
                "gk_engine_opponent_lambda": 1.8402,
                "shots_faced": 14.5,
                "expected_saves": 3.55,
                "high_pressure_saves": 1.22,
                "opponent_faced": "Kylian Mbappé, Jude Bellingham",
                "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": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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": 2.7167,
                "goals_prevented": -0.0292,
                "rating": 7.0805,
                "minutes": 83.59,
                "total_pass": 24.2928,
                "accurate_pass": 21.3133,
                "total_long_balls": 5.2348,
                "accurate_long_balls": 2.4484,
                "touches": 34.6019,
                "clearances": 1.3707,
                "ball_recovery": 8.5949,
                "high_claims": 0.9858,
                "punches": 0.2448,
                "aerial_won": 0.1906,
                "sweeper_actions": 1.8465,
                "sweeper_accurate": 1.8465,
                "saves_inside_box": 1.3995,
                "possession_lost": 3.0445,
                "duels_won": 0.2837,
                "duels_lost": 0.1343,
                "total_contest": 0.0011,
                "won_contest": 0.0011,
                "fouls": 0.0,
                "fouls_drawn": 0.1395,
                "total_own_half_passes": 21.9844,
                "accurate_own_half_passes": 20.7424,
                "gk_engine_opponent_lambda": 1.8402,
                "shots_faced": 14.5,
                "expected_saves": 3.55,
                "high_pressure_saves": 1.22,
                "opponent_faced": "Kylian Mbappé, Jude Bellingham",
                "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": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Xavi Espart": {
          "player_id": 1546073,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 175,
          "market_value": 26000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.8639,
            "minutes": 88,
            "total_pass": 51,
            "accurate_pass": 44,
            "duels_won": 7,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 23,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 21,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 77,
            "possession_lost": 11.126,
            "dispossessed": 0.5042,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.2341,
            "goals": 0,
            "assist_rate": 0.3216,
            "assists": 0,
            "expected_goals": 0.0344,
            "expected_assists": 0.0857,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.1797,
            "ball_carries": 17,
            "total_progression": 64,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 1.7,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.525,
            "opponent_faced": "Eduardo Camavinga",
            "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
            "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0338,
            "projected_assists": 0,
            "assist_probability": 0.0821,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 67.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0964,
                "expected_assists": 0.0626,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 61,
                "accurate_pass": 55,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0522,
                "expected_assists": 0.1661,
                "total_shots": 2,
                "total_pass": 61,
                "accurate_pass": 58,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 80,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0517,
                "expected_assists": 0.0086,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 51,
                "accurate_pass": 47,
                "tackles": 6,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 9,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0227,
                "expected_assists": 0.0185,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 31,
                "tackles": 6,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 8,
                "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": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.019,
                "expected_assists": 0.1289,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 61,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 8
              },
              "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": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.058,
                "expected_assists": 0.2513,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 38,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0121,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 44,
                "key_pass": 1,
                "tackles": 6,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 3,
                "duels_won": 10,
                "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": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 45,
                "rating": 5.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0204,
                "expected_assists": 0.0087,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 43,
                "accurate_pass": 38,
                "tackles": 2,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083603,
              "match_date": "2026-05-13",
              "home_team": "Deportivo Alavés",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0153,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 27,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083662,
              "match_date": "2026-03-22",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0049,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 6552,
            "combined_rank_score": 4868.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 3.0,
            "fifa_rank": 9401.0,
            "fifa_overall": 67.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8639,
            "source_file": "data/player_rankings.csv",
            "player_name": "Xavi Espart",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Stanley Nsoki",
                  "ranking": 6547
                },
                {
                  "player_name": "Hong Hyun Seok",
                  "ranking": 6548
                },
                {
                  "player_name": "Łukasz Poręba",
                  "ranking": 6549
                },
                {
                  "player_name": "Tomáš Čvančara",
                  "ranking": 6550
                },
                {
                  "player_name": "Leonidas Stergiou",
                  "ranking": 6551
                }
              ],
              "lower": [
                {
                  "player_name": "Maximilian Rohr",
                  "ranking": 6553
                },
                {
                  "player_name": "Ransford-Yeboah Königsdörffer",
                  "ranking": 6554
                },
                {
                  "player_name": "William Bøving",
                  "ranking": 6555
                },
                {
                  "player_name": "Sander Tangvik",
                  "ranking": 6556
                },
                {
                  "player_name": "Manu Bueno",
                  "ranking": 6557
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 9,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 9,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0194,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.6666666666666666,
              "shots_per90": 0.67,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 9 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.20, gls/90: 0.0, ast/90: 0.6666666666666666)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9676,
                "tackles": 2.3831,
                "tackles_won": 1.3329,
                "clearances": 2.4766,
                "aerial_won": 0.9552,
                "total_shots": 0.6793,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 49.8908,
                "accurate_pass": 43.483,
                "duels_won": 7.1897,
                "total_long_balls": 2.8084,
                "accurate_long_balls": 1.0668,
                "total_own_half_passes": 24.4711,
                "accurate_own_half_passes": 22.4304,
                "total_opp_half_passes": 25.4198,
                "accurate_opp_half_passes": 21.0527,
                "crosses_total": 0.6438,
                "crosses_accurate": 0.1479,
                "touches": 75.3274,
                "possession_lost": 10.9143,
                "dispossessed": 0.4946,
                "duels_lost": 3.8614,
                "aerial_lost": 0.8075,
                "total_contest": 1.6656,
                "won_contest": 1.0662,
                "ball_recovery": 5.1882,
                "challenges_lost": 0.6113,
                "fouls": 1.5534,
                "fouls_drawn": 0.9762,
                "blocks": 0.0,
                "goals": 0.2408,
                "goal_rate": 0.2408,
                "assists": 0.2997,
                "assist_rate": 0.2997,
                "expected_goals": 0.029,
                "expected_assists": 0.0677,
                "shots_on_target": 0.3887,
                "big_chances_created": 0.4476,
                "xgot": 0.1516,
                "ball_carries": 16.6976,
                "total_progression": 62.5827,
                "progressive_carries": 1.3565,
                "key_pass": 0.6216,
                "shots_off_target": 0.2906
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1199,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0866,
                    "rating": 5.4
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0736,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Rayo Vallecano",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0626,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.5523,
                  "aerialWon": 1.02,
                  "totalClearance_p90": 2.8475,
                  "totalTackle": 3.3393,
                  "totalPass": 44.5546
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9675824046134949,
                    "model_output": 0.9676,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1077
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0644
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0526
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0318
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0226
                        }
                      ],
                      "others": 0.0,
                      "total": 0.9676,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118298
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.064591
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.052486
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.033119
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.023633
                        }
                      ],
                      "others_margin": 0.000128
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.3830718994140625,
                    "model_output": 2.3831,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2128
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1793
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1715
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1308
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.13
                        }
                      ],
                      "others": 0.1648,
                      "total": 2.3831,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.142054
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.105793
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.091696
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.064699
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.06037
                        }
                      ],
                      "others_margin": 0.071689
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.3328924179077148,
                    "model_output": 1.3329,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1211
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0715
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0704
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0556
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0478
                        }
                      ],
                      "others": 0.2077,
                      "total": 1.3329,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132521
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.070783
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.06508
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.048565
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.041613
                        }
                      ],
                      "others_margin": 0.169428
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.4766132831573486,
                    "model_output": 2.4766,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.4558
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4012
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2589
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1876
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0718
                        }
                      ],
                      "others": -0.4019,
                      "total": 2.4766,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.141625
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.125673
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.079269
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.061651
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.024651
                        }
                      ],
                      "others_margin": -0.150367
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9552373290061951,
                    "model_output": 0.9552,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.1891
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.153
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1131
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0614
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0485
                        }
                      ],
                      "others": -0.1677,
                      "total": 0.9552,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.147141
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120703
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.087792
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.051046
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.042282
                        }
                      ],
                      "others_margin": -0.161791
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.679295539855957,
                    "model_output": 0.6793,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0646
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0631
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0287
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0165
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0156
                        }
                      ],
                      "others": 0.0197,
                      "total": 0.6793,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.064551
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.063054
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.028745
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.016546
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.015634
                        }
                      ],
                      "others_margin": 0.019634
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.863891124725342,
                    "model_output": 6.8639,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0509
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.027
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.016
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0144
                        },
                        {
                          "name": "error_severity",
                          "contribution": 0.0119
                        }
                      ],
                      "others": -0.0094,
                      "total": 6.8639,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.050893
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.026957
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.015996
                        },
                        {
                          "name": "rating",
                          "margin": 0.014434
                        },
                        {
                          "name": "error_severity",
                          "margin": 0.011872
                        }
                      ],
                      "others_margin": -0.009399
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0194, quality 0.686)",
              "stats": {
                "interceptions": 0.9864,
                "tackles": 2.4293,
                "tackles_won": 1.3588,
                "clearances": 2.5247,
                "aerial_won": 0.9738,
                "total_shots": 0.6925,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 50.8587,
                "accurate_pass": 44.3266,
                "duels_won": 7.3292,
                "total_long_balls": 2.8629,
                "accurate_long_balls": 1.0875,
                "total_own_half_passes": 24.9458,
                "accurate_own_half_passes": 22.8655,
                "total_opp_half_passes": 25.9129,
                "accurate_opp_half_passes": 21.4611,
                "crosses_total": 0.6563,
                "crosses_accurate": 0.1508,
                "touches": 76.7888,
                "possession_lost": 11.126,
                "dispossessed": 0.5042,
                "duels_lost": 3.9363,
                "aerial_lost": 0.8232,
                "total_contest": 1.6979,
                "won_contest": 1.0869,
                "ball_recovery": 5.2889,
                "challenges_lost": 0.6232,
                "fouls": 1.5835,
                "fouls_drawn": 0.9951,
                "blocks": 0.0,
                "goals": 0.2455,
                "goal_rate": 0.2455,
                "assists": 0.3055,
                "assist_rate": 0.3055,
                "expected_goals": 0.0296,
                "expected_assists": 0.069,
                "shots_on_target": 0.3962,
                "big_chances_created": 0.4563,
                "xgot": 0.1545,
                "ball_carries": 17.0215,
                "total_progression": 63.7968,
                "progressive_carries": 1.3828,
                "key_pass": 0.6337,
                "shots_off_target": 0.2962
              },
              "params": {
                "market_value_eur": 26000000,
                "quality_factor": 0.6858,
                "boost_factor": 1.0194,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0464)",
              "stats": {
                "interceptions": 1.0164,
                "tackles": 2.4293,
                "tackles_won": 1.3564,
                "clearances": 2.5247,
                "aerial_won": 0.9738,
                "total_shots": 0.6908,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 50.8587,
                "accurate_pass": 44.3266,
                "duels_won": 7.3292,
                "total_long_balls": 2.8629,
                "accurate_long_balls": 1.0875,
                "total_own_half_passes": 24.9458,
                "accurate_own_half_passes": 22.8655,
                "total_opp_half_passes": 25.9129,
                "accurate_opp_half_passes": 21.4611,
                "crosses_total": 0.6865,
                "crosses_accurate": 0.1508,
                "touches": 76.7888,
                "possession_lost": 11.126,
                "dispossessed": 0.5042,
                "duels_lost": 3.9363,
                "aerial_lost": 0.8232,
                "total_contest": 1.6979,
                "won_contest": 1.0869,
                "ball_recovery": 5.2889,
                "challenges_lost": 0.6232,
                "fouls": 1.5555,
                "fouls_drawn": 0.9641,
                "blocks": 0.0,
                "goals": 0.2341,
                "goal_rate": 0.2341,
                "assists": 0.3216,
                "assist_rate": 0.3216,
                "expected_goals": 0.0296,
                "expected_assists": 0.069,
                "shots_on_target": 0.3928,
                "big_chances_created": 0.4563,
                "xgot": 0.1545,
                "ball_carries": 17.0215,
                "total_progression": 63.7968,
                "progressive_carries": 1.3828,
                "key_pass": 0.6337,
                "shots_off_target": 0.2962
              },
              "params": {
                "blend_weight": 0.0464,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9799,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.9951,
                  "after": 0.9641
                },
                {
                  "stat": "totalCross",
                  "before": 0.6563,
                  "after": 0.6865
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9864,
                  "after": 1.0164
                },
                {
                  "stat": "fouls",
                  "before": 1.5835,
                  "after": 1.5555
                },
                {
                  "stat": "goalAssist",
                  "before": 0.3055,
                  "after": 0.3216
                },
                {
                  "stat": "goals",
                  "before": 0.2455,
                  "after": 0.2341
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0164,
                "tackles": 2.4293,
                "tackles_won": 1.3564,
                "clearances": 2.5247,
                "aerial_won": 0.9738,
                "total_shots": 0.6908,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 50.8587,
                "accurate_pass": 44.3266,
                "duels_won": 7.3292,
                "total_long_balls": 2.8629,
                "accurate_long_balls": 1.0875,
                "total_own_half_passes": 24.9458,
                "accurate_own_half_passes": 22.8655,
                "total_opp_half_passes": 25.9129,
                "accurate_opp_half_passes": 21.4611,
                "crosses_total": 0.6865,
                "crosses_accurate": 0.1508,
                "touches": 76.7888,
                "possession_lost": 11.126,
                "dispossessed": 0.5042,
                "duels_lost": 3.9363,
                "aerial_lost": 0.8232,
                "total_contest": 1.6979,
                "won_contest": 1.0869,
                "ball_recovery": 5.2889,
                "challenges_lost": 0.6232,
                "fouls": 1.5555,
                "fouls_drawn": 0.9641,
                "blocks": 0.0,
                "goals": 0.2341,
                "goal_rate": 0.2341,
                "assists": 0.3216,
                "assist_rate": 0.3216,
                "expected_goals": 0.0296,
                "expected_assists": 0.069,
                "shots_on_target": 0.3928,
                "big_chances_created": 0.4563,
                "xgot": 0.1545,
                "ball_carries": 17.0215,
                "total_progression": 63.7968,
                "progressive_carries": 1.3828,
                "key_pass": 0.6337,
                "shots_off_target": 0.2962
              },
              "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.0164,
                "tackles": 2.4293,
                "tackles_won": 1.3564,
                "clearances": 2.5247,
                "aerial_won": 0.9738,
                "total_shots": 0.6908,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 50.8587,
                "accurate_pass": 44.3266,
                "duels_won": 7.3292,
                "total_long_balls": 2.8629,
                "accurate_long_balls": 1.0875,
                "total_own_half_passes": 24.9458,
                "accurate_own_half_passes": 22.8655,
                "total_opp_half_passes": 25.9129,
                "accurate_opp_half_passes": 21.4611,
                "crosses_total": 0.6865,
                "crosses_accurate": 0.1508,
                "touches": 76.7888,
                "possession_lost": 11.126,
                "dispossessed": 0.5042,
                "duels_lost": 3.9363,
                "aerial_lost": 0.8232,
                "total_contest": 1.6979,
                "won_contest": 1.0869,
                "ball_recovery": 5.2889,
                "challenges_lost": 0.6232,
                "fouls": 1.5555,
                "fouls_drawn": 0.9641,
                "blocks": 0.0,
                "goals": 0.2341,
                "goal_rate": 0.2341,
                "assists": 0.3216,
                "assist_rate": 0.3216,
                "expected_goals": 0.0296,
                "expected_assists": 0.069,
                "shots_on_target": 0.3928,
                "big_chances_created": 0.4563,
                "xgot": 0.1545,
                "ball_carries": 17.0215,
                "total_progression": 63.7968,
                "progressive_carries": 1.3828,
                "key_pass": 0.6337,
                "shots_off_target": 0.2962,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.525,
                "opponent_faced": "Eduardo Camavinga",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Eduardo Camavinga",
                  "matchup_zone": "Left Wingback vs Right Back — Overlapping Run"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0164,
                "tackles": 2.4293,
                "tackles_won": 1.3564,
                "clearances": 2.5247,
                "aerial_won": 0.9738,
                "total_shots": 0.6908,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 50.8587,
                "accurate_pass": 44.3266,
                "duels_won": 7.3292,
                "total_long_balls": 2.8629,
                "accurate_long_balls": 1.0875,
                "total_own_half_passes": 24.9458,
                "accurate_own_half_passes": 22.8655,
                "total_opp_half_passes": 25.9129,
                "accurate_opp_half_passes": 21.4611,
                "crosses_total": 0.6865,
                "crosses_accurate": 0.1508,
                "touches": 76.7888,
                "possession_lost": 11.126,
                "dispossessed": 0.5042,
                "duels_lost": 3.9363,
                "aerial_lost": 0.8232,
                "total_contest": 1.6979,
                "won_contest": 1.0869,
                "ball_recovery": 5.2889,
                "challenges_lost": 0.6232,
                "fouls": 1.5555,
                "fouls_drawn": 0.9641,
                "blocks": 0.0,
                "goal_rate": 0.2341,
                "goals": 0,
                "assist_rate": 0.3216,
                "assists": 0,
                "expected_goals": 0.0296,
                "expected_assists": 0.069,
                "shots_on_target": 0.3928,
                "big_chances_created": 0.4563,
                "xgot": 0.1545,
                "ball_carries": 17.0215,
                "total_progression": 63.7968,
                "progressive_carries": 1.3828,
                "key_pass": 0.6337,
                "shots_off_target": 0.2962,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.525,
                "opponent_faced": "Eduardo Camavinga",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.0164,
                "tackles": 2.4293,
                "tackles_won": 1.3564,
                "clearances": 2.5247,
                "aerial_won": 0.9738,
                "total_shots": 0.6908,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 50.8587,
                "accurate_pass": 44.3266,
                "duels_won": 7.3292,
                "total_long_balls": 2.8629,
                "accurate_long_balls": 1.0875,
                "total_own_half_passes": 24.9458,
                "accurate_own_half_passes": 22.8655,
                "total_opp_half_passes": 25.9129,
                "accurate_opp_half_passes": 21.4611,
                "crosses_total": 0.6865,
                "crosses_accurate": 0.1508,
                "touches": 76.7888,
                "possession_lost": 11.126,
                "dispossessed": 0.5042,
                "duels_lost": 3.9363,
                "aerial_lost": 0.8232,
                "total_contest": 1.6979,
                "won_contest": 1.0869,
                "ball_recovery": 5.2889,
                "challenges_lost": 0.6232,
                "fouls": 1.5555,
                "fouls_drawn": 0.9641,
                "blocks": 0.0,
                "goal_rate": 0.2341,
                "goals": 0,
                "assist_rate": 0.3216,
                "assists": 0,
                "expected_goals": 0.0344,
                "expected_assists": 0.0857,
                "shots_on_target": 0.3928,
                "big_chances_created": 0.4563,
                "xgot": 0.1797,
                "ball_carries": 17.0215,
                "total_progression": 63.7968,
                "progressive_carries": 1.3828,
                "key_pass": 0.6337,
                "shots_off_target": 0.2962,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.525,
                "opponent_faced": "Eduardo Camavinga",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "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.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.069,
                  "after": 0.0857
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 67.0)",
              "stats": {
                "interceptions": 1.0164,
                "tackles": 2.4293,
                "tackles_won": 1.3564,
                "clearances": 2.5247,
                "aerial_won": 0.9738,
                "total_shots": 0.6908,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 50.8587,
                "accurate_pass": 44.3266,
                "duels_won": 7.3292,
                "total_long_balls": 2.8629,
                "accurate_long_balls": 1.0875,
                "total_own_half_passes": 24.9458,
                "accurate_own_half_passes": 22.8655,
                "total_opp_half_passes": 25.9129,
                "accurate_opp_half_passes": 21.4611,
                "crosses_total": 0.6865,
                "crosses_accurate": 0.1508,
                "touches": 76.7888,
                "possession_lost": 11.126,
                "dispossessed": 0.5042,
                "duels_lost": 3.9363,
                "aerial_lost": 0.8232,
                "total_contest": 1.6979,
                "won_contest": 1.0869,
                "ball_recovery": 5.2889,
                "challenges_lost": 0.6232,
                "fouls": 1.5555,
                "fouls_drawn": 0.9641,
                "blocks": 0.0,
                "goal_rate": 0.2341,
                "goals": 0,
                "assist_rate": 0.3216,
                "assists": 0,
                "expected_goals": 0.0344,
                "expected_assists": 0.0857,
                "shots_on_target": 0.3928,
                "big_chances_created": 0.4563,
                "xgot": 0.1797,
                "ball_carries": 17.0215,
                "total_progression": 63.7968,
                "progressive_carries": 1.3828,
                "key_pass": 0.6337,
                "shots_off_target": 0.2962,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.525,
                "opponent_faced": "Eduardo Camavinga",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 67.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": 6552,
                "fifa_rank": 9401.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 67.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.0164,
                "tackles": 2.4293,
                "tackles_won": 1.3564,
                "clearances": 2.5247,
                "aerial_won": 0.9738,
                "total_shots": 0.6908,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 50.8587,
                "accurate_pass": 44.3266,
                "duels_won": 7.3292,
                "total_long_balls": 2.8629,
                "accurate_long_balls": 1.0875,
                "total_own_half_passes": 24.9458,
                "accurate_own_half_passes": 22.8655,
                "total_opp_half_passes": 25.9129,
                "accurate_opp_half_passes": 21.4611,
                "crosses_total": 0.6865,
                "crosses_accurate": 0.1508,
                "touches": 76.7888,
                "possession_lost": 11.126,
                "dispossessed": 0.5042,
                "duels_lost": 3.9363,
                "aerial_lost": 0.8232,
                "total_contest": 1.6979,
                "won_contest": 1.0869,
                "ball_recovery": 5.2889,
                "challenges_lost": 0.6232,
                "fouls": 1.5555,
                "fouls_drawn": 0.9641,
                "blocks": 0.0,
                "goal_rate": 0.2341,
                "goals": 0,
                "assist_rate": 0.3216,
                "assists": 0,
                "expected_goals": 0.0344,
                "expected_assists": 0.0857,
                "shots_on_target": 0.3928,
                "big_chances_created": 0.4563,
                "xgot": 0.1797,
                "ball_carries": 17.0215,
                "total_progression": 63.7968,
                "progressive_carries": 1.3828,
                "key_pass": 0.6337,
                "shots_off_target": 0.2962,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.525,
                "opponent_faced": "Eduardo Camavinga",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0338,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0338,
                "goal_rate": 0.2341,
                "scorer_weight": 0.043,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0149,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.0164,
                "tackles": 2.4293,
                "tackles_won": 1.3564,
                "clearances": 2.5247,
                "aerial_won": 0.9738,
                "total_shots": 0.6908,
                "rating": 6.8639,
                "minutes": 88.19,
                "total_pass": 50.8587,
                "accurate_pass": 44.3266,
                "duels_won": 7.3292,
                "total_long_balls": 2.8629,
                "accurate_long_balls": 1.0875,
                "total_own_half_passes": 24.9458,
                "accurate_own_half_passes": 22.8655,
                "total_opp_half_passes": 25.9129,
                "accurate_opp_half_passes": 21.4611,
                "crosses_total": 0.6865,
                "crosses_accurate": 0.1508,
                "touches": 76.7888,
                "possession_lost": 11.126,
                "dispossessed": 0.5042,
                "duels_lost": 3.9363,
                "aerial_lost": 0.8232,
                "total_contest": 1.6979,
                "won_contest": 1.0869,
                "ball_recovery": 5.2889,
                "challenges_lost": 0.6232,
                "fouls": 1.5555,
                "fouls_drawn": 0.9641,
                "blocks": 0.0,
                "goal_rate": 0.2341,
                "goals": 0,
                "assist_rate": 0.3216,
                "assists": 0,
                "expected_goals": 0.0344,
                "expected_assists": 0.0857,
                "shots_on_target": 0.3928,
                "big_chances_created": 0.4563,
                "xgot": 0.1797,
                "ball_carries": 17.0215,
                "total_progression": 63.7968,
                "progressive_carries": 1.3828,
                "key_pass": 0.6337,
                "shots_off_target": 0.2962,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.525,
                "opponent_faced": "Eduardo Camavinga",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0338,
                "projected_assists": 0,
                "assist_probability": 0.0821,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0821,
                "assist_rate": 0.3216,
                "provider_weight": 0.1071,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0568,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Dominik Livaković": {
          "player_id": 190419,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 186,
          "market_value": 4099999,
          "stats": {
            "saves": 0,
            "goals_prevented": -0.018,
            "rating": 7.1391,
            "minutes": 4,
            "total_pass": 3,
            "accurate_pass": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "touches": 4,
            "clearances": 0,
            "ball_recovery": 1,
            "high_claims": 0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.4617,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "bench_appearance_probability": 0.111,
            "bench_expected_minutes": 4.45,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "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": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 15,
                "clearances": 2,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": -0.1939
              },
              "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": 2016,
            "combined_rank_score": 769.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 274.0,
            "sofascore_rating": 7.0714,
            "sofascore_appearances": 7.0,
            "fifa_rank": 1264.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1391,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dominik Livaković",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ayoub El Kaabi",
                  "ranking": 2011
                },
                {
                  "player_name": "Viktor Tsygankov",
                  "ranking": 2012
                },
                {
                  "player_name": "Brennan Johnson",
                  "ranking": 2013
                },
                {
                  "player_name": "Dani Vivian",
                  "ranking": 2014
                },
                {
                  "player_name": "Joaquín Larrivey",
                  "ranking": 2015
                }
              ],
              "lower": [
                {
                  "player_name": "Alexander Nübel",
                  "ranking": 2017
                },
                {
                  "player_name": "Domingos Duarte",
                  "ranking": 2018
                },
                {
                  "player_name": "Davide Frattesi",
                  "ranking": 2019
                },
                {
                  "player_name": "Sebastian Szymański",
                  "ranking": 2020
                },
                {
                  "player_name": "Ibrokhim Ibrokhimov",
                  "ranking": 2021
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "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",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.446242177473513,
            "bench_appearance_prob": 0.11119282624879602,
            "market_value_adjustment": 0.9865,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost G_service (1 historical appearances) to 4.4 expected mins (appearance prob 0.11)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.794,
                "goals_prevented": -0.1168,
                "rating": 7.1391,
                "minutes": 28.5,
                "total_pass": 18.0,
                "accurate_pass": 15.0,
                "total_long_balls": 5.0,
                "accurate_long_balls": 2.0,
                "touches": 29.0,
                "clearances": 2.0,
                "ball_recovery": 8.0,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 2.0,
                "sweeper_accurate": 2.0,
                "saves_inside_box": 0.0,
                "possession_lost": 3.0,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0,
                "accurate_own_half_passes": 14.0
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-25T10:04:36.867499+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "sweeper_actions_p90": 2.0,
                  "distribution_accuracy": 0.9333,
                  "sweeper_accuracy": 1.0,
                  "goalkeeperValueNormalized": -0.57,
                  "save_contribution": 1.8061,
                  "accurateKeeperSweeper": 2.0
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.794041633605957,
                    "model_output": 2.794,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1584
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0688
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0651
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0615
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0584
                        }
                      ],
                      "others": 0.017,
                      "total": 2.794,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.05562
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.024522
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.023186
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.021917
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.020825
                        }
                      ],
                      "others_margin": 0.006144
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.11682944744825363,
                    "model_output": -0.1168,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0798
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0544
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0434
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0253
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.025
                        }
                      ],
                      "others": -0.0319,
                      "total": -0.1168,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.07983
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.054449
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.043353
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.025283
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.024989
                        }
                      ],
                      "others_margin": -0.031973
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.1390604972839355,
                    "model_output": 7.1391,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.1047
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0503
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0457
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0395
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": 0.0239
                        }
                      ],
                      "others": -0.0335,
                      "total": 7.1391,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.104724
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.050266
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.045742
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.039466
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": 0.023856
                        }
                      ],
                      "others_margin": -0.033583
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 1,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9865, quality 0.451)",
              "stats": {
                "saves": 2.7563,
                "goals_prevented": -0.1153,
                "rating": 7.1391,
                "minutes": 28.5,
                "total_pass": 17.757,
                "accurate_pass": 14.7975,
                "total_long_balls": 4.9325,
                "accurate_long_balls": 1.973,
                "touches": 28.6085,
                "clearances": 1.973,
                "ball_recovery": 7.892,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 1.973,
                "sweeper_accurate": 1.973,
                "saves_inside_box": 0.0,
                "possession_lost": 2.9595,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 14.7975,
                "accurate_own_half_passes": 13.811
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9865,
                "reference_quality": 0.505,
                "history_matches": 1,
                "history_shrink": 0.8333,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.43,
                "goals_prevented": -0.018,
                "rating": 7.1391,
                "minutes": 4.45,
                "total_pass": 2.7702,
                "accurate_pass": 2.3085,
                "total_long_balls": 0.7695,
                "accurate_long_balls": 0.3078,
                "touches": 4.4632,
                "clearances": 0.3078,
                "ball_recovery": 1.2312,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.3078,
                "sweeper_accurate": 0.3078,
                "saves_inside_box": 0.0,
                "possession_lost": 0.4617,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 2.3085,
                "accurate_own_half_passes": 2.1546,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45
              },
              "params": {
                "expected_minutes": 4.45,
                "projection_minutes": 28.5,
                "minutes_scale": 0.156,
                "appearance_probability": 0.111
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.43,
                "goals_prevented": -0.018,
                "rating": 7.1391,
                "minutes": 4.45,
                "total_pass": 2.7702,
                "accurate_pass": 2.3085,
                "total_long_balls": 0.7695,
                "accurate_long_balls": 0.3078,
                "touches": 4.4632,
                "clearances": 0.3078,
                "ball_recovery": 1.2312,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.3078,
                "sweeper_accurate": 0.3078,
                "saves_inside_box": 0.0,
                "possession_lost": 0.4617,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 2.3085,
                "accurate_own_half_passes": 2.1546,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.43,
                "goals_prevented": -0.018,
                "rating": 7.1391,
                "minutes": 4.45,
                "total_pass": 2.7702,
                "accurate_pass": 2.3085,
                "total_long_balls": 0.7695,
                "accurate_long_balls": 0.3078,
                "touches": 4.4632,
                "clearances": 0.3078,
                "ball_recovery": 1.2312,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.3078,
                "sweeper_accurate": 0.3078,
                "saves_inside_box": 0.0,
                "possession_lost": 0.4617,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 2.3085,
                "accurate_own_half_passes": 2.1546,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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
              },
              "params": {
                "appearance_probability": 0.111,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 78.0)",
              "stats": {
                "saves": 0.43,
                "goals_prevented": -0.018,
                "rating": 7.1391,
                "minutes": 4.45,
                "total_pass": 2.7702,
                "accurate_pass": 2.3085,
                "total_long_balls": 0.7695,
                "accurate_long_balls": 0.3078,
                "touches": 4.4632,
                "clearances": 0.3078,
                "ball_recovery": 1.2312,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.3078,
                "sweeper_accurate": 0.3078,
                "saves_inside_box": 0.0,
                "possession_lost": 0.4617,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 2.3085,
                "accurate_own_half_passes": 2.1546,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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": 78.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2016,
                "fifa_rank": 1264.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Jules Koundé": {
          "player_id": 827212,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 23,
          "height": 180,
          "market_value": 64000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.8989,
            "minutes": 13,
            "total_pass": 16,
            "accurate_pass": 15,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 1.6533,
            "dispossessed": 0.3012,
            "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.0022,
            "expected_assists": 0.0102,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 7,
            "total_progression": 34,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.508,
            "bench_expected_minutes": 12.91,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "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_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0176,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 61,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8137,
                "expected_assists": 0.0953,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 87,
                "accurate_pass": 82,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0401,
                "total_shots": 0,
                "total_pass": 78,
                "accurate_pass": 75,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0297,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 66,
                "key_pass": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 10,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 10,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0327,
                "expected_assists": 0.0134,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 66,
                "accurate_pass": 62,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083603,
              "match_date": "2026-05-13",
              "home_team": "Deportivo Alavés",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0991,
                "total_shots": 0,
                "total_pass": 85,
                "accurate_pass": 82,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083245,
              "match_date": "2026-04-25",
              "home_team": "Getafe",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 60,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0168,
                "expected_assists": 0.1141,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 62,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083261,
              "match_date": "2026-04-22",
              "home_team": "FC Barcelona",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0485,
                "total_shots": 0,
                "total_pass": 86,
                "accurate_pass": 82,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 540,
            "combined_rank_score": 301.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 444.0,
            "sofascore_rating": 6.9033,
            "sofascore_appearances": 30.0,
            "fifa_rank": 159.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8989,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jules Koundé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Evan Ndicka",
                  "ranking": 535
                },
                {
                  "player_name": "Gabriel Lima",
                  "ranking": 536
                },
                {
                  "player_name": "Eder Aller",
                  "ranking": 537
                },
                {
                  "player_name": "Rafael Leão",
                  "ranking": 538
                },
                {
                  "player_name": "Mattia Zaccagni",
                  "ranking": 539
                }
              ],
              "lower": [
                {
                  "player_name": "Rafa Romero",
                  "ranking": 541
                },
                {
                  "player_name": "Alisher Odilov",
                  "ranking": 542
                },
                {
                  "player_name": "Hyeok-chan Son",
                  "ranking": 543
                },
                {
                  "player_name": "Min-ho Yoon",
                  "ranking": 544
                },
                {
                  "player_name": "Akmal Muzaffarov",
                  "ranking": 545
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.762,
          "history_matches": 34,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 34,
            "data_confidence": 0.762,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 12.91,
            "bench_appearance_prob": 0.508,
            "market_value_adjustment": 1.0137,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 11.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "Bench projection scaled from XGBoost D_service (34 historical appearances) to 12.9 expected mins (appearance prob 0.51); FBref playing time empirical prior: 2.0 sub appearances, 11.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3011,
                "tackles": 0.5945,
                "tackles_won": 0.409,
                "clearances": 0.8297,
                "aerial_won": 0.3403,
                "total_shots": 0.1158,
                "rating": 6.8989,
                "minutes": 27.47,
                "total_pass": 32.9886,
                "accurate_pass": 30.8332,
                "duels_won": 1.8383,
                "total_long_balls": 1.0094,
                "accurate_long_balls": 0.8142,
                "total_own_half_passes": 12.2784,
                "accurate_own_half_passes": 12.0746,
                "total_opp_half_passes": 20.7102,
                "accurate_opp_half_passes": 18.7586,
                "crosses_total": 0.2844,
                "crosses_accurate": 0.0,
                "touches": 38.9367,
                "possession_lost": 3.4705,
                "dispossessed": 0.2971,
                "duels_lost": 0.7602,
                "aerial_lost": 0.1952,
                "total_contest": 0.481,
                "won_contest": 0.3151,
                "ball_recovery": 1.7088,
                "challenges_lost": 0.1019,
                "fouls": 0.0,
                "fouls_drawn": 0.8606,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0046,
                "expected_assists": 0.0215,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.9687,
                "total_progression": 70.9005,
                "progressive_carries": 0.7049,
                "key_pass": 0.1952,
                "shots_off_target": 0.1158
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 61.0,
                    "is_starting": false,
                    "weight": 0.1506,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1088,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0925,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Atlético Madrid",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 8.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.6147,
                  "aerialWon": 0.6637,
                  "totalClearance_p90": 2.6828,
                  "totalTackle": 0.8628,
                  "totalPass": 61.8834
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.30105695128440857,
                    "model_output": 0.3011,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4963
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0129
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0112
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0076
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0214,
                      "total": 0.3011,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.86501
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.036532
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.032629
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.022808
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.020831
                        }
                      ],
                      "others_margin": -0.068646
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5944898724555969,
                    "model_output": 0.5945,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7356
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0222
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0198
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.019
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0176
                        }
                      ],
                      "others": -0.0232,
                      "total": 0.5945,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.750192
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.034301
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.031543
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.030392
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.028133
                        }
                      ],
                      "others_margin": -0.038363
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.40899035334587097,
                    "model_output": 0.409,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4082
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0274
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0134
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0109
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0094
                        }
                      ],
                      "others": 0.0021,
                      "total": 0.409,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.649692
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.063316
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.032505
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.026649
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.022871
                        }
                      ],
                      "others_margin": 0.005083
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.8297352194786072,
                    "model_output": 0.8297,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1059
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2523
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0727
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.05
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0303
                        }
                      ],
                      "others": -0.1105,
                      "total": 0.8297,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.942045
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.207705
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068782
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.050236
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.031697
                        }
                      ],
                      "others_margin": -0.124966
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.34027907252311707,
                    "model_output": 0.3403,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7935
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1643
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0338
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0128
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0258,
                      "total": 0.3403,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.853738
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.327292
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.083134
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.033399
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.031007
                        }
                      ],
                      "others_margin": -0.072972
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.11583872139453888,
                    "model_output": 0.1158,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2233
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0651
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0139
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0115
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0081
                        }
                      ],
                      "others": -0.0334,
                      "total": 0.1158,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.223287
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.065143
                        },
                        {
                          "name": "touches",
                          "margin": -0.013892
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.01146
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.008125
                        }
                      ],
                      "others_margin": -0.033387
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8989434242248535,
                    "model_output": 6.8989,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0601
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0461
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0431
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0216
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0215
                        }
                      ],
                      "others": 0.0076,
                      "total": 6.8989,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.060058
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.046076
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.043143
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.021597
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.021466
                        }
                      ],
                      "others_margin": 0.007756
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0137, quality 0.861)",
              "stats": {
                "interceptions": 0.3052,
                "tackles": 0.6026,
                "tackles_won": 0.4146,
                "clearances": 0.8411,
                "aerial_won": 0.3449,
                "total_shots": 0.1174,
                "rating": 6.8989,
                "minutes": 27.47,
                "total_pass": 33.4405,
                "accurate_pass": 31.2556,
                "duels_won": 1.8635,
                "total_long_balls": 1.0232,
                "accurate_long_balls": 0.8254,
                "total_own_half_passes": 12.4466,
                "accurate_own_half_passes": 12.24,
                "total_opp_half_passes": 20.9939,
                "accurate_opp_half_passes": 19.0156,
                "crosses_total": 0.2883,
                "crosses_accurate": 0.0,
                "touches": 39.4701,
                "possession_lost": 3.518,
                "dispossessed": 0.3012,
                "duels_lost": 0.7706,
                "aerial_lost": 0.1979,
                "total_contest": 0.4876,
                "won_contest": 0.3194,
                "ball_recovery": 1.7322,
                "challenges_lost": 0.1033,
                "fouls": 0.0,
                "fouls_drawn": 0.8724,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0218,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.1601,
                "total_progression": 71.8718,
                "progressive_carries": 0.7146,
                "key_pass": 0.1979,
                "shots_off_target": 0.1174
              },
              "params": {
                "market_value_eur": 64000000,
                "quality_factor": 0.8608,
                "boost_factor": 1.0137,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0067)",
              "stats": {
                "interceptions": 0.3032,
                "tackles": 0.6026,
                "tackles_won": 0.4118,
                "clearances": 0.8411,
                "aerial_won": 0.3449,
                "total_shots": 0.1166,
                "rating": 6.8989,
                "minutes": 27.47,
                "total_pass": 33.4405,
                "accurate_pass": 31.2556,
                "duels_won": 1.8635,
                "total_long_balls": 1.0232,
                "accurate_long_balls": 0.8254,
                "total_own_half_passes": 12.4466,
                "accurate_own_half_passes": 12.24,
                "total_opp_half_passes": 20.9939,
                "accurate_opp_half_passes": 19.0156,
                "crosses_total": 0.2864,
                "crosses_accurate": 0.0,
                "touches": 39.4701,
                "possession_lost": 3.518,
                "dispossessed": 0.3012,
                "duels_lost": 0.7706,
                "aerial_lost": 0.1979,
                "total_contest": 0.4876,
                "won_contest": 0.3194,
                "ball_recovery": 1.7322,
                "challenges_lost": 0.1033,
                "fouls": 0.0017,
                "fouls_drawn": 0.8683,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0218,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.1601,
                "total_progression": 71.8718,
                "progressive_carries": 0.7146,
                "key_pass": 0.1979,
                "shots_off_target": 0.1174
              },
              "params": {
                "blend_weight": 0.0067,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3052,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Barcelona"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.5 to 12.9 expected minutes (appearance prob 0.51)",
              "stats": {
                "interceptions": 0.1425,
                "tackles": 0.2832,
                "tackles_won": 0.1935,
                "clearances": 0.3953,
                "aerial_won": 0.1621,
                "total_shots": 0.0552,
                "rating": 6.8989,
                "minutes": 12.91,
                "total_pass": 15.7159,
                "accurate_pass": 14.6891,
                "duels_won": 0.8758,
                "total_long_balls": 0.4809,
                "accurate_long_balls": 0.3879,
                "total_own_half_passes": 5.8495,
                "accurate_own_half_passes": 5.7524,
                "total_opp_half_passes": 9.8664,
                "accurate_opp_half_passes": 8.9367,
                "crosses_total": 0.1346,
                "crosses_accurate": 0.0,
                "touches": 18.5497,
                "possession_lost": 1.6533,
                "dispossessed": 0.3012,
                "duels_lost": 0.3622,
                "aerial_lost": 0.1979,
                "total_contest": 0.2292,
                "won_contest": 0.1501,
                "ball_recovery": 0.8141,
                "challenges_lost": 0.1033,
                "fouls": 0.0008,
                "fouls_drawn": 0.4081,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0022,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.6548,
                "total_progression": 33.7774,
                "progressive_carries": 0.3358,
                "key_pass": 0.093,
                "shots_off_target": 0.0552,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 12.91
              },
              "params": {
                "expected_minutes": 12.91,
                "projection_minutes": 27.47,
                "minutes_scale": 0.47,
                "appearance_probability": 0.508
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1425,
                "tackles": 0.2832,
                "tackles_won": 0.1935,
                "clearances": 0.3953,
                "aerial_won": 0.1621,
                "total_shots": 0.0552,
                "rating": 6.8989,
                "minutes": 12.91,
                "total_pass": 15.7159,
                "accurate_pass": 14.6891,
                "duels_won": 0.8758,
                "total_long_balls": 0.4809,
                "accurate_long_balls": 0.3879,
                "total_own_half_passes": 5.8495,
                "accurate_own_half_passes": 5.7524,
                "total_opp_half_passes": 9.8664,
                "accurate_opp_half_passes": 8.9367,
                "crosses_total": 0.1346,
                "crosses_accurate": 0.0,
                "touches": 18.5497,
                "possession_lost": 1.6533,
                "dispossessed": 0.3012,
                "duels_lost": 0.3622,
                "aerial_lost": 0.1979,
                "total_contest": 0.2292,
                "won_contest": 0.1501,
                "ball_recovery": 0.8141,
                "challenges_lost": 0.1033,
                "fouls": 0.0008,
                "fouls_drawn": 0.4081,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0022,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.6548,
                "total_progression": 33.7774,
                "progressive_carries": 0.3358,
                "key_pass": 0.093,
                "shots_off_target": 0.0552,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 12.91
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.1425,
                "tackles": 0.2832,
                "tackles_won": 0.1935,
                "clearances": 0.3953,
                "aerial_won": 0.1621,
                "total_shots": 0.0552,
                "rating": 6.8989,
                "minutes": 12.91,
                "total_pass": 15.7159,
                "accurate_pass": 14.6891,
                "duels_won": 0.8758,
                "total_long_balls": 0.4809,
                "accurate_long_balls": 0.3879,
                "total_own_half_passes": 5.8495,
                "accurate_own_half_passes": 5.7524,
                "total_opp_half_passes": 9.8664,
                "accurate_opp_half_passes": 8.9367,
                "crosses_total": 0.1346,
                "crosses_accurate": 0.0,
                "touches": 18.5497,
                "possession_lost": 1.6533,
                "dispossessed": 0.3012,
                "duels_lost": 0.3622,
                "aerial_lost": 0.1979,
                "total_contest": 0.2292,
                "won_contest": 0.1501,
                "ball_recovery": 0.8141,
                "challenges_lost": 0.1033,
                "fouls": 0.0008,
                "fouls_drawn": 0.4081,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0022,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.6548,
                "total_progression": 33.7774,
                "progressive_carries": 0.3358,
                "key_pass": 0.093,
                "shots_off_target": 0.0552,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 12.91,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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
              },
              "params": {
                "appearance_probability": 0.508,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 85.0)",
              "stats": {
                "interceptions": 0.1425,
                "tackles": 0.2832,
                "tackles_won": 0.1935,
                "clearances": 0.3953,
                "aerial_won": 0.1621,
                "total_shots": 0.0552,
                "rating": 6.8989,
                "minutes": 12.91,
                "total_pass": 15.7159,
                "accurate_pass": 14.6891,
                "duels_won": 0.8758,
                "total_long_balls": 0.4809,
                "accurate_long_balls": 0.3879,
                "total_own_half_passes": 5.8495,
                "accurate_own_half_passes": 5.7524,
                "total_opp_half_passes": 9.8664,
                "accurate_opp_half_passes": 8.9367,
                "crosses_total": 0.1346,
                "crosses_accurate": 0.0,
                "touches": 18.5497,
                "possession_lost": 1.6533,
                "dispossessed": 0.3012,
                "duels_lost": 0.3622,
                "aerial_lost": 0.1979,
                "total_contest": 0.2292,
                "won_contest": 0.1501,
                "ball_recovery": 0.8141,
                "challenges_lost": 0.1033,
                "fouls": 0.0008,
                "fouls_drawn": 0.4081,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0022,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.6548,
                "total_progression": 33.7774,
                "progressive_carries": 0.3358,
                "key_pass": 0.093,
                "shots_off_target": 0.0552,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 12.91,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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": 540,
                "fifa_rank": 159.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            }
          ]
        },
        "Alejandro Balde": {
          "player_id": 997035,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 3,
          "height": 177,
          "market_value": 55000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7413,
            "minutes": 15,
            "total_pass": 11,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 2.4379,
            "dispossessed": 0.1717,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "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.0041,
            "expected_assists": 0.0167,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 21,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.371,
            "bench_expected_minutes": 15.17,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "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": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 12,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0954,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "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": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2811,
                "expected_assists": 0.08,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 58,
                "accurate_pass": 53,
                "key_pass": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 45,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0378,
                "expected_assists": 0.0005,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 14,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083603,
              "match_date": "2026-05-13",
              "home_team": "Deportivo Alavés",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 79,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0196,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083245,
              "match_date": "2026-04-25",
              "home_team": "Getafe",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 8,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0037,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083261,
              "match_date": "2026-04-22",
              "home_team": "FC Barcelona",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 67,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0234,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 48,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083113,
              "match_date": "2026-04-11",
              "home_team": "FC Barcelona",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 64,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0295,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 43,
                "tackles": 2,
                "tackles_won": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081789,
              "match_date": "2026-02-28",
              "home_team": "FC Barcelona",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0374,
                "total_shots": 0,
                "total_pass": 74,
                "accurate_pass": 70,
                "tackles": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083491,
              "match_date": "2026-02-16",
              "home_team": "Girona FC",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 27,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0325,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1817,
            "combined_rank_score": 965.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 700.0,
            "sofascore_rating": 6.6963,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1231.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7413,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alejandro Balde",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nail Omerović",
                  "ranking": 1812
                },
                {
                  "player_name": "Elhan Kastrati",
                  "ranking": 1813
                },
                {
                  "player_name": "Jae-hun Cho",
                  "ranking": 1814
                },
                {
                  "player_name": "Abulfayz Bobomurodov",
                  "ranking": 1815
                },
                {
                  "player_name": "Alejandro Rego Mora",
                  "ranking": 1816
                }
              ],
              "lower": [
                {
                  "player_name": "José Luis Morales",
                  "ranking": 1818
                },
                {
                  "player_name": "Guido Rodríguez",
                  "ranking": 1819
                },
                {
                  "player_name": "Wesley Fofana",
                  "ranking": 1820
                },
                {
                  "player_name": "Marten de Roon",
                  "ranking": 1821
                },
                {
                  "player_name": "Florentino Luís",
                  "ranking": 1822
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 29,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 29,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 15.16605686531093,
            "bench_appearance_prob": 0.3711844029686786,
            "market_value_adjustment": 1.0148,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost D_service (29 historical appearances) to 15.2 expected mins (appearance prob 0.37); 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": 0.2754,
                "tackles": 0.7332,
                "tackles_won": 0.5027,
                "clearances": 0.6083,
                "aerial_won": 0.1943,
                "total_shots": 0.1964,
                "rating": 6.7413,
                "minutes": 24.93,
                "total_pass": 17.1358,
                "accurate_pass": 14.8924,
                "duels_won": 1.9451,
                "total_long_balls": 0.1753,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 8.017,
                "accurate_own_half_passes": 7.2502,
                "total_opp_half_passes": 9.1187,
                "accurate_opp_half_passes": 7.6421,
                "crosses_total": 0.0915,
                "crosses_accurate": 0.0,
                "touches": 24.2489,
                "possession_lost": 3.9491,
                "dispossessed": 0.1692,
                "duels_lost": 1.0691,
                "aerial_lost": 0.0661,
                "total_contest": 0.8753,
                "won_contest": 0.1854,
                "ball_recovery": 1.4132,
                "challenges_lost": 0.0,
                "fouls": 0.1439,
                "fouls_drawn": 0.9105,
                "blocks": 0.0661,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0066,
                "expected_assists": 0.027,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2062,
                "xgot": 0.0,
                "ball_carries": 6.5663,
                "total_progression": 33.276,
                "progressive_carries": 1.1095,
                "key_pass": 0.2977,
                "shots_off_target": 0.1964
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1514,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1287,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1094,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.093,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 2.0,
                    "is_starting": false,
                    "weight": 0.079,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0672,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Celta Vigo",
                    "minutes": 67.0,
                    "is_starting": false,
                    "weight": 0.0571,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Espanyol",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-02-16",
                    "opponent": "Girona FC",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0351,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 0.767,
                  "aerialWon": 0.1332,
                  "totalClearance_p90": 0.9448,
                  "totalTackle": 0.9565,
                  "totalPass": 35.4236
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.2754470407962799,
                    "model_output": 0.2754,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5099
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0317
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0169
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0102
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0073
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.2754,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.903292
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.095827
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.055107
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.034719
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.025788
                        }
                      ],
                      "others_margin": -0.020628
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.7331695556640625,
                    "model_output": 0.7332,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7485
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0301
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0206
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0195
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0187
                        }
                      ],
                      "others": 0.0363,
                      "total": 0.7332,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.769952
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.045637
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.030021
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.027684
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.02645
                        }
                      ],
                      "others_margin": 0.050593
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5026503205299377,
                    "model_output": 0.5027,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4195
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0169
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0151
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0144
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0141
                        }
                      ],
                      "others": 0.0375,
                      "total": 0.5027,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.675428
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.03808
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.033949
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.032549
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.030802
                        }
                      ],
                      "others_margin": 0.077498
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.6083202362060547,
                    "model_output": 0.6083,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1649
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2702
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1215
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0743
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0556
                        }
                      ],
                      "others": -0.1566,
                      "total": 0.6083,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.986841
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.235739
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.127321
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.086724
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.070212
                        }
                      ],
                      "others_margin": -0.228998
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.19433636963367462,
                    "model_output": 0.1943,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8324
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2178
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0387
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0331
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0209
                        }
                      ],
                      "others": -0.0448,
                      "total": 0.1943,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.922082
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.504644
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.124144
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.119865
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.083857
                        }
                      ],
                      "others_margin": -0.207127
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.19640396535396576,
                    "model_output": 0.1964,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2226
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0559
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0251
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0225
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0197
                        }
                      ],
                      "others": -0.0241,
                      "total": 0.1964,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.222581
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.055875
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.025116
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.022483
                        },
                        {
                          "name": "rating",
                          "margin": -0.019721
                        }
                      ],
                      "others_margin": -0.024151
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.741281509399414,
                    "model_output": 6.7413,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0517
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0275
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0263
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0136
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0121
                        }
                      ],
                      "others": -0.0402,
                      "total": 6.7413,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.051735
                        },
                        {
                          "name": "rating",
                          "margin": -0.027486
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.02626
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.013642
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.012139
                        }
                      ],
                      "others_margin": -0.040335
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 29,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0148, quality 0.840)",
              "stats": {
                "interceptions": 0.2795,
                "tackles": 0.744,
                "tackles_won": 0.5101,
                "clearances": 0.6173,
                "aerial_won": 0.1972,
                "total_shots": 0.1993,
                "rating": 6.7413,
                "minutes": 24.93,
                "total_pass": 17.3894,
                "accurate_pass": 15.1128,
                "duels_won": 1.9739,
                "total_long_balls": 0.1779,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 8.1357,
                "accurate_own_half_passes": 7.3575,
                "total_opp_half_passes": 9.2537,
                "accurate_opp_half_passes": 7.7552,
                "crosses_total": 0.0929,
                "crosses_accurate": 0.0,
                "touches": 24.6078,
                "possession_lost": 4.0075,
                "dispossessed": 0.1717,
                "duels_lost": 1.0849,
                "aerial_lost": 0.0671,
                "total_contest": 0.8883,
                "won_contest": 0.1881,
                "ball_recovery": 1.4341,
                "challenges_lost": 0.0,
                "fouls": 0.146,
                "fouls_drawn": 0.924,
                "blocks": 0.0671,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0067,
                "expected_assists": 0.0274,
                "shots_on_target": 0.0,
                "big_chances_created": 0.2093,
                "xgot": 0.0,
                "ball_carries": 6.6635,
                "total_progression": 33.7685,
                "progressive_carries": 1.1259,
                "key_pass": 0.3021,
                "shots_off_target": 0.1993
              },
              "params": {
                "market_value_eur": 55000000,
                "quality_factor": 0.8399,
                "boost_factor": 1.0148,
                "reference_quality": 0.505,
                "history_matches": 29,
                "history_shrink": 0.1471,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.9 to 15.2 expected minutes (appearance prob 0.37)",
              "stats": {
                "interceptions": 0.17,
                "tackles": 0.4526,
                "tackles_won": 0.3103,
                "clearances": 0.3755,
                "aerial_won": 0.12,
                "total_shots": 0.1212,
                "rating": 6.7413,
                "minutes": 15.17,
                "total_pass": 10.5788,
                "accurate_pass": 9.1938,
                "duels_won": 1.2008,
                "total_long_balls": 0.1082,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.9493,
                "accurate_own_half_passes": 4.4759,
                "total_opp_half_passes": 5.6294,
                "accurate_opp_half_passes": 4.7178,
                "crosses_total": 0.0565,
                "crosses_accurate": 0.0,
                "touches": 14.97,
                "possession_lost": 2.4379,
                "dispossessed": 0.1717,
                "duels_lost": 0.66,
                "aerial_lost": 0.0671,
                "total_contest": 0.5404,
                "won_contest": 0.1144,
                "ball_recovery": 0.8724,
                "challenges_lost": 0.0,
                "fouls": 0.0888,
                "fouls_drawn": 0.5621,
                "blocks": 0.0408,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0167,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1273,
                "xgot": 0.0,
                "ball_carries": 4.0537,
                "total_progression": 20.5429,
                "progressive_carries": 0.6849,
                "key_pass": 0.1838,
                "shots_off_target": 0.1212,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 15.17
              },
              "params": {
                "expected_minutes": 15.17,
                "projection_minutes": 24.93,
                "minutes_scale": 0.6083,
                "appearance_probability": 0.371
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.17,
                "tackles": 0.4526,
                "tackles_won": 0.3103,
                "clearances": 0.3755,
                "aerial_won": 0.12,
                "total_shots": 0.1212,
                "rating": 6.7413,
                "minutes": 15.17,
                "total_pass": 10.5788,
                "accurate_pass": 9.1938,
                "duels_won": 1.2008,
                "total_long_balls": 0.1082,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.9493,
                "accurate_own_half_passes": 4.4759,
                "total_opp_half_passes": 5.6294,
                "accurate_opp_half_passes": 4.7178,
                "crosses_total": 0.0565,
                "crosses_accurate": 0.0,
                "touches": 14.97,
                "possession_lost": 2.4379,
                "dispossessed": 0.1717,
                "duels_lost": 0.66,
                "aerial_lost": 0.0671,
                "total_contest": 0.5404,
                "won_contest": 0.1144,
                "ball_recovery": 0.8724,
                "challenges_lost": 0.0,
                "fouls": 0.0888,
                "fouls_drawn": 0.5621,
                "blocks": 0.0408,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0167,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1273,
                "xgot": 0.0,
                "ball_carries": 4.0537,
                "total_progression": 20.5429,
                "progressive_carries": 0.6849,
                "key_pass": 0.1838,
                "shots_off_target": 0.1212,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 15.17
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.17,
                "tackles": 0.4526,
                "tackles_won": 0.3103,
                "clearances": 0.3755,
                "aerial_won": 0.12,
                "total_shots": 0.1212,
                "rating": 6.7413,
                "minutes": 15.17,
                "total_pass": 10.5788,
                "accurate_pass": 9.1938,
                "duels_won": 1.2008,
                "total_long_balls": 0.1082,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.9493,
                "accurate_own_half_passes": 4.4759,
                "total_opp_half_passes": 5.6294,
                "accurate_opp_half_passes": 4.7178,
                "crosses_total": 0.0565,
                "crosses_accurate": 0.0,
                "touches": 14.97,
                "possession_lost": 2.4379,
                "dispossessed": 0.1717,
                "duels_lost": 0.66,
                "aerial_lost": 0.0671,
                "total_contest": 0.5404,
                "won_contest": 0.1144,
                "ball_recovery": 0.8724,
                "challenges_lost": 0.0,
                "fouls": 0.0888,
                "fouls_drawn": 0.5621,
                "blocks": 0.0408,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0167,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1273,
                "xgot": 0.0,
                "ball_carries": 4.0537,
                "total_progression": 20.5429,
                "progressive_carries": 0.6849,
                "key_pass": 0.1838,
                "shots_off_target": 0.1212,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 15.17,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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
              },
              "params": {
                "appearance_probability": 0.371,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 0.17,
                "tackles": 0.4526,
                "tackles_won": 0.3103,
                "clearances": 0.3755,
                "aerial_won": 0.12,
                "total_shots": 0.1212,
                "rating": 6.7413,
                "minutes": 15.17,
                "total_pass": 10.5788,
                "accurate_pass": 9.1938,
                "duels_won": 1.2008,
                "total_long_balls": 0.1082,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.9493,
                "accurate_own_half_passes": 4.4759,
                "total_opp_half_passes": 5.6294,
                "accurate_opp_half_passes": 4.7178,
                "crosses_total": 0.0565,
                "crosses_accurate": 0.0,
                "touches": 14.97,
                "possession_lost": 2.4379,
                "dispossessed": 0.1717,
                "duels_lost": 0.66,
                "aerial_lost": 0.0671,
                "total_contest": 0.5404,
                "won_contest": 0.1144,
                "ball_recovery": 0.8724,
                "challenges_lost": 0.0,
                "fouls": 0.0888,
                "fouls_drawn": 0.5621,
                "blocks": 0.0408,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0167,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1273,
                "xgot": 0.0,
                "ball_carries": 4.0537,
                "total_progression": 20.5429,
                "progressive_carries": 0.6849,
                "key_pass": 0.1838,
                "shots_off_target": 0.1212,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 15.17,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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": 78.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1817,
                "fifa_rank": 1231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Ferran Torres": {
          "player_id": 855833,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 183,
          "market_value": 59000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0312,
            "assist_rate": 0.0528,
            "assists": 0,
            "expected_goals": 0.1053,
            "goal_rate": 0.0749,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6252,
            "minutes": 24,
            "total_pass": 8,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 3.8538,
            "dispossessed": 0.4539,
            "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": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1126,
            "ball_carries": 3,
            "total_progression": 10,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.573,
            "bench_expected_minutes": 23.61,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "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": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 83,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.091,
                "expected_assists": 0.0111,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 34,
                "key_pass": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083603,
              "match_date": "2026-05-13",
              "home_team": "Deportivo Alavés",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0165,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 77,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3143,
                "expected_assists": 0.1374,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 28,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3333,
                "expected_assists": 0.0707,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 19,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083261,
              "match_date": "2026-04-22",
              "home_team": "FC Barcelona",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 73,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0551,
                "expected_assists": 0.0688,
                "total_shots": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083113,
              "match_date": "2026-04-11",
              "home_team": "FC Barcelona",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 74,
                "rating": 8.7,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5961,
                "expected_assists": 0.0301,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 25,
                "accurate_pass": 23,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081810,
              "match_date": "2026-04-04",
              "home_team": "Atlético Madrid",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1977,
                "expected_assists": 0.0379,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 8,
                "accurate_pass": 8,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083662,
              "match_date": "2026-03-22",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0293,
                "expected_assists": 0.0096,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 5,
                "tackles": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083597,
              "match_date": "2026-03-07",
              "home_team": "Athletic Club",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 62,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0179,
                "expected_assists": 0.0001,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081789,
              "match_date": "2026-02-28",
              "home_team": "FC Barcelona",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 67,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.07,
                "expected_assists": 0.0127,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 10,
                "accurate_pass": 7,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 631,
            "combined_rank_score": 322.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 418.0,
            "sofascore_rating": 6.925,
            "sofascore_appearances": 4.0,
            "fifa_rank": 227.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6252,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ferran Torres",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matheuzinho",
                  "ranking": 626
                },
                {
                  "player_name": "Naeem Mohammed",
                  "ranking": 627
                },
                {
                  "player_name": "Ivan Toney",
                  "ranking": 628
                },
                {
                  "player_name": "Antoine Griezmann",
                  "ranking": 629
                },
                {
                  "player_name": "Kingsley Coman",
                  "ranking": 630
                }
              ],
              "lower": [
                {
                  "player_name": "Achraf Hakimi",
                  "ranking": 632
                },
                {
                  "player_name": "Bong-jin Choi",
                  "ranking": 633
                },
                {
                  "player_name": "João Félix",
                  "ranking": 634
                },
                {
                  "player_name": "Kai Havertz",
                  "ranking": 635
                },
                {
                  "player_name": "Makhmud Makhamadzhonov",
                  "ranking": 636
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 33,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 33,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 23.607043414228116,
            "bench_appearance_prob": 0.5730474279194597,
            "market_value_adjustment": 1.0136,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (33 historical appearances) to 23.6 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4234,
                "expected_assists": 0.0364,
                "assists": 0.0616,
                "assist_rate": 0.0616,
                "expected_goals": 0.1228,
                "goals": 0.0873,
                "goal_rate": 0.0873,
                "shots_on_target": 0.4356,
                "total_shots": 1.0258,
                "rating": 6.6252,
                "minutes": 27.89,
                "total_pass": 9.4527,
                "accurate_pass": 7.3439,
                "duels_won": 0.8224,
                "total_long_balls": 0.2096,
                "accurate_long_balls": 0.1587,
                "total_own_half_passes": 1.4103,
                "accurate_own_half_passes": 1.3399,
                "total_opp_half_passes": 8.0424,
                "accurate_opp_half_passes": 6.004,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.0325,
                "possession_lost": 4.4919,
                "dispossessed": 0.4478,
                "duels_lost": 2.0386,
                "aerial_won": 0.1213,
                "aerial_lost": 0.3858,
                "interceptions": 0.0,
                "tackles_won": 0.1588,
                "tackles": 0.2735,
                "clearances": 0.4084,
                "total_contest": 0.5711,
                "won_contest": 0.0,
                "challenges_lost": 0.583,
                "fouls": 0.0509,
                "fouls_drawn": 0.4276,
                "blocks": 0.0,
                "big_chances_created": 0.0433,
                "big_chances_missed": 0.0975,
                "xgot": 0.1312,
                "ball_carries": 3.4749,
                "total_progression": 12.0726,
                "progressive_carries": 0.5524,
                "shots_off_target": 0.5902
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1507,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1281,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1089,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Osasuna",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Celta Vigo",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Espanyol",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 8.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Atlético Madrid",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-07",
                    "opponent": "Athletic Club",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Villarreal",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.6182,
                  "creative_index": 0.2713,
                  "expectedGoals": 0.2268,
                  "expectedAssists": 0.0456,
                  "onTargetScoringAttempt": 0.9861
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.42344075441360474,
                    "model_output": 0.4234,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4032
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0439
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0256
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0234
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.013
                        }
                      ],
                      "others": 0.0203,
                      "total": 0.4234,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.607001
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.095283
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.060187
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.058209
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.032823
                        }
                      ],
                      "others_margin": 0.049331
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.036356836557388306,
                    "model_output": 0.0364,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0365
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0096
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0025
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0022
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0022
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.0364,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.554401
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.216365
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.064513
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.057967
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.054512
                        }
                      ],
                      "others_margin": -0.135526
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.061583567410707474,
                    "model_output": 0.0616,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0254
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0069
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0056
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0035
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0037
                        }
                      ],
                      "others": 0.0071,
                      "total": 0.0616,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.353268
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.122912
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.112344
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.071877
                        },
                        {
                          "name": "goals",
                          "margin": 0.069454
                        }
                      ],
                      "others_margin": 0.122241
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12277233600616455,
                    "model_output": 0.1228,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.04
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0218
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0087
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0083
                        }
                      ],
                      "others": 0.0194,
                      "total": 0.1228,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.550815
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.336959
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.125616
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.095596
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.084033
                        }
                      ],
                      "others_margin": 0.171104
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08729113638401031,
                    "model_output": 0.0873,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0431
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0099
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0085
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0085
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0075
                        }
                      ],
                      "others": 0.0154,
                      "total": 0.0873,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.581501
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.16635
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.124488
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.123629
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.110035
                        }
                      ],
                      "others_margin": 0.192164
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4355640411376953,
                    "model_output": 0.4356,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1344
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0495
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0493
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0351
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0199
                        }
                      ],
                      "others": 0.0922,
                      "total": 0.4356,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535888
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.232075
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.187614
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.114715
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.059577
                        }
                      ],
                      "others_margin": 0.237833
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0257701873779297,
                    "model_output": 1.0258,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5893
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.3306
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0603
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0471
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0457
                        }
                      ],
                      "others": 0.1409,
                      "total": 1.0258,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.589256
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.330558
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.06028
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.04712
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.045703
                        }
                      ],
                      "others_margin": 0.140901
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.625236511230469,
                    "model_output": 6.6252,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0793
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0264
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0224
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0178
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0164
                        }
                      ],
                      "others": -0.0614,
                      "total": 6.6252,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.079264
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.026364
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.022443
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.017757
                        },
                        {
                          "name": "rating",
                          "margin": -0.01641
                        }
                      ],
                      "others_margin": -0.061398
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 33,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0136, quality 0.850)",
              "stats": {
                "key_pass": 0.4292,
                "expected_assists": 0.0369,
                "assists": 0.0624,
                "assist_rate": 0.0624,
                "expected_goals": 0.1244,
                "goals": 0.0885,
                "goal_rate": 0.0885,
                "shots_on_target": 0.4415,
                "total_shots": 1.0397,
                "rating": 6.6252,
                "minutes": 27.89,
                "total_pass": 9.5813,
                "accurate_pass": 7.4438,
                "duels_won": 0.8336,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.1609,
                "total_own_half_passes": 1.4295,
                "accurate_own_half_passes": 1.3581,
                "total_opp_half_passes": 8.1518,
                "accurate_opp_half_passes": 6.0857,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2369,
                "possession_lost": 4.553,
                "dispossessed": 0.4539,
                "duels_lost": 2.0663,
                "aerial_won": 0.1229,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.161,
                "tackles": 0.2772,
                "clearances": 0.414,
                "total_contest": 0.5789,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0516,
                "fouls_drawn": 0.4334,
                "blocks": 0.0,
                "big_chances_created": 0.0439,
                "big_chances_missed": 0.0988,
                "xgot": 0.133,
                "ball_carries": 3.5222,
                "total_progression": 12.2368,
                "progressive_carries": 0.5599,
                "shots_off_target": 0.5982
              },
              "params": {
                "market_value_eur": 59000000,
                "quality_factor": 0.8503,
                "boost_factor": 1.0136,
                "reference_quality": 0.505,
                "history_matches": 33,
                "history_shrink": 0.1316,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.9 to 23.6 expected minutes (appearance prob 0.57)",
              "stats": {
                "key_pass": 0.3633,
                "expected_assists": 0.0312,
                "assists": 0.0528,
                "assist_rate": 0.0528,
                "expected_goals": 0.1053,
                "goals": 0.0749,
                "goal_rate": 0.0749,
                "shots_on_target": 0.3737,
                "total_shots": 0.88,
                "rating": 6.6252,
                "minutes": 23.61,
                "total_pass": 8.1099,
                "accurate_pass": 6.3007,
                "duels_won": 0.7056,
                "total_long_balls": 0.1799,
                "accurate_long_balls": 0.1362,
                "total_own_half_passes": 1.21,
                "accurate_own_half_passes": 1.1495,
                "total_opp_half_passes": 6.9,
                "accurate_opp_half_passes": 5.1511,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.897,
                "possession_lost": 3.8538,
                "dispossessed": 0.4539,
                "duels_lost": 1.749,
                "aerial_won": 0.104,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.1363,
                "tackles": 0.2346,
                "clearances": 0.3504,
                "total_contest": 0.49,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0437,
                "fouls_drawn": 0.3668,
                "blocks": 0.0,
                "big_chances_created": 0.0372,
                "big_chances_missed": 0.0836,
                "xgot": 0.1126,
                "ball_carries": 2.9813,
                "total_progression": 10.3576,
                "progressive_carries": 0.4739,
                "shots_off_target": 0.5063,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 23.61
              },
              "params": {
                "expected_minutes": 23.61,
                "projection_minutes": 27.89,
                "minutes_scale": 0.8464,
                "appearance_probability": 0.573
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3633,
                "expected_assists": 0.0312,
                "assists": 0.0528,
                "assist_rate": 0.0528,
                "expected_goals": 0.1053,
                "goals": 0.0749,
                "goal_rate": 0.0749,
                "shots_on_target": 0.3737,
                "total_shots": 0.88,
                "rating": 6.6252,
                "minutes": 23.61,
                "total_pass": 8.1099,
                "accurate_pass": 6.3007,
                "duels_won": 0.7056,
                "total_long_balls": 0.1799,
                "accurate_long_balls": 0.1362,
                "total_own_half_passes": 1.21,
                "accurate_own_half_passes": 1.1495,
                "total_opp_half_passes": 6.9,
                "accurate_opp_half_passes": 5.1511,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.897,
                "possession_lost": 3.8538,
                "dispossessed": 0.4539,
                "duels_lost": 1.749,
                "aerial_won": 0.104,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.1363,
                "tackles": 0.2346,
                "clearances": 0.3504,
                "total_contest": 0.49,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0437,
                "fouls_drawn": 0.3668,
                "blocks": 0.0,
                "big_chances_created": 0.0372,
                "big_chances_missed": 0.0836,
                "xgot": 0.1126,
                "ball_carries": 2.9813,
                "total_progression": 10.3576,
                "progressive_carries": 0.4739,
                "shots_off_target": 0.5063,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 23.61
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.3633,
                "expected_assists": 0.0312,
                "assist_rate": 0.0528,
                "assists": 0,
                "expected_goals": 0.1053,
                "goal_rate": 0.0749,
                "goals": 0,
                "shots_on_target": 0.3737,
                "total_shots": 0.88,
                "rating": 6.6252,
                "minutes": 23.61,
                "total_pass": 8.1099,
                "accurate_pass": 6.3007,
                "duels_won": 0.7056,
                "total_long_balls": 0.1799,
                "accurate_long_balls": 0.1362,
                "total_own_half_passes": 1.21,
                "accurate_own_half_passes": 1.1495,
                "total_opp_half_passes": 6.9,
                "accurate_opp_half_passes": 5.1511,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.897,
                "possession_lost": 3.8538,
                "dispossessed": 0.4539,
                "duels_lost": 1.749,
                "aerial_won": 0.104,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.1363,
                "tackles": 0.2346,
                "clearances": 0.3504,
                "total_contest": 0.49,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0437,
                "fouls_drawn": 0.3668,
                "blocks": 0.0,
                "big_chances_created": 0.0372,
                "big_chances_missed": 0.0836,
                "xgot": 0.1126,
                "ball_carries": 2.9813,
                "total_progression": 10.3576,
                "progressive_carries": 0.4739,
                "shots_off_target": 0.5063,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 23.61,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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
              },
              "params": {
                "appearance_probability": 0.573,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 84.0)",
              "stats": {
                "key_pass": 0.3633,
                "expected_assists": 0.0312,
                "assist_rate": 0.0528,
                "assists": 0,
                "expected_goals": 0.1053,
                "goal_rate": 0.0749,
                "goals": 0,
                "shots_on_target": 0.3737,
                "total_shots": 0.88,
                "rating": 6.6252,
                "minutes": 23.61,
                "total_pass": 8.1099,
                "accurate_pass": 6.3007,
                "duels_won": 0.7056,
                "total_long_balls": 0.1799,
                "accurate_long_balls": 0.1362,
                "total_own_half_passes": 1.21,
                "accurate_own_half_passes": 1.1495,
                "total_opp_half_passes": 6.9,
                "accurate_opp_half_passes": 5.1511,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.897,
                "possession_lost": 3.8538,
                "dispossessed": 0.4539,
                "duels_lost": 1.749,
                "aerial_won": 0.104,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.1363,
                "tackles": 0.2346,
                "clearances": 0.3504,
                "total_contest": 0.49,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0437,
                "fouls_drawn": 0.3668,
                "blocks": 0.0,
                "big_chances_created": 0.0372,
                "big_chances_missed": 0.0836,
                "xgot": 0.1126,
                "ball_carries": 2.9813,
                "total_progression": 10.3576,
                "progressive_carries": 0.4739,
                "shots_off_target": 0.5063,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 23.61,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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": 84.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": 631,
                "fifa_rank": 227.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            }
          ]
        },
        "Dani Olmo": {
          "player_id": 789071,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 182,
          "market_value": 58000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0771,
            "assist_rate": 0.2024,
            "assists": 0,
            "expected_goals": 0.0558,
            "goal_rate": 0.0644,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0013,
            "minutes": 25,
            "total_pass": 21,
            "accurate_pass": 19,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 14,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 28,
            "possession_lost": 3.2916,
            "dispossessed": 0.4762,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.0619,
            "ball_carries": 7,
            "total_progression": 19,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.597,
            "bench_expected_minutes": 25.47,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0533,
            "projected_assists": 0,
            "assist_probability": 0.0723,
            "finishing_factor": 0.8773,
            "creation_factor": 1.25,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 28,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1,
                "expected_assists": 0.0445,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 19,
                "accurate_pass": 18,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 61,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2181,
                "expected_assists": 0.0986,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 33,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 14,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0865,
                "expected_assists": 0.0233,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 19,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.261,
                "expected_assists": 0.6775,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 60,
                "accurate_pass": 60,
                "key_pass": 6,
                "tackles": 1,
                "interceptions": 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"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 24,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0348,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 25,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 15,
                "rating": 7.9,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1952,
                "expected_assists": 0.4391,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 64,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0755,
                "expected_assists": 0.5023,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0193,
                "expected_assists": 0.2054,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1185,
                "expected_assists": 0.0063,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 15,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0245,
                "expected_assists": 0.2054,
                "total_shots": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 426,
            "combined_rank_score": 261.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 230.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0013,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Olmo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ismoilbek Usmonxo'jayev",
                  "ranking": 421
                },
                {
                  "player_name": "Seok-joo Yoon",
                  "ranking": 422
                },
                {
                  "player_name": "Harry Wilson",
                  "ranking": 423
                },
                {
                  "player_name": "Christos Tzolis",
                  "ranking": 424
                },
                {
                  "player_name": "Nordi Mukiele",
                  "ranking": 425
                }
              ],
              "lower": [
                {
                  "player_name": "Piotr Zieliński",
                  "ranking": 427
                },
                {
                  "player_name": "Anvar Gofurov",
                  "ranking": 428
                },
                {
                  "player_name": "Ibrokhimkhalil Yuldoshev",
                  "ranking": 429
                },
                {
                  "player_name": "Iliman Ndiaye",
                  "ranking": 430
                },
                {
                  "player_name": "Lisandro Martínez",
                  "ranking": 431
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.763,
          "history_matches": 40,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.47,
            "bench_appearance_prob": 0.597,
            "market_value_adjustment": 1.0114,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 27.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (40 historical appearances) to 25.5 expected mins (appearance prob 0.60); FBref playing time empirical prior: 2.0 sub appearances, 27.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.1108,
                "expected_assists": 0.0886,
                "assists": 0.1736,
                "assist_rate": 0.1736,
                "expected_goals": 0.0685,
                "goals": 0.0552,
                "goal_rate": 0.0552,
                "shots_on_target": 0.2284,
                "total_shots": 0.7863,
                "rating": 7.0013,
                "minutes": 21.96,
                "total_pass": 17.7865,
                "accurate_pass": 16.5258,
                "duels_won": 1.9842,
                "total_long_balls": 0.9875,
                "accurate_long_balls": 0.8241,
                "total_own_half_passes": 5.5757,
                "accurate_own_half_passes": 5.3782,
                "total_opp_half_passes": 12.2108,
                "accurate_opp_half_passes": 11.1476,
                "crosses_total": 0.3344,
                "crosses_accurate": 0.1027,
                "touches": 23.9138,
                "possession_lost": 2.806,
                "dispossessed": 0.4708,
                "duels_lost": 1.1005,
                "aerial_won": 0.3094,
                "aerial_lost": 0.1421,
                "interceptions": 0.1982,
                "tackles_won": 0.1224,
                "tackles": 0.3458,
                "clearances": 0.7354,
                "total_contest": 0.6529,
                "won_contest": 0.3849,
                "challenges_lost": 0.1994,
                "fouls": 0.0202,
                "fouls_drawn": 0.9441,
                "blocks": 0.0,
                "big_chances_created": 0.4696,
                "big_chances_missed": 0.0,
                "xgot": 0.076,
                "ball_carries": 6.3628,
                "total_progression": 16.4682,
                "progressive_carries": 0.2547,
                "shots_off_target": 0.5579
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.4674,
                  "creative_index": 0.8177,
                  "expectedGoals": 0.1213,
                  "expectedAssists": 0.2307,
                  "onTargetScoringAttempt": 0.2976
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1108057498931885,
                    "model_output": 1.1108,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4194
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1121
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.106
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.042
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0418
                        }
                      ],
                      "others": 0.3421,
                      "total": 1.1108,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.641015
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.215209
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.168157
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.059494
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.055885
                        }
                      ],
                      "others_margin": 0.36817
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08855967223644257,
                    "model_output": 0.0886,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0375
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0084
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0039
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.0037
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0031
                        }
                      ],
                      "others": 0.0212,
                      "total": 0.0886,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.574182
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.160431
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.06677
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.058673
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.047369
                        }
                      ],
                      "others_margin": 0.272907
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.17364907264709473,
                    "model_output": 0.1736,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0157
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.016
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0157
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0112
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0089
                        }
                      ],
                      "others": 0.0523,
                      "total": 0.1736,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.169291
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.14671
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.144618
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.105382
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.076468
                        }
                      ],
                      "others_margin": 0.358456
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06848058104515076,
                    "model_output": 0.0685,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0398
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0079
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0084
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0062
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0043
                        }
                      ],
                      "others": -0.0129,
                      "total": 0.0685,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.546981
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.135648
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.126234
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.08398
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.054509
                        }
                      ],
                      "others_margin": -0.174678
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05521314591169357,
                    "model_output": 0.0552,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0401
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0099
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0066
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0058
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0054
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.0552,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.529484
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.158825
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.103396
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.100218
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.093642
                        }
                      ],
                      "others_margin": -0.089509
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22843042016029358,
                    "model_output": 0.2284,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.139
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0447
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0234
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0147
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0108
                        }
                      ],
                      "others": -0.0286,
                      "total": 0.2284,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.560528
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.216336
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.09693
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.056595
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.041209
                        }
                      ],
                      "others_margin": -0.117609
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7863337993621826,
                    "model_output": 0.7863,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.535
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2314
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0728
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0402
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0332
                        }
                      ],
                      "others": -0.0468,
                      "total": 0.7863,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535004
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.231373
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.072829
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.040156
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.033189
                        }
                      ],
                      "others_margin": -0.046674
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.001262664794922,
                    "model_output": 7.0013,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1119
                        },
                        {
                          "name": "rating",
                          "contribution": 0.1099
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0385
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0232
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0229
                        }
                      ],
                      "others": 0.0698,
                      "total": 7.0013,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.111852
                        },
                        {
                          "name": "rating",
                          "margin": 0.109871
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.03852
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.023232
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.022886
                        }
                      ],
                      "others_margin": 0.069736
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "role_matches": 14,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0114, quality 0.848)",
              "stats": {
                "key_pass": 1.1235,
                "expected_assists": 0.0896,
                "assists": 0.1756,
                "assist_rate": 0.1756,
                "expected_goals": 0.0693,
                "goals": 0.0558,
                "goal_rate": 0.0558,
                "shots_on_target": 0.231,
                "total_shots": 0.7953,
                "rating": 7.0013,
                "minutes": 21.96,
                "total_pass": 17.9893,
                "accurate_pass": 16.7142,
                "duels_won": 2.0068,
                "total_long_balls": 0.9988,
                "accurate_long_balls": 0.8335,
                "total_own_half_passes": 5.6393,
                "accurate_own_half_passes": 5.4395,
                "total_opp_half_passes": 12.35,
                "accurate_opp_half_passes": 11.2747,
                "crosses_total": 0.3382,
                "crosses_accurate": 0.1039,
                "touches": 24.1864,
                "possession_lost": 2.838,
                "dispossessed": 0.4762,
                "duels_lost": 1.113,
                "aerial_won": 0.3129,
                "aerial_lost": 0.1437,
                "interceptions": 0.2005,
                "tackles_won": 0.1238,
                "tackles": 0.3497,
                "clearances": 0.7438,
                "total_contest": 0.6603,
                "won_contest": 0.3893,
                "challenges_lost": 0.2017,
                "fouls": 0.0204,
                "fouls_drawn": 0.9549,
                "blocks": 0.0,
                "big_chances_created": 0.475,
                "big_chances_missed": 0.0,
                "xgot": 0.0769,
                "ball_carries": 6.4353,
                "total_progression": 16.6559,
                "progressive_carries": 0.2576,
                "shots_off_target": 0.5643
              },
              "params": {
                "market_value_eur": 58000000,
                "quality_factor": 0.8478,
                "boost_factor": 1.0114,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0063)",
              "stats": {
                "key_pass": 1.1235,
                "expected_assists": 0.0896,
                "assists": 0.1745,
                "assist_rate": 0.1745,
                "expected_goals": 0.0693,
                "goals": 0.0555,
                "goal_rate": 0.0555,
                "shots_on_target": 0.2307,
                "total_shots": 0.795,
                "rating": 7.0013,
                "minutes": 21.96,
                "total_pass": 17.9893,
                "accurate_pass": 16.7142,
                "duels_won": 2.0068,
                "total_long_balls": 0.9988,
                "accurate_long_balls": 0.8335,
                "total_own_half_passes": 5.6393,
                "accurate_own_half_passes": 5.4395,
                "total_opp_half_passes": 12.35,
                "accurate_opp_half_passes": 11.2747,
                "crosses_total": 0.3396,
                "crosses_accurate": 0.1039,
                "touches": 24.1864,
                "possession_lost": 2.838,
                "dispossessed": 0.4762,
                "duels_lost": 1.113,
                "aerial_won": 0.3129,
                "aerial_lost": 0.1437,
                "interceptions": 0.1992,
                "tackles_won": 0.123,
                "tackles": 0.3497,
                "clearances": 0.7438,
                "total_contest": 0.6603,
                "won_contest": 0.3893,
                "challenges_lost": 0.2017,
                "fouls": 0.0203,
                "fouls_drawn": 0.9513,
                "blocks": 0.0,
                "big_chances_created": 0.475,
                "big_chances_missed": 0.0,
                "xgot": 0.0769,
                "ball_carries": 6.4353,
                "total_progression": 16.6559,
                "progressive_carries": 0.2576,
                "shots_off_target": 0.5643
              },
              "params": {
                "blend_weight": 0.0063,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.244,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Barcelona"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.0 to 25.5 expected minutes (appearance prob 0.60)",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.1039,
                "assists": 0.2024,
                "assist_rate": 0.2024,
                "expected_goals": 0.0804,
                "goals": 0.0644,
                "goal_rate": 0.0644,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0892,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "expected_minutes": 25.47,
                "projection_minutes": 21.96,
                "minutes_scale": 1.1598,
                "appearance_probability": 0.597
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.1039,
                "assists": 0.2024,
                "assist_rate": 0.2024,
                "expected_goals": 0.0804,
                "goals": 0.0644,
                "goal_rate": 0.0644,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0892,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.1039,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0804,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0892,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.0771,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0558,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0619,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.8773,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 0.597
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0804,
                  "after": 0.0558
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1039,
                  "after": 0.0771
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 84.0)",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.0771,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0558,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0619,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.8773,
                "creation_factor": 1.25,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 426,
                "fifa_rank": 230.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.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.3031,
                "expected_assists": 0.0771,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0558,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0619,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0533,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8773,
                "creation_factor": 1.25,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0533,
                "goal_rate": 0.0644,
                "scorer_weight": 0.049,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0169,
                "finishing_factor": 0.8773,
                "appearance_weight": 0.597,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.3031,
                "expected_assists": 0.0771,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0558,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0619,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0533,
                "projected_assists": 0,
                "assist_probability": 0.0723,
                "finishing_factor": 0.8773,
                "creation_factor": 1.25,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0723,
                "assist_rate": 0.2024,
                "provider_weight": 0.0964,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0511,
                "creation_factor": 1.25,
                "appearance_weight": 0.597,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Karim Adeyemi": {
          "player_id": 940054,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 180,
          "market_value": 41000000,
          "stats": {
            "expected_goals": 0.1427,
            "goal_rate": 0.1492,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 1,
            "expected_assists": 0.0418,
            "key_pass": 0,
            "rating": 6.9961,
            "minutes": 19,
            "total_pass": 9,
            "accurate_pass": 8,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 3.8062,
            "dispossessed": 0.5163,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.1788,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.3523,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 24,
            "progressive_carries": 2,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.619,
            "bench_expected_minutes": 19.15,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1274,
            "projected_assists": 0,
            "assist_probability": 0.0404,
            "finishing_factor": 0.8023,
            "creation_factor": 1.25,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 22,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 19,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0387,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "key_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 13,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3701,
                "expected_assists": 0.0019,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 1.8305,
                "expected_assists": 0.5412,
                "total_shots": 8,
                "shots_on_target": 1,
                "shots_off_target": 7,
                "total_pass": 42,
                "accurate_pass": 36,
                "key_pass": 4,
                "aerial_won": 2,
                "duels_won": 12,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.648,
                "expected_assists": 0.0185,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 11,
                "tackles": 2,
                "clearances": 1,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0459,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.3099,
                "expected_assists": 0.0195,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 10,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5525,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5198,
                "expected_assists": 0.051,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 11,
                "key_pass": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 927,
            "combined_rank_score": 430.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 416.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9961,
            "source_file": "data/player_rankings.csv",
            "player_name": "Karim Adeyemi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joaquín Montecinos",
                  "ranking": 922
                },
                {
                  "player_name": "Sang-jun Lee",
                  "ranking": 923
                },
                {
                  "player_name": "Ju-an You",
                  "ranking": 924
                },
                {
                  "player_name": "Julián Brea",
                  "ranking": 925
                },
                {
                  "player_name": "Rodrigo Zalazar",
                  "ranking": 926
                }
              ],
              "lower": [
                {
                  "player_name": "Marlon Maranhão",
                  "ranking": 928
                },
                {
                  "player_name": "Islom Kenzhaboev",
                  "ranking": 929
                },
                {
                  "player_name": "Isco",
                  "ranking": 930
                },
                {
                  "player_name": "Karim Benzema",
                  "ranking": 931
                },
                {
                  "player_name": "Julen Agirrezabala",
                  "ranking": 932
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.698,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.698,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.15,
            "bench_appearance_prob": 0.619,
            "market_value_adjustment": 1.0351,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 13.0,
              "goals_per90": 1.0,
              "assists_per90": 1.0,
              "prior_reliability": 0.0667
            },
            "rationale": "Bench projection scaled from XGBoost F_service (7 historical appearances) to 19.1 expected mins (appearance prob 0.62); FBref playing time empirical prior: 2.0 sub appearances, 13.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1843,
                "goals": 0.1376,
                "goal_rate": 0.1376,
                "shots_on_target": 0.5223,
                "total_shots": 0.9037,
                "expected_assists": 0.0505,
                "key_pass": 0.4213,
                "rating": 6.9961,
                "minutes": 18.42,
                "total_pass": 8.1935,
                "accurate_pass": 7.2302,
                "duels_won": 2.1717,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2415,
                "accurate_opp_half_passes": 4.5478,
                "crosses_total": 0.6396,
                "crosses_accurate": 0.0,
                "touches": 15.2892,
                "possession_lost": 3.537,
                "dispossessed": 0.4988,
                "duels_lost": 1.8052,
                "aerial_lost": 0.0,
                "total_contest": 1.8885,
                "won_contest": 0.8885,
                "ball_recovery": 0.8344,
                "challenges_lost": 0.1656,
                "fouls": 0.1408,
                "fouls_drawn": 0.6593,
                "assists": 0.1656,
                "assist_rate": 0.1656,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4584,
                "clearances": 0.2292,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.576,
                "xgot": 0.4547,
                "offsides": 0.0,
                "ball_carries": 7.8712,
                "total_progression": 22.1216,
                "progressive_carries": 1.8688,
                "shots_off_target": 0.3814
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1595,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1356,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.6617,
                  "totalOppositionHalfPasses": 11.6516,
                  "accurateOppositionHalfPasses": 9.5102,
                  "accuratePass": 12.9023,
                  "totalShots": 2.6566
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1842547357082367,
                    "model_output": 0.1843,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0844
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0334
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0107
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0088
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0089
                        }
                      ],
                      "others": 0.0079,
                      "total": 0.1843,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.551881
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.255899
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.069784
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.053938
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.051618
                        }
                      ],
                      "others_margin": 0.043885
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13761848211288452,
                    "model_output": 0.1376,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0939
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.033
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0092
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0086
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0085
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.1376,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.61782
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.262599
                        },
                        {
                          "name": "goals",
                          "margin": 0.062572
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.058285
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.057761
                        }
                      ],
                      "others_margin": -0.099233
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5222762227058411,
                    "model_output": 0.5223,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2145
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0361
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0387
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0224
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.02
                        }
                      ],
                      "others": 0.0826,
                      "total": 0.5223,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.50988
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.106205
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.102369
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.054844
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.046581
                        }
                      ],
                      "others_margin": 0.172116
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9036676287651062,
                    "model_output": 0.9037,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7607
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1702
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1064
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0734
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0607
                        }
                      ],
                      "others": -0.0036,
                      "total": 0.9037,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.760731
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.170156
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.106388
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.0734
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.060698
                        }
                      ],
                      "others_margin": -0.003555
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05052286013960838,
                    "model_output": 0.0505,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0035
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0037
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0035
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0023
                        }
                      ],
                      "others": 0.0079,
                      "total": 0.0505,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.445456
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.082581
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.079795
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.074587
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.05188
                        }
                      ],
                      "others_margin": 0.168671
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4212621748447418,
                    "model_output": 0.4213,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3085
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.031
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.025
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0232
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0215
                        }
                      ],
                      "others": 0.0051,
                      "total": 0.4213,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.611961
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.081399
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.065034
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.060558
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.053071
                        }
                      ],
                      "others_margin": 0.012026
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.996122360229492,
                    "model_output": 6.9961,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0912
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0899
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0492
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0431
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0278
                        }
                      ],
                      "others": 0.1151,
                      "total": 6.9961,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.091159
                        },
                        {
                          "name": "rating",
                          "margin": 0.08987
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.049214
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.04308
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.027845
                        }
                      ],
                      "others_margin": 0.115111
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 7,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0351, quality 0.786)",
              "stats": {
                "expected_goals": 0.1907,
                "goals": 0.1424,
                "goal_rate": 0.1424,
                "shots_on_target": 0.5406,
                "total_shots": 0.9354,
                "expected_assists": 0.0523,
                "key_pass": 0.436,
                "rating": 6.9961,
                "minutes": 18.42,
                "total_pass": 8.4811,
                "accurate_pass": 7.484,
                "duels_won": 2.2479,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.4255,
                "accurate_opp_half_passes": 4.7074,
                "crosses_total": 0.662,
                "crosses_accurate": 0.0,
                "touches": 15.8259,
                "possession_lost": 3.6611,
                "dispossessed": 0.5163,
                "duels_lost": 1.8686,
                "aerial_lost": 0.0,
                "total_contest": 1.9548,
                "won_contest": 0.9197,
                "ball_recovery": 0.8637,
                "challenges_lost": 0.1714,
                "fouls": 0.1457,
                "fouls_drawn": 0.6824,
                "assists": 0.1714,
                "assist_rate": 0.1714,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4745,
                "clearances": 0.2372,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.5962,
                "xgot": 0.4707,
                "offsides": 0.0,
                "ball_carries": 8.1475,
                "total_progression": 22.8981,
                "progressive_carries": 1.9344,
                "shots_off_target": 0.3948
              },
              "params": {
                "market_value_eur": 41000000,
                "quality_factor": 0.7859,
                "boost_factor": 1.0351,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0181)",
              "stats": {
                "expected_goals": 0.1907,
                "goals": 0.1435,
                "goal_rate": 0.1435,
                "shots_on_target": 0.542,
                "total_shots": 0.9297,
                "expected_assists": 0.0523,
                "key_pass": 0.436,
                "rating": 6.9961,
                "minutes": 18.42,
                "total_pass": 8.4811,
                "accurate_pass": 7.484,
                "duels_won": 2.2479,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.4255,
                "accurate_opp_half_passes": 4.7074,
                "crosses_total": 0.6537,
                "crosses_accurate": 0.0,
                "touches": 15.8259,
                "possession_lost": 3.6611,
                "dispossessed": 0.5163,
                "duels_lost": 1.8686,
                "aerial_lost": 0.0,
                "total_contest": 1.9548,
                "won_contest": 0.9197,
                "ball_recovery": 0.8637,
                "challenges_lost": 0.1714,
                "fouls": 0.1468,
                "fouls_drawn": 0.6775,
                "assists": 0.172,
                "assist_rate": 0.172,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4745,
                "clearances": 0.2372,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.5962,
                "xgot": 0.4707,
                "offsides": 0.0,
                "ball_carries": 8.1475,
                "total_progression": 22.8981,
                "progressive_carries": 1.9344,
                "shots_off_target": 0.3948
              },
              "params": {
                "blend_weight": 0.0181,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2047,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.662,
                  "after": 0.6537
                },
                {
                  "stat": "totalShots",
                  "before": 0.9354,
                  "after": 0.9297
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.4 to 19.1 expected minutes (appearance prob 0.62)",
              "stats": {
                "expected_goals": 0.1983,
                "goals": 0.1492,
                "goal_rate": 0.1492,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0544,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assists": 0.1788,
                "assist_rate": 0.1788,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.4894,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15
              },
              "params": {
                "expected_minutes": 19.15,
                "projection_minutes": 18.42,
                "minutes_scale": 1.0396,
                "appearance_probability": 0.619
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1983,
                "goals": 0.1492,
                "goal_rate": 0.1492,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0544,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assists": 0.1788,
                "assist_rate": 0.1788,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.4894,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1983,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0544,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.4894,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1427,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0418,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.3523,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.8023,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 0.619
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1983,
                  "after": 0.1427
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0544,
                  "after": 0.0418
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.1427,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0418,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.3523,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.8023,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 927,
                "fifa_rank": 416.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": {
                "expected_goals": 0.1427,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0418,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.3523,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1274,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8023,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1274,
                "goal_rate": 0.1492,
                "scorer_weight": 0.1145,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0396,
                "finishing_factor": 0.8023,
                "appearance_weight": 0.619,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.1427,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0418,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.3523,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1274,
                "projected_assists": 0,
                "assist_probability": 0.0404,
                "finishing_factor": 0.8023,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0404,
                "assist_rate": 0.1788,
                "provider_weight": 0.0522,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0277,
                "creation_factor": 1.25,
                "appearance_weight": 0.619,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Gabriel Jesus": {
          "player_id": 794839,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 175,
          "market_value": 17600000,
          "stats": {
            "expected_goals": 0.0927,
            "goal_rate": 0.1789,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0334,
            "key_pass": 1,
            "rating": 6.6816,
            "minutes": 26,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 5.1169,
            "dispossessed": 0.9122,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "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.1502,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.589,
            "bench_expected_minutes": 25.96,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0858,
            "projected_assists": 0,
            "assist_probability": 0.0325,
            "finishing_factor": 1.2346,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 79,
                "rating": 6.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2509,
                "expected_assists": 0.0129,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 82,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2435,
                "expected_assists": 0.0491,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 3,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 10,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 21,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1758,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.123,
                "expected_assists": 0.222,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "key_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023963,
              "match_date": "2026-05-24",
              "home_team": "Crystal Palace",
              "away_team": "Arsenal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Arsenal",
              "opponent": "Crystal Palace",
              "stats": {
                "minutes": 75,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8793,
                "expected_assists": 0.0267,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023931,
              "match_date": "2026-05-02",
              "home_team": "Arsenal",
              "away_team": "Fulham",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Fulham",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025021,
              "match_date": "2026-04-11",
              "home_team": "Arsenal",
              "away_team": "Bournemouth",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Bournemouth",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0829,
                "expected_assists": 0.0445,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025018,
              "match_date": "2026-02-18",
              "home_team": "Wolverhampton",
              "away_team": "Arsenal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Wolverhampton",
              "stats": {
                "minutes": 25,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025158,
              "match_date": "2026-02-07",
              "home_team": "Arsenal",
              "away_team": "Sunderland",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Arsenal",
              "opponent": "Sunderland",
              "stats": {
                "minutes": 60,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0131,
                "expected_assists": 0.0329,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2126,
            "combined_rank_score": 803.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 862.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6816,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Jesus",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Edvinas Girdvainis",
                  "ranking": 2121
                },
                {
                  "player_name": "Son Seung-Min",
                  "ranking": 2122
                },
                {
                  "player_name": "Diogo Dalot",
                  "ranking": 2123
                },
                {
                  "player_name": "Ainsley Maitland-Niles",
                  "ranking": 2124
                },
                {
                  "player_name": "Crysencio Summerville",
                  "ranking": 2125
                }
              ],
              "lower": [
                {
                  "player_name": "Sepp van den Berg",
                  "ranking": 2127
                },
                {
                  "player_name": "Chan-hyung Lee",
                  "ranking": 2128
                },
                {
                  "player_name": "Sarvar Abduhamidov",
                  "ranking": 2129
                },
                {
                  "player_name": "Oleksiy Shchebetun",
                  "ranking": 2130
                },
                {
                  "player_name": "Nurzhakhon Muzaffarov",
                  "ranking": 2131
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 17,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 17,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.963015995530526,
            "bench_appearance_prob": 0.5892279997968422,
            "market_value_adjustment": 1.0069,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (17 historical appearances) to 26.0 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0945,
                "goals": 0.1248,
                "goal_rate": 0.1248,
                "shots_on_target": 0.2972,
                "total_shots": 0.734,
                "expected_assists": 0.0319,
                "key_pass": 0.3941,
                "rating": 6.6816,
                "minutes": 18.24,
                "total_pass": 6.1885,
                "accurate_pass": 4.9774,
                "duels_won": 1.4391,
                "total_long_balls": 0.1595,
                "accurate_long_balls": 0.1208,
                "total_opp_half_passes": 4.6784,
                "accurate_opp_half_passes": 3.754,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.4959,
                "possession_lost": 3.5702,
                "dispossessed": 0.9059,
                "duels_lost": 2.3977,
                "aerial_lost": 0.5841,
                "total_contest": 1.0963,
                "won_contest": 0.5741,
                "ball_recovery": 0.5859,
                "challenges_lost": 0.0202,
                "fouls": 0.3654,
                "fouls_drawn": 0.0238,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2156,
                "tackles_won": 0.0,
                "tackles": 0.2746,
                "clearances": 0.0589,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1869,
                "xgot": 0.153,
                "offsides": 0.2053,
                "ball_carries": 3.1129,
                "total_progression": 3.6068,
                "progressive_carries": 0.2872,
                "shots_off_target": 0.4367
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1601,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1361,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1157,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Crystal Palace",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0983,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Fulham",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0836,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Bournemouth",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.071,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-02-18",
                    "opponent": "Wolverhampton",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0604,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-07",
                    "opponent": "Sunderland",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0513,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-01-31",
                    "opponent": "Leeds United",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0436,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Manchester United",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0371,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 17.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1887,
                  "totalOppositionHalfPasses": 6.0524,
                  "accurateOppositionHalfPasses": 5.0841,
                  "accuratePass": 6.1646,
                  "totalShots": 1.2539
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09446373581886292,
                    "model_output": 0.0945,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.095
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.005
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0046
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0046
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0005,
                      "total": 0.0945,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.649176
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.049087
                        },
                        {
                          "name": "goals",
                          "margin": 0.045242
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.045199
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.041468
                        }
                      ],
                      "others_margin": -0.005174
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1247953325510025,
                    "model_output": 0.1248,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0893
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0086
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0072
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.007
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0051
                        }
                      ],
                      "others": -0.0035,
                      "total": 0.1248,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.576954
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.072403
                        },
                        {
                          "name": "goals",
                          "margin": 0.05655
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.055029
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.040743
                        }
                      ],
                      "others_margin": -0.027929
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2972128391265869,
                    "model_output": 0.2972,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2288
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0151
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0122
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0094
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0083
                        }
                      ],
                      "others": 0.0096,
                      "total": 0.2972,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.555218
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.050217
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.040707
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.031276
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.028313
                        }
                      ],
                      "others_margin": 0.032804
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7339552640914917,
                    "model_output": 0.734,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5778
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1063
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0401
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0328
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0321
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.734,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.577812
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.106271
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.040078
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.03277
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.032064
                        }
                      ],
                      "others_margin": -0.001452
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.031879179179668427,
                    "model_output": 0.0319,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0202
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0062
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0029
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0027
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0027
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.0319,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.377424
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.151362
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.079235
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.074691
                        },
                        {
                          "name": "rating",
                          "margin": 0.069337
                        }
                      ],
                      "others_margin": -0.237355
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3941189646720886,
                    "model_output": 0.3941,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2532
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0293
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0257
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0213
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0128
                        }
                      ],
                      "others": 0.0198,
                      "total": 0.3941,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.471126
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.072148
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.067873
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.056549
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.033607
                        }
                      ],
                      "others_margin": 0.051663
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6815972328186035,
                    "model_output": 6.6816,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0585
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0186
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0165
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0128
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.012
                        }
                      ],
                      "others": -0.0192,
                      "total": 6.6816,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.05855
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.018585
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.016489
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.012758
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.012013
                        }
                      ],
                      "others_margin": -0.019173
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 17,
                  "role_matches": 14,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0069, quality 0.607)",
              "stats": {
                "expected_goals": 0.0951,
                "goals": 0.1257,
                "goal_rate": 0.1257,
                "shots_on_target": 0.2993,
                "total_shots": 0.739,
                "expected_assists": 0.0321,
                "key_pass": 0.3968,
                "rating": 6.6816,
                "minutes": 18.24,
                "total_pass": 6.2312,
                "accurate_pass": 5.0117,
                "duels_won": 1.449,
                "total_long_balls": 0.1606,
                "accurate_long_balls": 0.1216,
                "total_opp_half_passes": 4.7107,
                "accurate_opp_half_passes": 3.7799,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.5752,
                "possession_lost": 3.5948,
                "dispossessed": 0.9122,
                "duels_lost": 2.4142,
                "aerial_lost": 0.5881,
                "total_contest": 1.1039,
                "won_contest": 0.5781,
                "ball_recovery": 0.5899,
                "challenges_lost": 0.0203,
                "fouls": 0.3679,
                "fouls_drawn": 0.024,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2171,
                "tackles_won": 0.0,
                "tackles": 0.2765,
                "clearances": 0.0593,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1882,
                "xgot": 0.1541,
                "offsides": 0.2067,
                "ball_carries": 3.1344,
                "total_progression": 3.6317,
                "progressive_carries": 0.2892,
                "shots_off_target": 0.4397
              },
              "params": {
                "market_value_eur": 17600000,
                "quality_factor": 0.6068,
                "boost_factor": 1.0069,
                "reference_quality": 0.505,
                "history_matches": 17,
                "history_shrink": 0.2273,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.2 to 26.0 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.1354,
                "goals": 0.1789,
                "goal_rate": 0.1789,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0457,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.2193,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "expected_minutes": 25.96,
                "projection_minutes": 18.24,
                "minutes_scale": 1.4234,
                "appearance_probability": 0.589
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1354,
                "goals": 0.1789,
                "goal_rate": 0.1789,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0457,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.2193,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1354,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0457,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.2193,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0927,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0334,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.1502,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.2346,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 0.589
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1354,
                  "after": 0.0927
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0457,
                  "after": 0.0334
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.0927,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0334,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.1502,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.2346,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2126,
                "fifa_rank": 862.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.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.0927,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0334,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.1502,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0858,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2346,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0858,
                "goal_rate": 0.1789,
                "scorer_weight": 0.1144,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0396,
                "finishing_factor": 1.2346,
                "appearance_weight": 0.589,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.0927,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0334,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.1502,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0858,
                "projected_assists": 0,
                "assist_probability": 0.0325,
                "finishing_factor": 1.2346,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0325,
                "assist_rate": 0.0,
                "provider_weight": 0.0267,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0142,
                "creation_factor": 0.8,
                "appearance_weight": 0.589,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Karim Adeyemi": {
          "player_id": 940054,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 180,
          "market_value": 41000000,
          "stats": {
            "expected_goals": 0.1427,
            "goal_rate": 0.1492,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 1,
            "expected_assists": 0.0418,
            "key_pass": 0,
            "rating": 6.9961,
            "minutes": 19,
            "total_pass": 9,
            "accurate_pass": 8,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 3.8062,
            "dispossessed": 0.5163,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.1788,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.3523,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 24,
            "progressive_carries": 2,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.619,
            "bench_expected_minutes": 19.15,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1274,
            "projected_assists": 0,
            "assist_probability": 0.0404,
            "finishing_factor": 0.8023,
            "creation_factor": 1.25,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 22,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 19,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0387,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "key_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 13,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3701,
                "expected_assists": 0.0019,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 1.8305,
                "expected_assists": 0.5412,
                "total_shots": 8,
                "shots_on_target": 1,
                "shots_off_target": 7,
                "total_pass": 42,
                "accurate_pass": 36,
                "key_pass": 4,
                "aerial_won": 2,
                "duels_won": 12,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.648,
                "expected_assists": 0.0185,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 11,
                "tackles": 2,
                "clearances": 1,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0459,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.3099,
                "expected_assists": 0.0195,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 10,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5525,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5198,
                "expected_assists": 0.051,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 11,
                "key_pass": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 927,
            "combined_rank_score": 430.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 416.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9961,
            "source_file": "data/player_rankings.csv",
            "player_name": "Karim Adeyemi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joaquín Montecinos",
                  "ranking": 922
                },
                {
                  "player_name": "Sang-jun Lee",
                  "ranking": 923
                },
                {
                  "player_name": "Ju-an You",
                  "ranking": 924
                },
                {
                  "player_name": "Julián Brea",
                  "ranking": 925
                },
                {
                  "player_name": "Rodrigo Zalazar",
                  "ranking": 926
                }
              ],
              "lower": [
                {
                  "player_name": "Marlon Maranhão",
                  "ranking": 928
                },
                {
                  "player_name": "Islom Kenzhaboev",
                  "ranking": 929
                },
                {
                  "player_name": "Isco",
                  "ranking": 930
                },
                {
                  "player_name": "Karim Benzema",
                  "ranking": 931
                },
                {
                  "player_name": "Julen Agirrezabala",
                  "ranking": 932
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.698,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.698,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.15,
            "bench_appearance_prob": 0.619,
            "market_value_adjustment": 1.0351,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 13.0,
              "goals_per90": 1.0,
              "assists_per90": 1.0,
              "prior_reliability": 0.0667
            },
            "rationale": "Bench projection scaled from XGBoost F_service (7 historical appearances) to 19.1 expected mins (appearance prob 0.62); FBref playing time empirical prior: 2.0 sub appearances, 13.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1843,
                "goals": 0.1376,
                "goal_rate": 0.1376,
                "shots_on_target": 0.5223,
                "total_shots": 0.9037,
                "expected_assists": 0.0505,
                "key_pass": 0.4213,
                "rating": 6.9961,
                "minutes": 18.42,
                "total_pass": 8.1935,
                "accurate_pass": 7.2302,
                "duels_won": 2.1717,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2415,
                "accurate_opp_half_passes": 4.5478,
                "crosses_total": 0.6396,
                "crosses_accurate": 0.0,
                "touches": 15.2892,
                "possession_lost": 3.537,
                "dispossessed": 0.4988,
                "duels_lost": 1.8052,
                "aerial_lost": 0.0,
                "total_contest": 1.8885,
                "won_contest": 0.8885,
                "ball_recovery": 0.8344,
                "challenges_lost": 0.1656,
                "fouls": 0.1408,
                "fouls_drawn": 0.6593,
                "assists": 0.1656,
                "assist_rate": 0.1656,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4584,
                "clearances": 0.2292,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.576,
                "xgot": 0.4547,
                "offsides": 0.0,
                "ball_carries": 7.8712,
                "total_progression": 22.1216,
                "progressive_carries": 1.8688,
                "shots_off_target": 0.3814
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1595,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1356,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.6617,
                  "totalOppositionHalfPasses": 11.6516,
                  "accurateOppositionHalfPasses": 9.5102,
                  "accuratePass": 12.9023,
                  "totalShots": 2.6566
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1842547357082367,
                    "model_output": 0.1843,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0844
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0334
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0107
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0088
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0089
                        }
                      ],
                      "others": 0.0079,
                      "total": 0.1843,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.551881
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.255899
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.069784
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.053938
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.051618
                        }
                      ],
                      "others_margin": 0.043885
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13761848211288452,
                    "model_output": 0.1376,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0939
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.033
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0092
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0086
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0085
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.1376,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.61782
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.262599
                        },
                        {
                          "name": "goals",
                          "margin": 0.062572
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.058285
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.057761
                        }
                      ],
                      "others_margin": -0.099233
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5222762227058411,
                    "model_output": 0.5223,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2145
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0361
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0387
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0224
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.02
                        }
                      ],
                      "others": 0.0826,
                      "total": 0.5223,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.50988
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.106205
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.102369
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.054844
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.046581
                        }
                      ],
                      "others_margin": 0.172116
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9036676287651062,
                    "model_output": 0.9037,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7607
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1702
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1064
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0734
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0607
                        }
                      ],
                      "others": -0.0036,
                      "total": 0.9037,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.760731
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.170156
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.106388
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.0734
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.060698
                        }
                      ],
                      "others_margin": -0.003555
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05052286013960838,
                    "model_output": 0.0505,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0035
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0037
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0035
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0023
                        }
                      ],
                      "others": 0.0079,
                      "total": 0.0505,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.445456
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.082581
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.079795
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.074587
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.05188
                        }
                      ],
                      "others_margin": 0.168671
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4212621748447418,
                    "model_output": 0.4213,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3085
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.031
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.025
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0232
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0215
                        }
                      ],
                      "others": 0.0051,
                      "total": 0.4213,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.611961
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.081399
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.065034
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.060558
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.053071
                        }
                      ],
                      "others_margin": 0.012026
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.996122360229492,
                    "model_output": 6.9961,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0912
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0899
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0492
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0431
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0278
                        }
                      ],
                      "others": 0.1151,
                      "total": 6.9961,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.091159
                        },
                        {
                          "name": "rating",
                          "margin": 0.08987
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.049214
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.04308
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.027845
                        }
                      ],
                      "others_margin": 0.115111
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 7,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0351, quality 0.786)",
              "stats": {
                "expected_goals": 0.1907,
                "goals": 0.1424,
                "goal_rate": 0.1424,
                "shots_on_target": 0.5406,
                "total_shots": 0.9354,
                "expected_assists": 0.0523,
                "key_pass": 0.436,
                "rating": 6.9961,
                "minutes": 18.42,
                "total_pass": 8.4811,
                "accurate_pass": 7.484,
                "duels_won": 2.2479,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.4255,
                "accurate_opp_half_passes": 4.7074,
                "crosses_total": 0.662,
                "crosses_accurate": 0.0,
                "touches": 15.8259,
                "possession_lost": 3.6611,
                "dispossessed": 0.5163,
                "duels_lost": 1.8686,
                "aerial_lost": 0.0,
                "total_contest": 1.9548,
                "won_contest": 0.9197,
                "ball_recovery": 0.8637,
                "challenges_lost": 0.1714,
                "fouls": 0.1457,
                "fouls_drawn": 0.6824,
                "assists": 0.1714,
                "assist_rate": 0.1714,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4745,
                "clearances": 0.2372,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.5962,
                "xgot": 0.4707,
                "offsides": 0.0,
                "ball_carries": 8.1475,
                "total_progression": 22.8981,
                "progressive_carries": 1.9344,
                "shots_off_target": 0.3948
              },
              "params": {
                "market_value_eur": 41000000,
                "quality_factor": 0.7859,
                "boost_factor": 1.0351,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0181)",
              "stats": {
                "expected_goals": 0.1907,
                "goals": 0.1435,
                "goal_rate": 0.1435,
                "shots_on_target": 0.542,
                "total_shots": 0.9297,
                "expected_assists": 0.0523,
                "key_pass": 0.436,
                "rating": 6.9961,
                "minutes": 18.42,
                "total_pass": 8.4811,
                "accurate_pass": 7.484,
                "duels_won": 2.2479,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.4255,
                "accurate_opp_half_passes": 4.7074,
                "crosses_total": 0.6537,
                "crosses_accurate": 0.0,
                "touches": 15.8259,
                "possession_lost": 3.6611,
                "dispossessed": 0.5163,
                "duels_lost": 1.8686,
                "aerial_lost": 0.0,
                "total_contest": 1.9548,
                "won_contest": 0.9197,
                "ball_recovery": 0.8637,
                "challenges_lost": 0.1714,
                "fouls": 0.1468,
                "fouls_drawn": 0.6775,
                "assists": 0.172,
                "assist_rate": 0.172,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4745,
                "clearances": 0.2372,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.5962,
                "xgot": 0.4707,
                "offsides": 0.0,
                "ball_carries": 8.1475,
                "total_progression": 22.8981,
                "progressive_carries": 1.9344,
                "shots_off_target": 0.3948
              },
              "params": {
                "blend_weight": 0.0181,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2047,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.662,
                  "after": 0.6537
                },
                {
                  "stat": "totalShots",
                  "before": 0.9354,
                  "after": 0.9297
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.4 to 19.1 expected minutes (appearance prob 0.62)",
              "stats": {
                "expected_goals": 0.1983,
                "goals": 0.1492,
                "goal_rate": 0.1492,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0544,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assists": 0.1788,
                "assist_rate": 0.1788,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.4894,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15
              },
              "params": {
                "expected_minutes": 19.15,
                "projection_minutes": 18.42,
                "minutes_scale": 1.0396,
                "appearance_probability": 0.619
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1983,
                "goals": 0.1492,
                "goal_rate": 0.1492,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0544,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assists": 0.1788,
                "assist_rate": 0.1788,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.4894,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1983,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0544,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.4894,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1427,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0418,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.3523,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.8023,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 0.619
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1983,
                  "after": 0.1427
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0544,
                  "after": 0.0418
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.1427,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0418,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.3523,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.8023,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 927,
                "fifa_rank": 416.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": {
                "expected_goals": 0.1427,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0418,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.3523,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1274,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8023,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1274,
                "goal_rate": 0.1492,
                "scorer_weight": 0.1145,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0396,
                "finishing_factor": 0.8023,
                "appearance_weight": 0.619,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.1427,
                "goal_rate": 0.1492,
                "goals": 0,
                "shots_on_target": 0.5635,
                "total_shots": 0.9739,
                "expected_assists": 0.0418,
                "key_pass": 0.4533,
                "rating": 6.9961,
                "minutes": 19.15,
                "total_pass": 8.8172,
                "accurate_pass": 7.7806,
                "duels_won": 2.337,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.6405,
                "accurate_opp_half_passes": 4.894,
                "crosses_total": 0.6796,
                "crosses_accurate": 0.0,
                "touches": 16.4531,
                "possession_lost": 3.8062,
                "dispossessed": 0.5163,
                "duels_lost": 1.9427,
                "aerial_lost": 0.0,
                "total_contest": 2.0323,
                "won_contest": 0.9561,
                "ball_recovery": 0.8979,
                "challenges_lost": 0.1714,
                "fouls": 0.1526,
                "fouls_drawn": 0.7043,
                "assist_rate": 0.1788,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.4933,
                "clearances": 0.2466,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.6198,
                "xgot": 0.3523,
                "offsides": 0.0,
                "ball_carries": 8.4704,
                "total_progression": 23.8056,
                "progressive_carries": 2.0111,
                "shots_off_target": 0.4104,
                "bench_appearance_probability": 0.619,
                "bench_expected_minutes": 19.15,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1274,
                "projected_assists": 0,
                "assist_probability": 0.0404,
                "finishing_factor": 0.8023,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0404,
                "assist_rate": 0.1788,
                "provider_weight": 0.0522,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0277,
                "creation_factor": 1.25,
                "appearance_weight": 0.619,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Dani Olmo": {
          "player_id": 789071,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 182,
          "market_value": 58000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0771,
            "assist_rate": 0.2024,
            "assists": 0,
            "expected_goals": 0.0558,
            "goal_rate": 0.0644,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0013,
            "minutes": 25,
            "total_pass": 21,
            "accurate_pass": 19,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 14,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 28,
            "possession_lost": 3.2916,
            "dispossessed": 0.4762,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.0619,
            "ball_carries": 7,
            "total_progression": 19,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.597,
            "bench_expected_minutes": 25.47,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0533,
            "projected_assists": 0,
            "assist_probability": 0.0723,
            "finishing_factor": 0.8773,
            "creation_factor": 1.25,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 28,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1,
                "expected_assists": 0.0445,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 19,
                "accurate_pass": 18,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 61,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2181,
                "expected_assists": 0.0986,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 33,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 14,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0865,
                "expected_assists": 0.0233,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 19,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.261,
                "expected_assists": 0.6775,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 60,
                "accurate_pass": 60,
                "key_pass": 6,
                "tackles": 1,
                "interceptions": 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"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 24,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0348,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 25,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 15,
                "rating": 7.9,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1952,
                "expected_assists": 0.4391,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 64,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0755,
                "expected_assists": 0.5023,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0193,
                "expected_assists": 0.2054,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1185,
                "expected_assists": 0.0063,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 15,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0245,
                "expected_assists": 0.2054,
                "total_shots": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 426,
            "combined_rank_score": 261.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 230.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0013,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Olmo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ismoilbek Usmonxo'jayev",
                  "ranking": 421
                },
                {
                  "player_name": "Seok-joo Yoon",
                  "ranking": 422
                },
                {
                  "player_name": "Harry Wilson",
                  "ranking": 423
                },
                {
                  "player_name": "Christos Tzolis",
                  "ranking": 424
                },
                {
                  "player_name": "Nordi Mukiele",
                  "ranking": 425
                }
              ],
              "lower": [
                {
                  "player_name": "Piotr Zieliński",
                  "ranking": 427
                },
                {
                  "player_name": "Anvar Gofurov",
                  "ranking": 428
                },
                {
                  "player_name": "Ibrokhimkhalil Yuldoshev",
                  "ranking": 429
                },
                {
                  "player_name": "Iliman Ndiaye",
                  "ranking": 430
                },
                {
                  "player_name": "Lisandro Martínez",
                  "ranking": 431
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.763,
          "history_matches": 40,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.47,
            "bench_appearance_prob": 0.597,
            "market_value_adjustment": 1.0114,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 27.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (40 historical appearances) to 25.5 expected mins (appearance prob 0.60); FBref playing time empirical prior: 2.0 sub appearances, 27.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.1108,
                "expected_assists": 0.0886,
                "assists": 0.1736,
                "assist_rate": 0.1736,
                "expected_goals": 0.0685,
                "goals": 0.0552,
                "goal_rate": 0.0552,
                "shots_on_target": 0.2284,
                "total_shots": 0.7863,
                "rating": 7.0013,
                "minutes": 21.96,
                "total_pass": 17.7865,
                "accurate_pass": 16.5258,
                "duels_won": 1.9842,
                "total_long_balls": 0.9875,
                "accurate_long_balls": 0.8241,
                "total_own_half_passes": 5.5757,
                "accurate_own_half_passes": 5.3782,
                "total_opp_half_passes": 12.2108,
                "accurate_opp_half_passes": 11.1476,
                "crosses_total": 0.3344,
                "crosses_accurate": 0.1027,
                "touches": 23.9138,
                "possession_lost": 2.806,
                "dispossessed": 0.4708,
                "duels_lost": 1.1005,
                "aerial_won": 0.3094,
                "aerial_lost": 0.1421,
                "interceptions": 0.1982,
                "tackles_won": 0.1224,
                "tackles": 0.3458,
                "clearances": 0.7354,
                "total_contest": 0.6529,
                "won_contest": 0.3849,
                "challenges_lost": 0.1994,
                "fouls": 0.0202,
                "fouls_drawn": 0.9441,
                "blocks": 0.0,
                "big_chances_created": 0.4696,
                "big_chances_missed": 0.0,
                "xgot": 0.076,
                "ball_carries": 6.3628,
                "total_progression": 16.4682,
                "progressive_carries": 0.2547,
                "shots_off_target": 0.5579
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.4674,
                  "creative_index": 0.8177,
                  "expectedGoals": 0.1213,
                  "expectedAssists": 0.2307,
                  "onTargetScoringAttempt": 0.2976
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1108057498931885,
                    "model_output": 1.1108,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4194
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1121
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.106
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.042
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0418
                        }
                      ],
                      "others": 0.3421,
                      "total": 1.1108,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.641015
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.215209
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.168157
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.059494
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.055885
                        }
                      ],
                      "others_margin": 0.36817
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08855967223644257,
                    "model_output": 0.0886,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0375
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0084
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0039
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.0037
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0031
                        }
                      ],
                      "others": 0.0212,
                      "total": 0.0886,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.574182
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.160431
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.06677
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.058673
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.047369
                        }
                      ],
                      "others_margin": 0.272907
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.17364907264709473,
                    "model_output": 0.1736,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0157
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.016
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0157
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0112
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0089
                        }
                      ],
                      "others": 0.0523,
                      "total": 0.1736,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.169291
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.14671
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.144618
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.105382
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.076468
                        }
                      ],
                      "others_margin": 0.358456
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06848058104515076,
                    "model_output": 0.0685,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0398
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0079
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0084
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0062
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0043
                        }
                      ],
                      "others": -0.0129,
                      "total": 0.0685,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.546981
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.135648
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.126234
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.08398
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.054509
                        }
                      ],
                      "others_margin": -0.174678
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05521314591169357,
                    "model_output": 0.0552,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0401
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0099
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0066
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0058
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0054
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.0552,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.529484
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.158825
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.103396
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.100218
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.093642
                        }
                      ],
                      "others_margin": -0.089509
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22843042016029358,
                    "model_output": 0.2284,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.139
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0447
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0234
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0147
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0108
                        }
                      ],
                      "others": -0.0286,
                      "total": 0.2284,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.560528
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.216336
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.09693
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.056595
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.041209
                        }
                      ],
                      "others_margin": -0.117609
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7863337993621826,
                    "model_output": 0.7863,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.535
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2314
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0728
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0402
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0332
                        }
                      ],
                      "others": -0.0468,
                      "total": 0.7863,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535004
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.231373
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.072829
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.040156
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.033189
                        }
                      ],
                      "others_margin": -0.046674
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.001262664794922,
                    "model_output": 7.0013,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1119
                        },
                        {
                          "name": "rating",
                          "contribution": 0.1099
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0385
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0232
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0229
                        }
                      ],
                      "others": 0.0698,
                      "total": 7.0013,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.111852
                        },
                        {
                          "name": "rating",
                          "margin": 0.109871
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.03852
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.023232
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.022886
                        }
                      ],
                      "others_margin": 0.069736
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "role_matches": 14,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0114, quality 0.848)",
              "stats": {
                "key_pass": 1.1235,
                "expected_assists": 0.0896,
                "assists": 0.1756,
                "assist_rate": 0.1756,
                "expected_goals": 0.0693,
                "goals": 0.0558,
                "goal_rate": 0.0558,
                "shots_on_target": 0.231,
                "total_shots": 0.7953,
                "rating": 7.0013,
                "minutes": 21.96,
                "total_pass": 17.9893,
                "accurate_pass": 16.7142,
                "duels_won": 2.0068,
                "total_long_balls": 0.9988,
                "accurate_long_balls": 0.8335,
                "total_own_half_passes": 5.6393,
                "accurate_own_half_passes": 5.4395,
                "total_opp_half_passes": 12.35,
                "accurate_opp_half_passes": 11.2747,
                "crosses_total": 0.3382,
                "crosses_accurate": 0.1039,
                "touches": 24.1864,
                "possession_lost": 2.838,
                "dispossessed": 0.4762,
                "duels_lost": 1.113,
                "aerial_won": 0.3129,
                "aerial_lost": 0.1437,
                "interceptions": 0.2005,
                "tackles_won": 0.1238,
                "tackles": 0.3497,
                "clearances": 0.7438,
                "total_contest": 0.6603,
                "won_contest": 0.3893,
                "challenges_lost": 0.2017,
                "fouls": 0.0204,
                "fouls_drawn": 0.9549,
                "blocks": 0.0,
                "big_chances_created": 0.475,
                "big_chances_missed": 0.0,
                "xgot": 0.0769,
                "ball_carries": 6.4353,
                "total_progression": 16.6559,
                "progressive_carries": 0.2576,
                "shots_off_target": 0.5643
              },
              "params": {
                "market_value_eur": 58000000,
                "quality_factor": 0.8478,
                "boost_factor": 1.0114,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0063)",
              "stats": {
                "key_pass": 1.1235,
                "expected_assists": 0.0896,
                "assists": 0.1745,
                "assist_rate": 0.1745,
                "expected_goals": 0.0693,
                "goals": 0.0555,
                "goal_rate": 0.0555,
                "shots_on_target": 0.2307,
                "total_shots": 0.795,
                "rating": 7.0013,
                "minutes": 21.96,
                "total_pass": 17.9893,
                "accurate_pass": 16.7142,
                "duels_won": 2.0068,
                "total_long_balls": 0.9988,
                "accurate_long_balls": 0.8335,
                "total_own_half_passes": 5.6393,
                "accurate_own_half_passes": 5.4395,
                "total_opp_half_passes": 12.35,
                "accurate_opp_half_passes": 11.2747,
                "crosses_total": 0.3396,
                "crosses_accurate": 0.1039,
                "touches": 24.1864,
                "possession_lost": 2.838,
                "dispossessed": 0.4762,
                "duels_lost": 1.113,
                "aerial_won": 0.3129,
                "aerial_lost": 0.1437,
                "interceptions": 0.1992,
                "tackles_won": 0.123,
                "tackles": 0.3497,
                "clearances": 0.7438,
                "total_contest": 0.6603,
                "won_contest": 0.3893,
                "challenges_lost": 0.2017,
                "fouls": 0.0203,
                "fouls_drawn": 0.9513,
                "blocks": 0.0,
                "big_chances_created": 0.475,
                "big_chances_missed": 0.0,
                "xgot": 0.0769,
                "ball_carries": 6.4353,
                "total_progression": 16.6559,
                "progressive_carries": 0.2576,
                "shots_off_target": 0.5643
              },
              "params": {
                "blend_weight": 0.0063,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.244,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Barcelona"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.0 to 25.5 expected minutes (appearance prob 0.60)",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.1039,
                "assists": 0.2024,
                "assist_rate": 0.2024,
                "expected_goals": 0.0804,
                "goals": 0.0644,
                "goal_rate": 0.0644,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0892,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "expected_minutes": 25.47,
                "projection_minutes": 21.96,
                "minutes_scale": 1.1598,
                "appearance_probability": 0.597
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.1039,
                "assists": 0.2024,
                "assist_rate": 0.2024,
                "expected_goals": 0.0804,
                "goals": 0.0644,
                "goal_rate": 0.0644,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0892,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.1039,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0804,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0892,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.0771,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0558,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0619,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.8773,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 0.597
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0804,
                  "after": 0.0558
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1039,
                  "after": 0.0771
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 84.0)",
              "stats": {
                "key_pass": 1.3031,
                "expected_assists": 0.0771,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0558,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0619,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.8773,
                "creation_factor": 1.25,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 426,
                "fifa_rank": 230.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.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.3031,
                "expected_assists": 0.0771,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0558,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0619,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0533,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8773,
                "creation_factor": 1.25,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0533,
                "goal_rate": 0.0644,
                "scorer_weight": 0.049,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0169,
                "finishing_factor": 0.8773,
                "appearance_weight": 0.597,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.3031,
                "expected_assists": 0.0771,
                "assist_rate": 0.2024,
                "assists": 0,
                "expected_goals": 0.0558,
                "goal_rate": 0.0644,
                "goals": 0,
                "shots_on_target": 0.2676,
                "total_shots": 0.9221,
                "rating": 7.0013,
                "minutes": 25.47,
                "total_pass": 20.8646,
                "accurate_pass": 19.3857,
                "duels_won": 2.3276,
                "total_long_balls": 1.1584,
                "accurate_long_balls": 0.9667,
                "total_own_half_passes": 6.5407,
                "accurate_own_half_passes": 6.3089,
                "total_opp_half_passes": 14.324,
                "accurate_opp_half_passes": 13.0768,
                "crosses_total": 0.3939,
                "crosses_accurate": 0.1205,
                "touches": 28.0523,
                "possession_lost": 3.2916,
                "dispossessed": 0.4762,
                "duels_lost": 1.2909,
                "aerial_won": 0.3629,
                "aerial_lost": 0.1437,
                "interceptions": 0.231,
                "tackles_won": 0.1427,
                "tackles": 0.4056,
                "clearances": 0.8627,
                "total_contest": 0.7658,
                "won_contest": 0.4515,
                "challenges_lost": 0.2017,
                "fouls": 0.0235,
                "fouls_drawn": 1.1034,
                "blocks": 0.0,
                "big_chances_created": 0.5509,
                "big_chances_missed": 0.0,
                "xgot": 0.0619,
                "ball_carries": 7.4639,
                "total_progression": 19.3181,
                "progressive_carries": 0.2988,
                "shots_off_target": 0.6545,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0533,
                "projected_assists": 0,
                "assist_probability": 0.0723,
                "finishing_factor": 0.8773,
                "creation_factor": 1.25,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0723,
                "assist_rate": 0.2024,
                "provider_weight": 0.0964,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0511,
                "creation_factor": 1.25,
                "appearance_weight": 0.597,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        },
        "Gabriel Jesus": {
          "player_id": 794839,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 175,
          "market_value": 17600000,
          "stats": {
            "expected_goals": 0.0927,
            "goal_rate": 0.1789,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0334,
            "key_pass": 1,
            "rating": 6.6816,
            "minutes": 26,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 5.1169,
            "dispossessed": 0.9122,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "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.1502,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.589,
            "bench_expected_minutes": 25.96,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.886,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0858,
            "projected_assists": 0,
            "assist_probability": 0.0325,
            "finishing_factor": 1.2346,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421068,
              "match_date": "2026-10-17 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Betis",
              "away_team": "Barcelona",
              "home_score_current": 2.0,
              "away_score_current": 5.0,
              "team_side": "away",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 79,
                "rating": 6.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2509,
                "expected_assists": 0.0129,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421060,
              "match_date": "2026-10-10 16:30:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Barcelona",
              "away_team": "Getafe",
              "home_score_current": 3.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 82,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2435,
                "expected_assists": 0.0491,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 3,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 10,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 21,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1758,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.123,
                "expected_assists": 0.222,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "key_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023963,
              "match_date": "2026-05-24",
              "home_team": "Crystal Palace",
              "away_team": "Arsenal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Arsenal",
              "opponent": "Crystal Palace",
              "stats": {
                "minutes": 75,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8793,
                "expected_assists": 0.0267,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023931,
              "match_date": "2026-05-02",
              "home_team": "Arsenal",
              "away_team": "Fulham",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Fulham",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025021,
              "match_date": "2026-04-11",
              "home_team": "Arsenal",
              "away_team": "Bournemouth",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Bournemouth",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0829,
                "expected_assists": 0.0445,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025018,
              "match_date": "2026-02-18",
              "home_team": "Wolverhampton",
              "away_team": "Arsenal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Wolverhampton",
              "stats": {
                "minutes": 25,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025158,
              "match_date": "2026-02-07",
              "home_team": "Arsenal",
              "away_team": "Sunderland",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Arsenal",
              "opponent": "Sunderland",
              "stats": {
                "minutes": 60,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0131,
                "expected_assists": 0.0329,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2126,
            "combined_rank_score": 803.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 862.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6816,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Jesus",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Edvinas Girdvainis",
                  "ranking": 2121
                },
                {
                  "player_name": "Son Seung-Min",
                  "ranking": 2122
                },
                {
                  "player_name": "Diogo Dalot",
                  "ranking": 2123
                },
                {
                  "player_name": "Ainsley Maitland-Niles",
                  "ranking": 2124
                },
                {
                  "player_name": "Crysencio Summerville",
                  "ranking": 2125
                }
              ],
              "lower": [
                {
                  "player_name": "Sepp van den Berg",
                  "ranking": 2127
                },
                {
                  "player_name": "Chan-hyung Lee",
                  "ranking": 2128
                },
                {
                  "player_name": "Sarvar Abduhamidov",
                  "ranking": 2129
                },
                {
                  "player_name": "Oleksiy Shchebetun",
                  "ranking": 2130
                },
                {
                  "player_name": "Nurzhakhon Muzaffarov",
                  "ranking": 2131
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 17,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 17,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.963015995530526,
            "bench_appearance_prob": 0.5892279997968422,
            "market_value_adjustment": 1.0069,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (17 historical appearances) to 26.0 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0945,
                "goals": 0.1248,
                "goal_rate": 0.1248,
                "shots_on_target": 0.2972,
                "total_shots": 0.734,
                "expected_assists": 0.0319,
                "key_pass": 0.3941,
                "rating": 6.6816,
                "minutes": 18.24,
                "total_pass": 6.1885,
                "accurate_pass": 4.9774,
                "duels_won": 1.4391,
                "total_long_balls": 0.1595,
                "accurate_long_balls": 0.1208,
                "total_opp_half_passes": 4.6784,
                "accurate_opp_half_passes": 3.754,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.4959,
                "possession_lost": 3.5702,
                "dispossessed": 0.9059,
                "duels_lost": 2.3977,
                "aerial_lost": 0.5841,
                "total_contest": 1.0963,
                "won_contest": 0.5741,
                "ball_recovery": 0.5859,
                "challenges_lost": 0.0202,
                "fouls": 0.3654,
                "fouls_drawn": 0.0238,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2156,
                "tackles_won": 0.0,
                "tackles": 0.2746,
                "clearances": 0.0589,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1869,
                "xgot": 0.153,
                "offsides": 0.2053,
                "ball_carries": 3.1129,
                "total_progression": 3.6068,
                "progressive_carries": 0.2872,
                "shots_off_target": 0.4367
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1601,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1361,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1157,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Crystal Palace",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0983,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Fulham",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0836,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Bournemouth",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.071,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-02-18",
                    "opponent": "Wolverhampton",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0604,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-07",
                    "opponent": "Sunderland",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0513,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-01-31",
                    "opponent": "Leeds United",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0436,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Manchester United",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0371,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 17.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1887,
                  "totalOppositionHalfPasses": 6.0524,
                  "accurateOppositionHalfPasses": 5.0841,
                  "accuratePass": 6.1646,
                  "totalShots": 1.2539
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09446373581886292,
                    "model_output": 0.0945,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.095
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.005
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0046
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0046
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0005,
                      "total": 0.0945,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.649176
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.049087
                        },
                        {
                          "name": "goals",
                          "margin": 0.045242
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.045199
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.041468
                        }
                      ],
                      "others_margin": -0.005174
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1247953325510025,
                    "model_output": 0.1248,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0893
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0086
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0072
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.007
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0051
                        }
                      ],
                      "others": -0.0035,
                      "total": 0.1248,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.576954
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.072403
                        },
                        {
                          "name": "goals",
                          "margin": 0.05655
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.055029
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.040743
                        }
                      ],
                      "others_margin": -0.027929
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2972128391265869,
                    "model_output": 0.2972,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2288
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0151
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0122
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0094
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0083
                        }
                      ],
                      "others": 0.0096,
                      "total": 0.2972,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.555218
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.050217
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.040707
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.031276
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.028313
                        }
                      ],
                      "others_margin": 0.032804
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7339552640914917,
                    "model_output": 0.734,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5778
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1063
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0401
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0328
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0321
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.734,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.577812
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.106271
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.040078
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.03277
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.032064
                        }
                      ],
                      "others_margin": -0.001452
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.031879179179668427,
                    "model_output": 0.0319,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0202
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0062
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0029
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0027
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0027
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.0319,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.377424
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.151362
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.079235
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.074691
                        },
                        {
                          "name": "rating",
                          "margin": 0.069337
                        }
                      ],
                      "others_margin": -0.237355
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3941189646720886,
                    "model_output": 0.3941,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2532
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0293
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0257
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0213
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0128
                        }
                      ],
                      "others": 0.0198,
                      "total": 0.3941,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.471126
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.072148
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.067873
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.056549
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.033607
                        }
                      ],
                      "others_margin": 0.051663
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6815972328186035,
                    "model_output": 6.6816,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0585
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0186
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0165
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0128
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.012
                        }
                      ],
                      "others": -0.0192,
                      "total": 6.6816,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.05855
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.018585
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.016489
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.012758
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.012013
                        }
                      ],
                      "others_margin": -0.019173
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 17,
                  "role_matches": 14,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0069, quality 0.607)",
              "stats": {
                "expected_goals": 0.0951,
                "goals": 0.1257,
                "goal_rate": 0.1257,
                "shots_on_target": 0.2993,
                "total_shots": 0.739,
                "expected_assists": 0.0321,
                "key_pass": 0.3968,
                "rating": 6.6816,
                "minutes": 18.24,
                "total_pass": 6.2312,
                "accurate_pass": 5.0117,
                "duels_won": 1.449,
                "total_long_balls": 0.1606,
                "accurate_long_balls": 0.1216,
                "total_opp_half_passes": 4.7107,
                "accurate_opp_half_passes": 3.7799,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.5752,
                "possession_lost": 3.5948,
                "dispossessed": 0.9122,
                "duels_lost": 2.4142,
                "aerial_lost": 0.5881,
                "total_contest": 1.1039,
                "won_contest": 0.5781,
                "ball_recovery": 0.5899,
                "challenges_lost": 0.0203,
                "fouls": 0.3679,
                "fouls_drawn": 0.024,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2171,
                "tackles_won": 0.0,
                "tackles": 0.2765,
                "clearances": 0.0593,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1882,
                "xgot": 0.1541,
                "offsides": 0.2067,
                "ball_carries": 3.1344,
                "total_progression": 3.6317,
                "progressive_carries": 0.2892,
                "shots_off_target": 0.4397
              },
              "params": {
                "market_value_eur": 17600000,
                "quality_factor": 0.6068,
                "boost_factor": 1.0069,
                "reference_quality": 0.505,
                "history_matches": 17,
                "history_shrink": 0.2273,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.2 to 26.0 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.1354,
                "goals": 0.1789,
                "goal_rate": 0.1789,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0457,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.2193,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "expected_minutes": 25.96,
                "projection_minutes": 18.24,
                "minutes_scale": 1.4234,
                "appearance_probability": 0.589
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1354,
                "goals": 0.1789,
                "goal_rate": 0.1789,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0457,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.2193,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1354,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0457,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.2193,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.67 (squad xG sum 2.2996, xG scale 1.1628, xA scale 1.2424, team xA 1.74 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0927,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0334,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.1502,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.2346,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.674,
                "squad_xg_sum": 2.2996,
                "squad_xa_sum": 1.399,
                "team_expected_assists": 1.7381,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1628,
                "xa_scale": 1.2424,
                "opponent_lambda": 1.527,
                "scoreline_reset": true,
                "appearance_weight": 0.589
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1354,
                  "after": 0.0927
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0457,
                  "after": 0.0334
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.0927,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0334,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.1502,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "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.2346,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2126,
                "fifa_rank": 862.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.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.0927,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0334,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.1502,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0858,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2346,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0858,
                "goal_rate": 0.1789,
                "scorer_weight": 0.1144,
                "squad_weight_total": 2.8912,
                "weight_share": 0.0396,
                "finishing_factor": 1.2346,
                "appearance_weight": 0.589,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.9095,
                    "already": 0,
                    "effective_weight": 0.9095,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.7484
                  },
                  {
                    "n": 2,
                    "player": "Raphinha",
                    "weight": 0.7484,
                    "already": 0,
                    "effective_weight": 0.7484,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.387
                  }
                ]
              }
            },
            {
              "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.0927,
                "goal_rate": 0.1789,
                "goals": 0,
                "shots_on_target": 0.426,
                "total_shots": 1.0519,
                "expected_assists": 0.0334,
                "key_pass": 0.5648,
                "rating": 6.6816,
                "minutes": 25.96,
                "total_pass": 8.8696,
                "accurate_pass": 7.1337,
                "duels_won": 2.0625,
                "total_long_balls": 0.2286,
                "accurate_long_balls": 0.1731,
                "total_opp_half_passes": 6.7053,
                "accurate_opp_half_passes": 5.3804,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.4763,
                "possession_lost": 5.1169,
                "dispossessed": 0.9122,
                "duels_lost": 3.4364,
                "aerial_lost": 0.5881,
                "total_contest": 1.5713,
                "won_contest": 0.8229,
                "ball_recovery": 0.8397,
                "challenges_lost": 0.0203,
                "fouls": 0.5237,
                "fouls_drawn": 0.0342,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.309,
                "tackles_won": 0.0,
                "tackles": 0.3936,
                "clearances": 0.0844,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2679,
                "xgot": 0.1502,
                "offsides": 0.2067,
                "ball_carries": 4.4615,
                "total_progression": 5.1694,
                "progressive_carries": 0.4117,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.886,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0858,
                "projected_assists": 0,
                "assist_probability": 0.0325,
                "finishing_factor": 1.2346,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0325,
                "assist_rate": 0.0,
                "provider_weight": 0.0267,
                "squad_weight_total": 1.8872,
                "weight_share": 0.0142,
                "creation_factor": 0.8,
                "appearance_weight": 0.589,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.3845,
                    "already": 0,
                    "effective_weight": 0.3845,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.2836
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 2,
        "expected_goals": 2.67,
        "expected_assists": 1.74,
        "total_shots": 19,
        "shots_on_target": 8,
        "total_passes": 634,
        "interceptions": 5,
        "tackles": 14,
        "avg_rating": 7.29,
        "possession_estimated_pct": 49.5,
        "pressing_actions_per_90": 8.4
      }
    },
    "Real Madrid": {
      "formation": "3-4-1-2",
      "players": {
        "Marc Cucurella": {
          "player_id": 794939,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 175,
          "market_value": 62000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7601,
            "minutes": 88,
            "total_pass": 44,
            "accurate_pass": 39,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 21,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 63,
            "possession_lost": 8.6136,
            "dispossessed": 0.2724,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.066,
            "assists": 0,
            "expected_goals": 0.0263,
            "expected_assists": 0.0428,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0269,
            "ball_carries": 11,
            "total_progression": 39,
            "progressive_carries": 0,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 2.3,
            "tackles_won_in_zone": 1.9,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.57,
            "opponent_faced": "Fermín López",
            "pressing_zone": "LW vs CB",
            "matchup_zone": "LW vs CB",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.026,
            "projected_assists": 0,
            "assist_probability": 0.0419,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0355,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 62,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0053,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 16,
                "tackles": 5,
                "tackles_won": 5,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.01,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 42,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 2,
                "duels_won": 5,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.01,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 38,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 88,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0271,
                "total_shots": 0,
                "total_pass": 60,
                "accurate_pass": 56,
                "clearances": 2,
                "aerial_won": 2,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0437,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 46,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0122,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 24,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 2,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 26,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0464,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 14023966,
              "match_date": "2026-05-24",
              "home_team": "Sunderland",
              "away_team": "Chelsea",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Chelsea",
              "opponent": "Sunderland",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 20,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 77,
            "combined_rank_score": 111.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 84.0,
            "sofascore_rating": 7.54,
            "sofascore_appearances": 5.0,
            "fifa_rank": 138.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7601,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marc Cucurella",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kevin De Bruyne",
                  "ranking": 72
                },
                {
                  "player_name": "Silva Denisson",
                  "ranking": 73
                },
                {
                  "player_name": "Désiré Doué",
                  "ranking": 74
                },
                {
                  "player_name": "Chema Andrés",
                  "ranking": 75
                },
                {
                  "player_name": "Youri Tielemans",
                  "ranking": 76
                }
              ],
              "lower": [
                {
                  "player_name": "Dominik Szoboszlai",
                  "ranking": 78
                },
                {
                  "player_name": "Thibaut Courtois",
                  "ranking": 79
                },
                {
                  "player_name": "Otávio Costa",
                  "ranking": 80
                },
                {
                  "player_name": "Marc Guéhi",
                  "ranking": 81
                },
                {
                  "player_name": "Jaden Philogene-Bidace",
                  "ranking": 82
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 41,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 41,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0115,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 162.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (D_service) evaluated 41 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.12, 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": 0.8453,
                "tackles": 2.0039,
                "tackles_won": 1.1633,
                "clearances": 2.2868,
                "aerial_won": 0.7517,
                "total_shots": 0.3518,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.3051,
                "accurate_pass": 38.108,
                "duels_won": 3.4981,
                "total_long_balls": 1.9573,
                "accurate_long_balls": 1.1002,
                "total_own_half_passes": 19.5477,
                "accurate_own_half_passes": 17.1457,
                "total_opp_half_passes": 23.7575,
                "accurate_opp_half_passes": 20.9624,
                "crosses_total": 1.493,
                "crosses_accurate": 0.2519,
                "touches": 62.4352,
                "possession_lost": 8.5157,
                "dispossessed": 0.2693,
                "duels_lost": 2.7176,
                "aerial_lost": 0.5191,
                "total_contest": 0.2677,
                "won_contest": 0.0011,
                "ball_recovery": 3.6489,
                "challenges_lost": 0.9546,
                "fouls": 0.7235,
                "fouls_drawn": 0.774,
                "blocks": 0.4305,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0658,
                "assist_rate": 0.0658,
                "expected_goals": 0.027,
                "expected_assists": 0.0366,
                "shots_on_target": 0.1001,
                "big_chances_created": 0.0667,
                "xgot": 0.0277,
                "ball_carries": 11.1149,
                "total_progression": 38.7421,
                "progressive_carries": 0.1631,
                "key_pass": 0.6299,
                "shots_off_target": 0.2517
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Sunderland",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-19",
                    "opponent": "Tottenham Hotspur",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Liverpool FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.5314,
                  "aerialWon": 0.5272,
                  "totalClearance_p90": 1.7001,
                  "totalTackle": 1.9086,
                  "totalPass": 36.8797
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8452833890914917,
                    "model_output": 0.8453,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1176
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0817
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0375
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0244
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0234
                        }
                      ],
                      "others": 0.0374,
                      "total": 0.8453,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128562
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.087481
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.04293
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.028988
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.028499
                        }
                      ],
                      "others_margin": 0.045252
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.003948211669922,
                    "model_output": 2.0039,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1938
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0633
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0658
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0669
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0646
                        }
                      ],
                      "others": 0.1556,
                      "total": 2.0039,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.13019
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.039106
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.039069
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.038215
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.035556
                        }
                      ],
                      "others_margin": 0.080894
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1632639169692993,
                    "model_output": 1.1633,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1107
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0597
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0357
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0331
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0318
                        }
                      ],
                      "others": 0.0379,
                      "total": 1.1633,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121875
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.059984
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.034259
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.030781
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.028663
                        }
                      ],
                      "others_margin": 0.033081
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.286799192428589,
                    "model_output": 2.2868,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7079
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.377
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.333
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.241
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0838
                        }
                      ],
                      "others": -0.1759,
                      "total": 2.2868,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.229537
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12876
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.112863
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.090423
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.033462
                        }
                      ],
                      "others_margin": -0.074105
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7517393231391907,
                    "model_output": 0.7517,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4294
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.117
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.109
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0914
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.053
                        }
                      ],
                      "others": -0.0485,
                      "total": 0.7517,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.372041
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.131077
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122658
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.101774
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.064092
                        }
                      ],
                      "others_margin": -0.062592
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3517879843711853,
                    "model_output": 0.3518,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1003
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.053
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0373
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0091
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0084
                        }
                      ],
                      "others": -0.034,
                      "total": 0.3518,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.100277
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.052974
                        },
                        {
                          "name": "rating",
                          "margin": -0.037258
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.009096
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.008398
                        }
                      ],
                      "others_margin": -0.034086
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.760107040405273,
                    "model_output": 6.7601,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0464
                        },
                        {
                          "name": "rating",
                          "contribution": -0.02
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0171
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0144
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.008
                        }
                      ],
                      "others": -0.0119,
                      "total": 6.7601,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.046429
                        },
                        {
                          "name": "rating",
                          "margin": -0.019976
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.017118
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014436
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.007963
                        }
                      ],
                      "others_margin": -0.01196
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 41,
                  "role_matches": 35,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0115, quality 0.857)",
              "stats": {
                "interceptions": 0.855,
                "tackles": 2.027,
                "tackles_won": 1.1766,
                "clearances": 2.3131,
                "aerial_won": 0.7604,
                "total_shots": 0.3559,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.8031,
                "accurate_pass": 38.5462,
                "duels_won": 3.5383,
                "total_long_balls": 1.9798,
                "accurate_long_balls": 1.1129,
                "total_own_half_passes": 19.7725,
                "accurate_own_half_passes": 17.3429,
                "total_opp_half_passes": 24.0307,
                "accurate_opp_half_passes": 21.2035,
                "crosses_total": 1.5102,
                "crosses_accurate": 0.2548,
                "touches": 63.1532,
                "possession_lost": 8.6136,
                "dispossessed": 0.2724,
                "duels_lost": 2.7489,
                "aerial_lost": 0.5251,
                "total_contest": 0.2708,
                "won_contest": 0.0011,
                "ball_recovery": 3.6909,
                "challenges_lost": 0.9656,
                "fouls": 0.7318,
                "fouls_drawn": 0.7829,
                "blocks": 0.4355,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0666,
                "assist_rate": 0.0666,
                "expected_goals": 0.0273,
                "expected_assists": 0.037,
                "shots_on_target": 0.1013,
                "big_chances_created": 0.0675,
                "xgot": 0.028,
                "ball_carries": 11.2427,
                "total_progression": 39.1876,
                "progressive_carries": 0.165,
                "key_pass": 0.6371,
                "shots_off_target": 0.2546
              },
              "params": {
                "market_value_eur": 62000000,
                "quality_factor": 0.8569,
                "boost_factor": 1.0115,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0085)",
              "stats": {
                "interceptions": 0.857,
                "tackles": 2.027,
                "tackles_won": 1.1805,
                "clearances": 2.3131,
                "aerial_won": 0.7604,
                "total_shots": 0.3529,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.8031,
                "accurate_pass": 38.5462,
                "duels_won": 3.5383,
                "total_long_balls": 1.9798,
                "accurate_long_balls": 1.1129,
                "total_own_half_passes": 19.7725,
                "accurate_own_half_passes": 17.3429,
                "total_opp_half_passes": 24.0307,
                "accurate_opp_half_passes": 21.2035,
                "crosses_total": 1.4974,
                "crosses_accurate": 0.2548,
                "touches": 63.1532,
                "possession_lost": 8.6136,
                "dispossessed": 0.2724,
                "duels_lost": 2.7489,
                "aerial_lost": 0.5251,
                "total_contest": 0.2708,
                "won_contest": 0.0011,
                "ball_recovery": 3.6909,
                "challenges_lost": 0.9656,
                "fouls": 0.7256,
                "fouls_drawn": 0.7763,
                "blocks": 0.4355,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.066,
                "assist_rate": 0.066,
                "expected_goals": 0.0273,
                "expected_assists": 0.037,
                "shots_on_target": 0.1004,
                "big_chances_created": 0.0675,
                "xgot": 0.028,
                "ball_carries": 11.2427,
                "total_progression": 39.1876,
                "progressive_carries": 0.165,
                "key_pass": 0.6371,
                "shots_off_target": 0.2546
              },
              "params": {
                "blend_weight": 0.0085,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9801,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.5102,
                  "after": 1.4974
                },
                {
                  "stat": "wasFouled",
                  "before": 0.7829,
                  "after": 0.7763
                },
                {
                  "stat": "fouls",
                  "before": 0.7318,
                  "after": 0.7256
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.857,
                "tackles": 2.027,
                "tackles_won": 1.1805,
                "clearances": 2.3131,
                "aerial_won": 0.7604,
                "total_shots": 0.355,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.8031,
                "accurate_pass": 38.5462,
                "duels_won": 3.5383,
                "total_long_balls": 1.9798,
                "accurate_long_balls": 1.1129,
                "total_own_half_passes": 19.7725,
                "accurate_own_half_passes": 17.3429,
                "total_opp_half_passes": 24.0307,
                "accurate_opp_half_passes": 21.2035,
                "crosses_total": 1.4974,
                "crosses_accurate": 0.2548,
                "touches": 63.1532,
                "possession_lost": 8.6136,
                "dispossessed": 0.2724,
                "duels_lost": 2.7489,
                "aerial_lost": 0.5251,
                "total_contest": 0.2708,
                "won_contest": 0.0011,
                "ball_recovery": 3.6909,
                "challenges_lost": 0.9656,
                "fouls": 0.7256,
                "fouls_drawn": 0.7763,
                "blocks": 0.4355,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.066,
                "assist_rate": 0.066,
                "expected_goals": 0.0273,
                "expected_assists": 0.037,
                "shots_on_target": 0.1004,
                "big_chances_created": 0.0675,
                "xgot": 0.028,
                "ball_carries": 11.2427,
                "total_progression": 39.1876,
                "progressive_carries": 0.165,
                "key_pass": 0.6371,
                "shots_off_target": 0.2546
              },
              "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": 0.857,
                "tackles": 2.027,
                "tackles_won": 1.1805,
                "clearances": 2.3131,
                "aerial_won": 0.7604,
                "total_shots": 0.355,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.8031,
                "accurate_pass": 38.5462,
                "duels_won": 3.5383,
                "total_long_balls": 1.9798,
                "accurate_long_balls": 1.1129,
                "total_own_half_passes": 19.7725,
                "accurate_own_half_passes": 17.3429,
                "total_opp_half_passes": 24.0307,
                "accurate_opp_half_passes": 21.2035,
                "crosses_total": 1.4974,
                "crosses_accurate": 0.2548,
                "touches": 63.1532,
                "possession_lost": 8.6136,
                "dispossessed": 0.2724,
                "duels_lost": 2.7489,
                "aerial_lost": 0.5251,
                "total_contest": 0.2708,
                "won_contest": 0.0011,
                "ball_recovery": 3.6909,
                "challenges_lost": 0.9656,
                "fouls": 0.7256,
                "fouls_drawn": 0.7763,
                "blocks": 0.4355,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.066,
                "assist_rate": 0.066,
                "expected_goals": 0.0273,
                "expected_assists": 0.037,
                "shots_on_target": 0.1004,
                "big_chances_created": 0.0675,
                "xgot": 0.028,
                "ball_carries": 11.2427,
                "total_progression": 39.1876,
                "progressive_carries": 0.165,
                "key_pass": 0.6371,
                "shots_off_target": 0.2546,
                "tackles_in_zone": 2.3,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.57,
                "opponent_faced": "Fermín López",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Fermín López",
                  "matchup_zone": "LW vs CB"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.857,
                "tackles": 2.027,
                "tackles_won": 1.1805,
                "clearances": 2.3131,
                "aerial_won": 0.7604,
                "total_shots": 0.355,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.8031,
                "accurate_pass": 38.5462,
                "duels_won": 3.5383,
                "total_long_balls": 1.9798,
                "accurate_long_balls": 1.1129,
                "total_own_half_passes": 19.7725,
                "accurate_own_half_passes": 17.3429,
                "total_opp_half_passes": 24.0307,
                "accurate_opp_half_passes": 21.2035,
                "crosses_total": 1.4974,
                "crosses_accurate": 0.2548,
                "touches": 63.1532,
                "possession_lost": 8.6136,
                "dispossessed": 0.2724,
                "duels_lost": 2.7489,
                "aerial_lost": 0.5251,
                "total_contest": 0.2708,
                "won_contest": 0.0011,
                "ball_recovery": 3.6909,
                "challenges_lost": 0.9656,
                "fouls": 0.7256,
                "fouls_drawn": 0.7763,
                "blocks": 0.4355,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.066,
                "assists": 0,
                "expected_goals": 0.0273,
                "expected_assists": 0.037,
                "shots_on_target": 0.1004,
                "big_chances_created": 0.0675,
                "xgot": 0.028,
                "ball_carries": 11.2427,
                "total_progression": 39.1876,
                "progressive_carries": 0.165,
                "key_pass": 0.6371,
                "shots_off_target": 0.2546,
                "tackles_in_zone": 2.3,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.57,
                "opponent_faced": "Fermín López",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.857,
                "tackles": 2.027,
                "tackles_won": 1.1805,
                "clearances": 2.3131,
                "aerial_won": 0.7604,
                "total_shots": 0.355,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.8031,
                "accurate_pass": 38.5462,
                "duels_won": 3.5383,
                "total_long_balls": 1.9798,
                "accurate_long_balls": 1.1129,
                "total_own_half_passes": 19.7725,
                "accurate_own_half_passes": 17.3429,
                "total_opp_half_passes": 24.0307,
                "accurate_opp_half_passes": 21.2035,
                "crosses_total": 1.4974,
                "crosses_accurate": 0.2548,
                "touches": 63.1532,
                "possession_lost": 8.6136,
                "dispossessed": 0.2724,
                "duels_lost": 2.7489,
                "aerial_lost": 0.5251,
                "total_contest": 0.2708,
                "won_contest": 0.0011,
                "ball_recovery": 3.6909,
                "challenges_lost": 0.9656,
                "fouls": 0.7256,
                "fouls_drawn": 0.7763,
                "blocks": 0.4355,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.066,
                "assists": 0,
                "expected_goals": 0.0263,
                "expected_assists": 0.0428,
                "shots_on_target": 0.1004,
                "big_chances_created": 0.0675,
                "xgot": 0.0269,
                "ball_carries": 11.2427,
                "total_progression": 39.1876,
                "progressive_carries": 0.165,
                "key_pass": 0.6371,
                "shots_off_target": 0.2546,
                "tackles_in_zone": 2.3,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.57,
                "opponent_faced": "Fermín López",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "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.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.037,
                  "after": 0.0428
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 85.0)",
              "stats": {
                "interceptions": 0.857,
                "tackles": 2.027,
                "tackles_won": 1.1805,
                "clearances": 2.3131,
                "aerial_won": 0.7604,
                "total_shots": 0.355,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.8031,
                "accurate_pass": 38.5462,
                "duels_won": 3.5383,
                "total_long_balls": 1.9798,
                "accurate_long_balls": 1.1129,
                "total_own_half_passes": 19.7725,
                "accurate_own_half_passes": 17.3429,
                "total_opp_half_passes": 24.0307,
                "accurate_opp_half_passes": 21.2035,
                "crosses_total": 1.4974,
                "crosses_accurate": 0.2548,
                "touches": 63.1532,
                "possession_lost": 8.6136,
                "dispossessed": 0.2724,
                "duels_lost": 2.7489,
                "aerial_lost": 0.5251,
                "total_contest": 0.2708,
                "won_contest": 0.0011,
                "ball_recovery": 3.6909,
                "challenges_lost": 0.9656,
                "fouls": 0.7256,
                "fouls_drawn": 0.7763,
                "blocks": 0.4355,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.066,
                "assists": 0,
                "expected_goals": 0.0263,
                "expected_assists": 0.0428,
                "shots_on_target": 0.1004,
                "big_chances_created": 0.0675,
                "xgot": 0.0269,
                "ball_carries": 11.2427,
                "total_progression": 39.1876,
                "progressive_carries": 0.165,
                "key_pass": 0.6371,
                "shots_off_target": 0.2546,
                "tackles_in_zone": 2.3,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.57,
                "opponent_faced": "Fermín López",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 85.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": 77,
                "fifa_rank": 138.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": {
                "interceptions": 0.857,
                "tackles": 2.027,
                "tackles_won": 1.1805,
                "clearances": 2.3131,
                "aerial_won": 0.7604,
                "total_shots": 0.355,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.8031,
                "accurate_pass": 38.5462,
                "duels_won": 3.5383,
                "total_long_balls": 1.9798,
                "accurate_long_balls": 1.1129,
                "total_own_half_passes": 19.7725,
                "accurate_own_half_passes": 17.3429,
                "total_opp_half_passes": 24.0307,
                "accurate_opp_half_passes": 21.2035,
                "crosses_total": 1.4974,
                "crosses_accurate": 0.2548,
                "touches": 63.1532,
                "possession_lost": 8.6136,
                "dispossessed": 0.2724,
                "duels_lost": 2.7489,
                "aerial_lost": 0.5251,
                "total_contest": 0.2708,
                "won_contest": 0.0011,
                "ball_recovery": 3.6909,
                "challenges_lost": 0.9656,
                "fouls": 0.7256,
                "fouls_drawn": 0.7763,
                "blocks": 0.4355,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.066,
                "assists": 0,
                "expected_goals": 0.0263,
                "expected_assists": 0.0428,
                "shots_on_target": 0.1004,
                "big_chances_created": 0.0675,
                "xgot": 0.0269,
                "ball_carries": 11.2427,
                "total_progression": 39.1876,
                "progressive_carries": 0.165,
                "key_pass": 0.6371,
                "shots_off_target": 0.2546,
                "tackles_in_zone": 2.3,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.57,
                "opponent_faced": "Fermín López",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.026,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.026,
                "goal_rate": 0.0,
                "scorer_weight": 0.021,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0134,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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": 0.857,
                "tackles": 2.027,
                "tackles_won": 1.1805,
                "clearances": 2.3131,
                "aerial_won": 0.7604,
                "total_shots": 0.355,
                "rating": 6.7601,
                "minutes": 88.21,
                "total_pass": 43.8031,
                "accurate_pass": 38.5462,
                "duels_won": 3.5383,
                "total_long_balls": 1.9798,
                "accurate_long_balls": 1.1129,
                "total_own_half_passes": 19.7725,
                "accurate_own_half_passes": 17.3429,
                "total_opp_half_passes": 24.0307,
                "accurate_opp_half_passes": 21.2035,
                "crosses_total": 1.4974,
                "crosses_accurate": 0.2548,
                "touches": 63.1532,
                "possession_lost": 8.6136,
                "dispossessed": 0.2724,
                "duels_lost": 2.7489,
                "aerial_lost": 0.5251,
                "total_contest": 0.2708,
                "won_contest": 0.0011,
                "ball_recovery": 3.6909,
                "challenges_lost": 0.9656,
                "fouls": 0.7256,
                "fouls_drawn": 0.7763,
                "blocks": 0.4355,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.066,
                "assists": 0,
                "expected_goals": 0.0263,
                "expected_assists": 0.0428,
                "shots_on_target": 0.1004,
                "big_chances_created": 0.0675,
                "xgot": 0.0269,
                "ball_carries": 11.2427,
                "total_progression": 39.1876,
                "progressive_carries": 0.165,
                "key_pass": 0.6371,
                "shots_off_target": 0.2546,
                "tackles_in_zone": 2.3,
                "tackles_won_in_zone": 1.9,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.57,
                "opponent_faced": "Fermín López",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.026,
                "projected_assists": 0,
                "assist_probability": 0.0419,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0419,
                "assist_rate": 0.066,
                "provider_weight": 0.0535,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0499,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Eduardo Camavinga": {
          "player_id": 973887,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 6,
          "height": 182,
          "market_value": 48000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0529,
            "assist_rate": 0.0359,
            "assists": 0,
            "expected_goals": 0.0314,
            "goal_rate": 0.0428,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.9761,
            "minutes": 78,
            "total_pass": 56,
            "accurate_pass": 52,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 26,
            "accurate_own_half_passes": 26,
            "total_opp_half_passes": 30,
            "accurate_opp_half_passes": 27,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 69,
            "possession_lost": 6.4197,
            "dispossessed": 0.7528,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 3,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0226,
            "ball_carries": 17,
            "total_progression": 41,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.1097,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 3.0,
            "duel_win_rate": 0.475,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
            "numerical_situation": "1v1",
            "opponent_defenders": "Xavi Espart",
            "opponent_faced": "Xavi Espart",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0309,
            "projected_assists": 0,
            "assist_probability": 0.0515,
            "finishing_factor": 1.1235,
            "creation_factor": 0.8976,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.0,
              "away_score_current": 1.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 16,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 13,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "tackles": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 19,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 15,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.021,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 1,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0153,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 40,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1095,
                "total_shots": 0,
                "total_pass": 71,
                "accurate_pass": 64,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 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"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 12,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0144,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "interceptions": 1,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 13,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "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": 14083702,
              "match_date": "2026-05-17",
              "home_team": "Sevilla",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "tackles": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083649,
              "match_date": "2026-05-14",
              "home_team": "Real Madrid",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0321,
                "expected_assists": 0.084,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 75,
                "accurate_pass": 71,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 956,
            "combined_rank_score": 442.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 307.0,
            "sofascore_rating": 7.0364,
            "sofascore_appearances": 11.0,
            "fifa_rank": 578.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9761,
            "source_file": "data/player_rankings.csv",
            "player_name": "Eduardo Camavinga",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Pedro Bigas",
                  "ranking": 951
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Giuliano Simeone",
                  "ranking": 957
                },
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.763,
          "history_matches": 35,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0117,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 114.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "XGBoost regressor (M_service) evaluated 35 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.09, 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": 0.5616,
                "expected_assists": 0.0451,
                "assists": 0.0358,
                "assist_rate": 0.0358,
                "expected_goals": 0.0291,
                "goals": 0.0384,
                "goal_rate": 0.0384,
                "shots_on_target": 0.1162,
                "total_shots": 0.4091,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 55.5756,
                "accurate_pass": 51.6212,
                "duels_won": 4.4342,
                "total_long_balls": 4.0817,
                "accurate_long_balls": 2.9197,
                "total_own_half_passes": 26.1365,
                "accurate_own_half_passes": 25.3081,
                "total_opp_half_passes": 29.439,
                "accurate_opp_half_passes": 26.313,
                "crosses_total": 0.0192,
                "crosses_accurate": 0.0,
                "touches": 68.48,
                "possession_lost": 6.3455,
                "dispossessed": 0.7441,
                "duels_lost": 3.1778,
                "aerial_won": 0.4436,
                "aerial_lost": 0.1279,
                "interceptions": 0.7535,
                "tackles_won": 1.5064,
                "tackles": 2.5265,
                "clearances": 1.1397,
                "total_contest": 0.4228,
                "won_contest": 0.2935,
                "challenges_lost": 0.7678,
                "fouls": 1.4685,
                "fouls_drawn": 1.1706,
                "blocks": 0.4429,
                "big_chances_created": 0.0703,
                "big_chances_missed": 0.0,
                "xgot": 0.021,
                "ball_carries": 16.5589,
                "total_progression": 40.6949,
                "progressive_carries": 0.7765,
                "shots_off_target": 0.2929
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1505,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1279,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0786,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0668,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "FC Barcelona",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.1393,
                  "creative_index": 0.1009,
                  "expectedGoals": 0.0073,
                  "expectedAssists": 0.042,
                  "onTargetScoringAttempt": 0.0073
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5616275072097778,
                    "model_output": 0.5616,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.1177
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1109
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.103
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0453
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0364
                        }
                      ],
                      "others": -0.1331,
                      "total": 0.5616,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.142492
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.13481
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.124537
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.060051
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.051013
                        }
                      ],
                      "others_margin": -0.212818
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04514612630009651,
                    "model_output": 0.0451,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0198
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0099
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0094
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0049
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0132,
                      "total": 0.0451,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.262432
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.139933
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.132138
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.075919
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.055078
                        }
                      ],
                      "others_margin": -0.25617
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.035804230719804764,
                    "model_output": 0.0358,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0213
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.008
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0053
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0044
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0067,
                      "total": 0.0358,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.28813
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.133663
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.100192
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.090342
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.082455
                        }
                      ],
                      "others_margin": -0.172501
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.02905772253870964,
                    "model_output": 0.0291,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0342
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0169
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0067
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0053
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.0291,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.449903
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.328896
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.167923
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.134187
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.07472
                        }
                      ],
                      "others_margin": -0.291299
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.03843336179852486,
                    "model_output": 0.0384,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0259
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0139
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0055
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0054
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.0249,
                      "total": 0.0384,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.307632
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.215933
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.090167
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.082272
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.081994
                        }
                      ],
                      "others_margin": -0.499297
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11618315428495407,
                    "model_output": 0.1162,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1049
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0436
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.027
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0211
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0455,
                      "total": 0.1162,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.391084
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.221838
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.167159
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132945
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.047916
                        }
                      ],
                      "others_margin": -0.330496
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.409112811088562,
                    "model_output": 0.4091,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3127
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0607
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0519
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0501
                        }
                      ],
                      "others": -0.2135,
                      "total": 0.4091,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.3127
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107531
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.060661
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.051926
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.050129
                        }
                      ],
                      "others_margin": -0.213466
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.97610330581665,
                    "model_output": 6.9761,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0748
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0316
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0249
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0239
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0148
                        }
                      ],
                      "others": -0.0428,
                      "total": 6.9761,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.074791
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.031591
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.024891
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.023909
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.014829
                        }
                      ],
                      "others_margin": -0.042777
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 35,
                  "role_matches": 18,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0117, quality 0.817)",
              "stats": {
                "key_pass": 0.5682,
                "expected_assists": 0.0457,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0294,
                "goals": 0.0389,
                "goal_rate": 0.0389,
                "shots_on_target": 0.1175,
                "total_shots": 0.4139,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 56.2258,
                "accurate_pass": 52.2252,
                "duels_won": 4.4861,
                "total_long_balls": 4.1295,
                "accurate_long_balls": 2.9539,
                "total_own_half_passes": 26.4423,
                "accurate_own_half_passes": 25.6042,
                "total_opp_half_passes": 29.7834,
                "accurate_opp_half_passes": 26.6209,
                "crosses_total": 0.0194,
                "crosses_accurate": 0.0,
                "touches": 69.2812,
                "possession_lost": 6.4197,
                "dispossessed": 0.7528,
                "duels_lost": 3.215,
                "aerial_won": 0.4488,
                "aerial_lost": 0.1294,
                "interceptions": 0.7623,
                "tackles_won": 1.524,
                "tackles": 2.5561,
                "clearances": 1.153,
                "total_contest": 0.4277,
                "won_contest": 0.2969,
                "challenges_lost": 0.7768,
                "fouls": 1.4857,
                "fouls_drawn": 1.1843,
                "blocks": 0.4481,
                "big_chances_created": 0.0711,
                "big_chances_missed": 0.0,
                "xgot": 0.0212,
                "ball_carries": 16.7526,
                "total_progression": 41.171,
                "progressive_carries": 0.7856,
                "shots_off_target": 0.2963
              },
              "params": {
                "market_value_eur": 48000000,
                "quality_factor": 0.8168,
                "boost_factor": 1.0117,
                "reference_quality": 0.505,
                "history_matches": 35,
                "history_shrink": 0.125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0070)",
              "stats": {
                "key_pass": 0.5682,
                "expected_assists": 0.0457,
                "assists": 0.0359,
                "assist_rate": 0.0359,
                "expected_goals": 0.0294,
                "goals": 0.0386,
                "goal_rate": 0.0386,
                "shots_on_target": 0.1167,
                "total_shots": 0.411,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 56.2258,
                "accurate_pass": 52.2252,
                "duels_won": 4.4861,
                "total_long_balls": 4.1295,
                "accurate_long_balls": 2.9539,
                "total_own_half_passes": 26.4423,
                "accurate_own_half_passes": 25.6042,
                "total_opp_half_passes": 29.7834,
                "accurate_opp_half_passes": 26.6209,
                "crosses_total": 0.0193,
                "crosses_accurate": 0.0,
                "touches": 69.2812,
                "possession_lost": 6.4197,
                "dispossessed": 0.7528,
                "duels_lost": 3.215,
                "aerial_won": 0.4488,
                "aerial_lost": 0.1294,
                "interceptions": 0.771,
                "tackles_won": 1.5226,
                "tackles": 2.5561,
                "clearances": 1.153,
                "total_contest": 0.4277,
                "won_contest": 0.2969,
                "challenges_lost": 0.7768,
                "fouls": 1.4893,
                "fouls_drawn": 1.176,
                "blocks": 0.4481,
                "big_chances_created": 0.0711,
                "big_chances_missed": 0.0,
                "xgot": 0.0212,
                "ball_carries": 16.7526,
                "total_progression": 41.171,
                "progressive_carries": 0.7856,
                "shots_off_target": 0.2963
              },
              "params": {
                "blend_weight": 0.007,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8658,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.7623,
                  "after": 0.771
                },
                {
                  "stat": "wasFouled",
                  "before": 1.1843,
                  "after": 1.176
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5682,
                "expected_assists": 0.0457,
                "assists": 0.0359,
                "assist_rate": 0.0359,
                "expected_goals": 0.0294,
                "goals": 0.0386,
                "goal_rate": 0.0386,
                "shots_on_target": 0.1167,
                "total_shots": 0.413,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 56.2258,
                "accurate_pass": 52.2252,
                "duels_won": 4.4861,
                "total_long_balls": 4.1295,
                "accurate_long_balls": 2.9539,
                "total_own_half_passes": 26.4423,
                "accurate_own_half_passes": 25.6042,
                "total_opp_half_passes": 29.7834,
                "accurate_opp_half_passes": 26.6209,
                "crosses_total": 0.0193,
                "crosses_accurate": 0.0,
                "touches": 69.2812,
                "possession_lost": 6.4197,
                "dispossessed": 0.7528,
                "duels_lost": 3.215,
                "aerial_won": 0.4488,
                "aerial_lost": 0.1294,
                "interceptions": 0.771,
                "tackles_won": 1.5226,
                "tackles": 2.5561,
                "clearances": 1.153,
                "total_contest": 0.4277,
                "won_contest": 0.2969,
                "challenges_lost": 0.7768,
                "fouls": 1.4893,
                "fouls_drawn": 1.176,
                "blocks": 0.4481,
                "big_chances_created": 0.0711,
                "big_chances_missed": 0.0,
                "xgot": 0.0212,
                "ball_carries": 16.7526,
                "total_progression": 41.171,
                "progressive_carries": 0.7856,
                "shots_off_target": 0.2963
              },
              "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": 0.5682,
                "expected_assists": 0.0457,
                "assists": 0.0359,
                "assist_rate": 0.0359,
                "expected_goals": 0.0326,
                "goals": 0.0428,
                "goal_rate": 0.0428,
                "shots_on_target": 0.1295,
                "total_shots": 0.4583,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 56.2258,
                "accurate_pass": 52.2252,
                "duels_won": 4.4861,
                "total_long_balls": 4.1295,
                "accurate_long_balls": 2.9539,
                "total_own_half_passes": 26.4423,
                "accurate_own_half_passes": 25.6042,
                "total_opp_half_passes": 29.7834,
                "accurate_opp_half_passes": 26.6209,
                "crosses_total": 0.0193,
                "crosses_accurate": 0.0,
                "touches": 69.2812,
                "possession_lost": 6.4197,
                "dispossessed": 0.7528,
                "duels_lost": 3.215,
                "aerial_won": 1.1,
                "aerial_lost": 0.1294,
                "interceptions": 0.771,
                "tackles_won": 1.5226,
                "tackles": 2.5561,
                "clearances": 1.153,
                "total_contest": 0.4277,
                "won_contest": 0.2969,
                "challenges_lost": 0.7768,
                "fouls": 1.4893,
                "fouls_drawn": 1.176,
                "blocks": 0.4481,
                "big_chances_created": 0.0711,
                "big_chances_missed": 0.0,
                "xgot": 0.0235,
                "ball_carries": 16.7526,
                "total_progression": 41.171,
                "progressive_carries": 0.7856,
                "shots_off_target": 0.3288,
                "duel_xg_multiplier": 1.1097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.475,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Xavi Espart",
                "opponent_faced": "Xavi Espart",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Xavi Espart",
                  "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                  "duel_win_rate": 0.475,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1097,
                  "skill_edge": 0.0466,
                  "height_edge": 0.028,
                  "attacker_skill": 0.8686,
                  "defender_skill": 0.765,
                  "attacker_role": "LWB",
                  "attacker_mv_price_index": 0.7,
                  "defender_adjusted_parts": [
                    {
                      "player": "Xavi Espart",
                      "market_value": 26000000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.765
                    }
                  ],
                  "xg_override": 0.0326
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.4488,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.413,
                  "after": 0.4583
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.2963,
                  "after": 0.3288
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1167,
                  "after": 0.1295
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.5682,
                "expected_assists": 0.0457,
                "assist_rate": 0.0359,
                "assists": 0,
                "expected_goals": 0.0326,
                "goal_rate": 0.0428,
                "goals": 0,
                "shots_on_target": 0.1295,
                "total_shots": 0.4583,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 56.2258,
                "accurate_pass": 52.2252,
                "duels_won": 4.4861,
                "total_long_balls": 4.1295,
                "accurate_long_balls": 2.9539,
                "total_own_half_passes": 26.4423,
                "accurate_own_half_passes": 25.6042,
                "total_opp_half_passes": 29.7834,
                "accurate_opp_half_passes": 26.6209,
                "crosses_total": 0.0193,
                "crosses_accurate": 0.0,
                "touches": 69.2812,
                "possession_lost": 6.4197,
                "dispossessed": 0.7528,
                "duels_lost": 3.215,
                "aerial_won": 1.1,
                "aerial_lost": 0.1294,
                "interceptions": 0.771,
                "tackles_won": 1.5226,
                "tackles": 2.5561,
                "clearances": 1.153,
                "total_contest": 0.4277,
                "won_contest": 0.2969,
                "challenges_lost": 0.7768,
                "fouls": 1.4893,
                "fouls_drawn": 1.176,
                "blocks": 0.4481,
                "big_chances_created": 0.0711,
                "big_chances_missed": 0.0,
                "xgot": 0.0235,
                "ball_carries": 16.7526,
                "total_progression": 41.171,
                "progressive_carries": 0.7856,
                "shots_off_target": 0.3288,
                "duel_xg_multiplier": 1.1097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.475,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Xavi Espart",
                "opponent_faced": "Xavi Espart",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.5682,
                "expected_assists": 0.0529,
                "assist_rate": 0.0359,
                "assists": 0,
                "expected_goals": 0.0314,
                "goal_rate": 0.0428,
                "goals": 0,
                "shots_on_target": 0.1295,
                "total_shots": 0.4583,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 56.2258,
                "accurate_pass": 52.2252,
                "duels_won": 4.4861,
                "total_long_balls": 4.1295,
                "accurate_long_balls": 2.9539,
                "total_own_half_passes": 26.4423,
                "accurate_own_half_passes": 25.6042,
                "total_opp_half_passes": 29.7834,
                "accurate_opp_half_passes": 26.6209,
                "crosses_total": 0.0193,
                "crosses_accurate": 0.0,
                "touches": 69.2812,
                "possession_lost": 6.4197,
                "dispossessed": 0.7528,
                "duels_lost": 3.215,
                "aerial_won": 1.1,
                "aerial_lost": 0.1294,
                "interceptions": 0.771,
                "tackles_won": 1.5226,
                "tackles": 2.5561,
                "clearances": 1.153,
                "total_contest": 0.4277,
                "won_contest": 0.2969,
                "challenges_lost": 0.7768,
                "fouls": 1.4893,
                "fouls_drawn": 1.176,
                "blocks": 0.4481,
                "big_chances_created": 0.0711,
                "big_chances_missed": 0.0,
                "xgot": 0.0226,
                "ball_carries": 16.7526,
                "total_progression": 41.171,
                "progressive_carries": 0.7856,
                "shots_off_target": 0.3288,
                "duel_xg_multiplier": 1.1097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.475,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Xavi Espart",
                "opponent_faced": "Xavi Espart",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1235,
                "creation_factor": 0.8976
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0457,
                  "after": 0.0529
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 81.0)",
              "stats": {
                "key_pass": 0.5682,
                "expected_assists": 0.0529,
                "assist_rate": 0.0359,
                "assists": 0,
                "expected_goals": 0.0314,
                "goal_rate": 0.0428,
                "goals": 0,
                "shots_on_target": 0.1295,
                "total_shots": 0.4583,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 56.2258,
                "accurate_pass": 52.2252,
                "duels_won": 4.4861,
                "total_long_balls": 4.1295,
                "accurate_long_balls": 2.9539,
                "total_own_half_passes": 26.4423,
                "accurate_own_half_passes": 25.6042,
                "total_opp_half_passes": 29.7834,
                "accurate_opp_half_passes": 26.6209,
                "crosses_total": 0.0193,
                "crosses_accurate": 0.0,
                "touches": 69.2812,
                "possession_lost": 6.4197,
                "dispossessed": 0.7528,
                "duels_lost": 3.215,
                "aerial_won": 1.1,
                "aerial_lost": 0.1294,
                "interceptions": 0.771,
                "tackles_won": 1.5226,
                "tackles": 2.5561,
                "clearances": 1.153,
                "total_contest": 0.4277,
                "won_contest": 0.2969,
                "challenges_lost": 0.7768,
                "fouls": 1.4893,
                "fouls_drawn": 1.176,
                "blocks": 0.4481,
                "big_chances_created": 0.0711,
                "big_chances_missed": 0.0,
                "xgot": 0.0226,
                "ball_carries": 16.7526,
                "total_progression": 41.171,
                "progressive_carries": 0.7856,
                "shots_off_target": 0.3288,
                "duel_xg_multiplier": 1.1097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.475,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Xavi Espart",
                "opponent_faced": "Xavi Espart",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1235,
                "creation_factor": 0.8976,
                "fifa_overall": 81.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": 956,
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.5682,
                "expected_assists": 0.0529,
                "assist_rate": 0.0359,
                "assists": 0,
                "expected_goals": 0.0314,
                "goal_rate": 0.0428,
                "goals": 0,
                "shots_on_target": 0.1295,
                "total_shots": 0.4583,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 56.2258,
                "accurate_pass": 52.2252,
                "duels_won": 4.4861,
                "total_long_balls": 4.1295,
                "accurate_long_balls": 2.9539,
                "total_own_half_passes": 26.4423,
                "accurate_own_half_passes": 25.6042,
                "total_opp_half_passes": 29.7834,
                "accurate_opp_half_passes": 26.6209,
                "crosses_total": 0.0193,
                "crosses_accurate": 0.0,
                "touches": 69.2812,
                "possession_lost": 6.4197,
                "dispossessed": 0.7528,
                "duels_lost": 3.215,
                "aerial_won": 1.1,
                "aerial_lost": 0.1294,
                "interceptions": 0.771,
                "tackles_won": 1.5226,
                "tackles": 2.5561,
                "clearances": 1.153,
                "total_contest": 0.4277,
                "won_contest": 0.2969,
                "challenges_lost": 0.7768,
                "fouls": 1.4893,
                "fouls_drawn": 1.176,
                "blocks": 0.4481,
                "big_chances_created": 0.0711,
                "big_chances_missed": 0.0,
                "xgot": 0.0226,
                "ball_carries": 16.7526,
                "total_progression": 41.171,
                "progressive_carries": 0.7856,
                "shots_off_target": 0.3288,
                "duel_xg_multiplier": 1.1097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.475,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Xavi Espart",
                "opponent_faced": "Xavi Espart",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0309,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1235,
                "creation_factor": 0.8976,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0309,
                "goal_rate": 0.0428,
                "scorer_weight": 0.0353,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0224,
                "finishing_factor": 1.1235,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.5682,
                "expected_assists": 0.0529,
                "assist_rate": 0.0359,
                "assists": 0,
                "expected_goals": 0.0314,
                "goal_rate": 0.0428,
                "goals": 0,
                "shots_on_target": 0.1295,
                "total_shots": 0.4583,
                "rating": 6.9761,
                "minutes": 77.92,
                "total_pass": 56.2258,
                "accurate_pass": 52.2252,
                "duels_won": 4.4861,
                "total_long_balls": 4.1295,
                "accurate_long_balls": 2.9539,
                "total_own_half_passes": 26.4423,
                "accurate_own_half_passes": 25.6042,
                "total_opp_half_passes": 29.7834,
                "accurate_opp_half_passes": 26.6209,
                "crosses_total": 0.0193,
                "crosses_accurate": 0.0,
                "touches": 69.2812,
                "possession_lost": 6.4197,
                "dispossessed": 0.7528,
                "duels_lost": 3.215,
                "aerial_won": 1.1,
                "aerial_lost": 0.1294,
                "interceptions": 0.771,
                "tackles_won": 1.5226,
                "tackles": 2.5561,
                "clearances": 1.153,
                "total_contest": 0.4277,
                "won_contest": 0.2969,
                "challenges_lost": 0.7768,
                "fouls": 1.4893,
                "fouls_drawn": 1.176,
                "blocks": 0.4481,
                "big_chances_created": 0.0711,
                "big_chances_missed": 0.0,
                "xgot": 0.0226,
                "ball_carries": 16.7526,
                "total_progression": 41.171,
                "progressive_carries": 0.7856,
                "shots_off_target": 0.3288,
                "duel_xg_multiplier": 1.1097,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 3.0,
                "duel_win_rate": 0.475,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Xavi Espart",
                "opponent_faced": "Xavi Espart",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0309,
                "projected_assists": 0,
                "assist_probability": 0.0515,
                "finishing_factor": 1.1235,
                "creation_factor": 0.8976,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0515,
                "assist_rate": 0.0359,
                "provider_weight": 0.0475,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0443,
                "creation_factor": 0.8976,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Aurélien Tchouaméni": {
          "player_id": 859025,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 14,
          "height": 188,
          "market_value": 73000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0636,
            "assist_rate": 0.0571,
            "assists": 0,
            "expected_goals": 0.0516,
            "goal_rate": 0.0549,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0179,
            "minutes": 79,
            "total_pass": 53,
            "accurate_pass": 49,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 31,
            "accurate_opp_half_passes": 28,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 65,
            "possession_lost": 5.5487,
            "dispossessed": 0.2205,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 2,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0507,
            "ball_carries": 15,
            "total_progression": 43,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0711,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.498,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pedri",
            "opponent_faced": "Pedri",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0503,
            "projected_assists": 0,
            "assist_probability": 0.0616,
            "finishing_factor": 1.0125,
            "creation_factor": 1.021,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0355,
                "expected_assists": 0.0243,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 69,
                "accurate_pass": 64,
                "key_pass": 1,
                "tackles": 4,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0196,
                "expected_assists": 0.0149,
                "total_shots": 1,
                "total_pass": 41,
                "accurate_pass": 39,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 71,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0623,
                "expected_assists": 0.0092,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 32,
                "accurate_pass": 30,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 86,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0725,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 40,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 2,
                "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 21,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0266,
                "expected_assists": 0.0209,
                "total_shots": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 1,
                "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": 14083702,
              "match_date": "2026-05-17",
              "home_team": "Sevilla",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 70,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1093,
                "expected_assists": 0.0226,
                "total_shots": 2,
                "total_pass": 51,
                "accurate_pass": 45,
                "key_pass": 1,
                "tackles": 3,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083649,
              "match_date": "2026-05-14",
              "home_team": "Real Madrid",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 64,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0359,
                "expected_assists": 0.0516,
                "total_shots": 1,
                "total_pass": 76,
                "accurate_pass": 74,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1575,
                "expected_assists": 0.0078,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 46,
                "accurate_pass": 41,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 84,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0237,
                "expected_assists": 0.0376,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 70,
                "accurate_pass": 64,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 5,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 63,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1373,
                "expected_assists": 0.0261,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 42,
                "accurate_pass": 37,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 4,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 300,
            "combined_rank_score": 206.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 185.0,
            "sofascore_rating": 7.2273,
            "sofascore_appearances": 33.0,
            "fifa_rank": 228.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0179,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aurélien Tchouaméni",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Reece James",
                  "ranking": 295
                },
                {
                  "player_name": "Ifeanyi Ndukwe",
                  "ranking": 296
                },
                {
                  "player_name": "Christian Pulišić",
                  "ranking": 297
                },
                {
                  "player_name": "Zubimendi",
                  "ranking": 298
                },
                {
                  "player_name": "Kim Min-Seung",
                  "ranking": 299
                }
              ],
              "lower": [
                {
                  "player_name": "Robert Lewandowski",
                  "ranking": 301
                },
                {
                  "player_name": "Matthijs de Ligt",
                  "ranking": 302
                },
                {
                  "player_name": "Rodrygo",
                  "ranking": 303
                },
                {
                  "player_name": "Aleksandar Šušnjar",
                  "ranking": 304
                },
                {
                  "player_name": "Brian Fariñas",
                  "ranking": 305
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 36,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0135,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 36 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.6382,
                "expected_assists": 0.0542,
                "assists": 0.0564,
                "assist_rate": 0.0564,
                "expected_goals": 0.0493,
                "goals": 0.0506,
                "goal_rate": 0.0506,
                "shots_on_target": 0.2095,
                "total_shots": 0.9861,
                "rating": 7.0179,
                "minutes": 78.82,
                "total_pass": 52.5532,
                "accurate_pass": 48.4221,
                "duels_won": 4.1755,
                "total_long_balls": 3.5704,
                "accurate_long_balls": 2.6082,
                "total_own_half_passes": 22.0747,
                "accurate_own_half_passes": 21.0217,
                "total_opp_half_passes": 30.4786,
                "accurate_opp_half_passes": 27.4005,
                "crosses_total": 0.247,
                "crosses_accurate": 0.0058,
                "touches": 64.1304,
                "possession_lost": 5.4748,
                "dispossessed": 0.2176,
                "duels_lost": 2.0859,
                "aerial_won": 1.4447,
                "aerial_lost": 0.4237,
                "interceptions": 1.8183,
                "tackles_won": 1.1843,
                "tackles": 1.8411,
                "clearances": 1.4543,
                "total_contest": 0.3593,
                "won_contest": 0.0942,
                "challenges_lost": 0.3412,
                "fouls": 0.8423,
                "fouls_drawn": 0.7956,
                "blocks": 0.1872,
                "big_chances_created": 0.0228,
                "big_chances_missed": 0.0567,
                "xgot": 0.0485,
                "ball_carries": 14.9611,
                "total_progression": 42.0356,
                "progressive_carries": 0.5393,
                "shots_off_target": 0.7766
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1087,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Deportivo Alavés",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-10",
                    "opponent": "Girona FC",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.4072,
                  "creative_index": 0.3401,
                  "expectedGoals": 0.0636,
                  "expectedAssists": 0.0448,
                  "onTargetScoringAttempt": 0.115
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6382168531417847,
                    "model_output": 0.6382,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.1174
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1058
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0739
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0572
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.03
                        }
                      ],
                      "others": -0.0753,
                      "total": 0.6382,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.142138
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128951
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.088227
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.07405
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.041148
                        }
                      ],
                      "others_margin": -0.111648
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05421632528305054,
                    "model_output": 0.0542,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0181
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0107
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.005
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0045
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0542,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.237192
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.147408
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.065988
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.063559
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.051046
                        }
                      ],
                      "others_margin": -0.18835
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.056376419961452484,
                    "model_output": 0.0564,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0065
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0037
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0124,
                      "total": 0.0564,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.128506
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.092819
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.082416
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.050655
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.045543
                        }
                      ],
                      "others_margin": -0.198997
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.049295276403427124,
                    "model_output": 0.0493,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0196
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0088
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0072
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0073
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0264,
                      "total": 0.0493,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.232065
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.124946
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.103969
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.094386
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.060997
                        }
                      ],
                      "others_margin": -0.430357
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0506131611764431,
                    "model_output": 0.0506,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0153
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0119
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0079
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0077
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0128,
                      "total": 0.0506,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.170713
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.156452
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.119429
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.115818
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.10213
                        }
                      ],
                      "others_margin": -0.224225
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.20950192213058472,
                    "model_output": 0.2095,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.075
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.06
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0404
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0395
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0248
                        }
                      ],
                      "others": -0.1056,
                      "total": 0.2095,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.208251
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.163041
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112513
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.109895
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.075829
                        }
                      ],
                      "others_margin": -0.407982
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9861308932304382,
                    "model_output": 0.9861,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.2686
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1306
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0696
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.043
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0424
                        }
                      ],
                      "others": -0.2486,
                      "total": 0.9861,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.268629
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.130556
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.069555
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043018
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.042375
                        }
                      ],
                      "others_margin": -0.248571
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.0179443359375,
                    "model_output": 7.0179,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0853
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0686
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0309
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0214
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0146
                        }
                      ],
                      "others": -0.0226,
                      "total": 7.0179,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.085268
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.068625
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.030861
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.021398
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.014635
                        }
                      ],
                      "others_margin": -0.022442
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 33,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0135, quality 0.875)",
              "stats": {
                "key_pass": 0.6468,
                "expected_assists": 0.0549,
                "assists": 0.0571,
                "assist_rate": 0.0571,
                "expected_goals": 0.05,
                "goals": 0.0513,
                "goal_rate": 0.0513,
                "shots_on_target": 0.2123,
                "total_shots": 0.9994,
                "rating": 7.0179,
                "minutes": 78.82,
                "total_pass": 53.2627,
                "accurate_pass": 49.0758,
                "duels_won": 4.2319,
                "total_long_balls": 3.6186,
                "accurate_long_balls": 2.6434,
                "total_own_half_passes": 22.3727,
                "accurate_own_half_passes": 21.3055,
                "total_opp_half_passes": 30.8901,
                "accurate_opp_half_passes": 27.7704,
                "crosses_total": 0.2503,
                "crosses_accurate": 0.0059,
                "touches": 64.9962,
                "possession_lost": 5.5487,
                "dispossessed": 0.2205,
                "duels_lost": 2.1141,
                "aerial_won": 1.4642,
                "aerial_lost": 0.4294,
                "interceptions": 1.8428,
                "tackles_won": 1.2003,
                "tackles": 1.866,
                "clearances": 1.4739,
                "total_contest": 0.3642,
                "won_contest": 0.0955,
                "challenges_lost": 0.3458,
                "fouls": 0.8537,
                "fouls_drawn": 0.8063,
                "blocks": 0.1897,
                "big_chances_created": 0.0231,
                "big_chances_missed": 0.0575,
                "xgot": 0.0492,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.7871
              },
              "params": {
                "market_value_eur": 73000000,
                "quality_factor": 0.8747,
                "boost_factor": 1.0135,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6468,
                "expected_assists": 0.0549,
                "assists": 0.0571,
                "assist_rate": 0.0571,
                "expected_goals": 0.05,
                "goals": 0.0513,
                "goal_rate": 0.0513,
                "shots_on_target": 0.2123,
                "total_shots": 0.9994,
                "rating": 7.0179,
                "minutes": 78.82,
                "total_pass": 53.2627,
                "accurate_pass": 49.0758,
                "duels_won": 4.2319,
                "total_long_balls": 3.6186,
                "accurate_long_balls": 2.6434,
                "total_own_half_passes": 22.3727,
                "accurate_own_half_passes": 21.3055,
                "total_opp_half_passes": 30.8901,
                "accurate_opp_half_passes": 27.7704,
                "crosses_total": 0.2503,
                "crosses_accurate": 0.0059,
                "touches": 64.9962,
                "possession_lost": 5.5487,
                "dispossessed": 0.2205,
                "duels_lost": 2.1141,
                "aerial_won": 1.4642,
                "aerial_lost": 0.4294,
                "interceptions": 1.8428,
                "tackles_won": 1.2003,
                "tackles": 1.866,
                "clearances": 1.4739,
                "total_contest": 0.3642,
                "won_contest": 0.0955,
                "challenges_lost": 0.3458,
                "fouls": 0.8537,
                "fouls_drawn": 0.8063,
                "blocks": 0.1897,
                "big_chances_created": 0.0231,
                "big_chances_missed": 0.0575,
                "xgot": 0.0492,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.7871
              },
              "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": 0.6468,
                "expected_assists": 0.0549,
                "assists": 0.0571,
                "assist_rate": 0.0571,
                "expected_goals": 0.0536,
                "goals": 0.0549,
                "goal_rate": 0.0549,
                "shots_on_target": 0.2274,
                "total_shots": 1.0705,
                "rating": 7.0179,
                "minutes": 78.82,
                "total_pass": 53.2627,
                "accurate_pass": 49.0758,
                "duels_won": 4.2319,
                "total_long_balls": 3.6186,
                "accurate_long_balls": 2.6434,
                "total_own_half_passes": 22.3727,
                "accurate_own_half_passes": 21.3055,
                "total_opp_half_passes": 30.8901,
                "accurate_opp_half_passes": 27.7704,
                "crosses_total": 0.2503,
                "crosses_accurate": 0.0059,
                "touches": 64.9962,
                "possession_lost": 5.5487,
                "dispossessed": 0.2205,
                "duels_lost": 2.1141,
                "aerial_won": 1.2,
                "aerial_lost": 0.4294,
                "interceptions": 1.8428,
                "tackles_won": 1.2003,
                "tackles": 1.866,
                "clearances": 1.4739,
                "total_contest": 0.3642,
                "won_contest": 0.0955,
                "challenges_lost": 0.3458,
                "fouls": 0.8537,
                "fouls_drawn": 0.8063,
                "blocks": 0.1897,
                "big_chances_created": 0.0231,
                "big_chances_missed": 0.0616,
                "xgot": 0.0527,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8431,
                "duel_xg_multiplier": 1.0711,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pedri",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.498,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0711,
                  "skill_edge": -0.0076,
                  "height_edge": 0.056,
                  "attacker_skill": 0.883,
                  "defender_skill": 0.8999,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pedri",
                      "market_value": 164000000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.8999
                    }
                  ],
                  "xg_override": 0.0536
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.4642,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.9994,
                  "after": 1.0705
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7871,
                  "after": 0.8431
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2123,
                  "after": 0.2274
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6468,
                "expected_assists": 0.0549,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.0536,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.2274,
                "total_shots": 1.0705,
                "rating": 7.0179,
                "minutes": 78.82,
                "total_pass": 53.2627,
                "accurate_pass": 49.0758,
                "duels_won": 4.2319,
                "total_long_balls": 3.6186,
                "accurate_long_balls": 2.6434,
                "total_own_half_passes": 22.3727,
                "accurate_own_half_passes": 21.3055,
                "total_opp_half_passes": 30.8901,
                "accurate_opp_half_passes": 27.7704,
                "crosses_total": 0.2503,
                "crosses_accurate": 0.0059,
                "touches": 64.9962,
                "possession_lost": 5.5487,
                "dispossessed": 0.2205,
                "duels_lost": 2.1141,
                "aerial_won": 1.2,
                "aerial_lost": 0.4294,
                "interceptions": 1.8428,
                "tackles_won": 1.2003,
                "tackles": 1.866,
                "clearances": 1.4739,
                "total_contest": 0.3642,
                "won_contest": 0.0955,
                "challenges_lost": 0.3458,
                "fouls": 0.8537,
                "fouls_drawn": 0.8063,
                "blocks": 0.1897,
                "big_chances_created": 0.0231,
                "big_chances_missed": 0.0616,
                "xgot": 0.0527,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8431,
                "duel_xg_multiplier": 1.0711,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.6468,
                "expected_assists": 0.0636,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.2274,
                "total_shots": 1.0705,
                "rating": 7.0179,
                "minutes": 78.82,
                "total_pass": 53.2627,
                "accurate_pass": 49.0758,
                "duels_won": 4.2319,
                "total_long_balls": 3.6186,
                "accurate_long_balls": 2.6434,
                "total_own_half_passes": 22.3727,
                "accurate_own_half_passes": 21.3055,
                "total_opp_half_passes": 30.8901,
                "accurate_opp_half_passes": 27.7704,
                "crosses_total": 0.2503,
                "crosses_accurate": 0.0059,
                "touches": 64.9962,
                "possession_lost": 5.5487,
                "dispossessed": 0.2205,
                "duels_lost": 2.1141,
                "aerial_won": 1.2,
                "aerial_lost": 0.4294,
                "interceptions": 1.8428,
                "tackles_won": 1.2003,
                "tackles": 1.866,
                "clearances": 1.4739,
                "total_contest": 0.3642,
                "won_contest": 0.0955,
                "challenges_lost": 0.3458,
                "fouls": 0.8537,
                "fouls_drawn": 0.8063,
                "blocks": 0.1897,
                "big_chances_created": 0.0231,
                "big_chances_missed": 0.0616,
                "xgot": 0.0507,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8431,
                "duel_xg_multiplier": 1.0711,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0125,
                "creation_factor": 1.021
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0549,
                  "after": 0.0636
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 84.0)",
              "stats": {
                "key_pass": 0.6468,
                "expected_assists": 0.0636,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.2274,
                "total_shots": 1.0705,
                "rating": 7.0179,
                "minutes": 78.82,
                "total_pass": 53.2627,
                "accurate_pass": 49.0758,
                "duels_won": 4.2319,
                "total_long_balls": 3.6186,
                "accurate_long_balls": 2.6434,
                "total_own_half_passes": 22.3727,
                "accurate_own_half_passes": 21.3055,
                "total_opp_half_passes": 30.8901,
                "accurate_opp_half_passes": 27.7704,
                "crosses_total": 0.2503,
                "crosses_accurate": 0.0059,
                "touches": 64.9962,
                "possession_lost": 5.5487,
                "dispossessed": 0.2205,
                "duels_lost": 2.1141,
                "aerial_won": 1.2,
                "aerial_lost": 0.4294,
                "interceptions": 1.8428,
                "tackles_won": 1.2003,
                "tackles": 1.866,
                "clearances": 1.4739,
                "total_contest": 0.3642,
                "won_contest": 0.0955,
                "challenges_lost": 0.3458,
                "fouls": 0.8537,
                "fouls_drawn": 0.8063,
                "blocks": 0.1897,
                "big_chances_created": 0.0231,
                "big_chances_missed": 0.0616,
                "xgot": 0.0507,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8431,
                "duel_xg_multiplier": 1.0711,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0125,
                "creation_factor": 1.021,
                "fifa_overall": 84.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": 300,
                "fifa_rank": 228.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.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.6468,
                "expected_assists": 0.0636,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.2274,
                "total_shots": 1.0705,
                "rating": 7.0179,
                "minutes": 78.82,
                "total_pass": 53.2627,
                "accurate_pass": 49.0758,
                "duels_won": 4.2319,
                "total_long_balls": 3.6186,
                "accurate_long_balls": 2.6434,
                "total_own_half_passes": 22.3727,
                "accurate_own_half_passes": 21.3055,
                "total_opp_half_passes": 30.8901,
                "accurate_opp_half_passes": 27.7704,
                "crosses_total": 0.2503,
                "crosses_accurate": 0.0059,
                "touches": 64.9962,
                "possession_lost": 5.5487,
                "dispossessed": 0.2205,
                "duels_lost": 2.1141,
                "aerial_won": 1.2,
                "aerial_lost": 0.4294,
                "interceptions": 1.8428,
                "tackles_won": 1.2003,
                "tackles": 1.866,
                "clearances": 1.4739,
                "total_contest": 0.3642,
                "won_contest": 0.0955,
                "challenges_lost": 0.3458,
                "fouls": 0.8537,
                "fouls_drawn": 0.8063,
                "blocks": 0.1897,
                "big_chances_created": 0.0231,
                "big_chances_missed": 0.0616,
                "xgot": 0.0507,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8431,
                "duel_xg_multiplier": 1.0711,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0503,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0125,
                "creation_factor": 1.021,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0503,
                "goal_rate": 0.0549,
                "scorer_weight": 0.0522,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0332,
                "finishing_factor": 1.0125,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.6468,
                "expected_assists": 0.0636,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.2274,
                "total_shots": 1.0705,
                "rating": 7.0179,
                "minutes": 78.82,
                "total_pass": 53.2627,
                "accurate_pass": 49.0758,
                "duels_won": 4.2319,
                "total_long_balls": 3.6186,
                "accurate_long_balls": 2.6434,
                "total_own_half_passes": 22.3727,
                "accurate_own_half_passes": 21.3055,
                "total_opp_half_passes": 30.8901,
                "accurate_opp_half_passes": 27.7704,
                "crosses_total": 0.2503,
                "crosses_accurate": 0.0059,
                "touches": 64.9962,
                "possession_lost": 5.5487,
                "dispossessed": 0.2205,
                "duels_lost": 2.1141,
                "aerial_won": 1.2,
                "aerial_lost": 0.4294,
                "interceptions": 1.8428,
                "tackles_won": 1.2003,
                "tackles": 1.866,
                "clearances": 1.4739,
                "total_contest": 0.3642,
                "won_contest": 0.0955,
                "challenges_lost": 0.3458,
                "fouls": 0.8537,
                "fouls_drawn": 0.8063,
                "blocks": 0.1897,
                "big_chances_created": 0.0231,
                "big_chances_missed": 0.0616,
                "xgot": 0.0507,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8431,
                "duel_xg_multiplier": 1.0711,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.498,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0503,
                "projected_assists": 0,
                "assist_probability": 0.0616,
                "finishing_factor": 1.0125,
                "creation_factor": 1.021,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0616,
                "assist_rate": 0.0571,
                "provider_weight": 0.0649,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0606,
                "creation_factor": 1.021,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Federico Valverde": {
          "player_id": 831808,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 181,
          "market_value": 87000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0802,
            "assist_rate": 0.0648,
            "assists": 0,
            "expected_goals": 0.0896,
            "goal_rate": 0.1123,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0431,
            "minutes": 82,
            "total_pass": 52,
            "accurate_pass": 48,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 31,
            "accurate_opp_half_passes": 28,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 61,
            "possession_lost": 6.1496,
            "dispossessed": 0.4183,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0986,
            "ball_carries": 16,
            "total_progression": 55,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.237,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.5,
            "crosses_attempted": 3.1,
            "duel_win_rate": 0.561,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
            "numerical_situation": "1v1",
            "opponent_defenders": "João Cancelo",
            "opponent_faced": "João Cancelo",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0857,
            "projected_assists": 0,
            "assist_probability": 0.0771,
            "finishing_factor": 1.1342,
            "creation_factor": 0.9623,
            "fifa_overall": 87.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 85,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0712,
                "expected_assists": 0.1735,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 39,
                "accurate_pass": 35,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1841,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 34,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0244,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 25,
                "clearances": 3,
                "aerial_won": 3,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0636,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 4,
                "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0745,
                "expected_assists": 0.0124,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 36,
                "accurate_pass": 35,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 82,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0223,
                "expected_assists": 0.0334,
                "total_shots": 1,
                "total_pass": 58,
                "accurate_pass": 51,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 77,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0574,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 50,
                "key_pass": 1,
                "interceptions": 1,
                "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1346,
                "expected_assists": 0.156,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 61,
                "accurate_pass": 57,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0541,
                "expected_assists": 0.0441,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 64,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 4,
                "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": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.013,
                "expected_assists": 0.0159,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 95,
                "accurate_pass": 89,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 46,
            "combined_rank_score": 57.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 62.0,
            "sofascore_rating": 7.65,
            "sofascore_appearances": 6.0,
            "fifa_rank": 52.0,
            "fifa_overall": 87.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0431,
            "source_file": "data/player_rankings.csv",
            "player_name": "Federico Valverde",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lionel Messi",
                  "ranking": 41
                },
                {
                  "player_name": "Abdumavlon Abduzhalilov",
                  "ranking": 42
                },
                {
                  "player_name": "Eryin Sanhueza",
                  "ranking": 43
                },
                {
                  "player_name": "Euller",
                  "ranking": 44
                },
                {
                  "player_name": "Bukayo Saka",
                  "ranking": 45
                }
              ],
              "lower": [
                {
                  "player_name": "Ayrton Lucas",
                  "ranking": 47
                },
                {
                  "player_name": "Giorgian de Arrascaeta",
                  "ranking": 48
                },
                {
                  "player_name": "Rayan Cherki",
                  "ranking": 49
                },
                {
                  "player_name": "Rodri",
                  "ranking": 50
                },
                {
                  "player_name": "Matheus Serafim",
                  "ranking": 51
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.778,
          "history_matches": 40,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.778,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0127,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 256.0,
              "goals_per90": 0.0,
              "assists_per90": 0.35714285714285715,
              "shots_per90": 1.05,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.1867
            },
            "rationale": "XGBoost regressor (M_service) evaluated 40 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.19, gls/90: 0.0, ast/90: 0.35714285714285715)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.796,
                "expected_assists": 0.0685,
                "assists": 0.0604,
                "assist_rate": 0.0604,
                "expected_goals": 0.0744,
                "goals": 0.0909,
                "goal_rate": 0.0909,
                "shots_on_target": 0.2872,
                "total_shots": 0.9376,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.3037,
                "accurate_pass": 46.922,
                "duels_won": 2.8374,
                "total_long_balls": 3.3108,
                "accurate_long_balls": 2.3283,
                "total_own_half_passes": 20.4992,
                "accurate_own_half_passes": 19.3531,
                "total_opp_half_passes": 30.8045,
                "accurate_opp_half_passes": 27.5689,
                "crosses_total": 0.2924,
                "crosses_accurate": 0.0658,
                "touches": 60.704,
                "possession_lost": 6.0725,
                "dispossessed": 0.4131,
                "duels_lost": 1.731,
                "aerial_won": 0.7276,
                "aerial_lost": 0.0708,
                "interceptions": 0.6397,
                "tackles_won": 0.6633,
                "tackles": 0.8774,
                "clearances": 1.4378,
                "total_contest": 0.9234,
                "won_contest": 0.6397,
                "challenges_lost": 0.4839,
                "fouls": 0.4795,
                "fouls_drawn": 0.5927,
                "blocks": 0.2863,
                "big_chances_created": 0.0597,
                "big_chances_missed": 0.0004,
                "xgot": 0.0819,
                "ball_carries": 16.1988,
                "total_progression": 53.8957,
                "progressive_carries": 1.4087,
                "shots_off_target": 0.6504
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-24",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.0592,
                  "creative_index": 0.3177,
                  "expectedGoals": 0.0554,
                  "expectedAssists": 0.0716,
                  "onTargetScoringAttempt": 0.423
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7960318326950073,
                    "model_output": 0.796,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.1009
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0964
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0718
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0311
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0218
                        }
                      ],
                      "others": 0.039,
                      "total": 0.796,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.120825
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115809
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.084962
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.039097
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.02834
                        }
                      ],
                      "others_margin": 0.050114
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06847000122070312,
                    "model_output": 0.0685,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0178
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0081
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0047
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0039
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.0685,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.233312
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112976
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.060258
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.04909
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.04328
                        }
                      ],
                      "others_margin": -0.072864
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06043468043208122,
                    "model_output": 0.0604,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0123
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0063
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.005
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0034
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0031
                        }
                      ],
                      "others": -0.0135,
                      "total": 0.0604,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.155422
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.082547
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065818
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.046875
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.042467
                        }
                      ],
                      "others_margin": -0.200685
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07439443469047546,
                    "model_output": 0.0744,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.012
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0113
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0041
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0039
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0154,
                      "total": 0.0744,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.135727
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128593
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.045181
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.042924
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.040515
                        }
                      ],
                      "others_margin": -0.188552
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09085731953382492,
                    "model_output": 0.0909,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0094
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0083
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0071
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0067
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0066
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0909,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "pass_accuracy",
                          "margin": -0.101676
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.089486
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.071367
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.067172
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.065948
                        }
                      ],
                      "others_margin": -0.130005
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2871542274951935,
                    "model_output": 0.2872,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.043
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0222
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0205
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0169
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0493,
                      "total": 0.2872,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.124506
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.062269
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.057641
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.04736
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.034775
                        }
                      ],
                      "others_margin": -0.158439
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9375300407409668,
                    "model_output": 0.9375,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1408
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0402
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.04
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.033
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0219
                        }
                      ],
                      "others": -0.1391,
                      "total": 0.9375,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.140805
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.040158
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.040011
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.033043
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.021909
                        }
                      ],
                      "others_margin": -0.138935
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.043088912963867,
                    "model_output": 7.0431,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0937
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.073
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0378
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0267
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0131
                        }
                      ],
                      "others": -0.0239,
                      "total": 7.0431,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.093743
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.072984
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.037834
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.026671
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.013109
                        }
                      ],
                      "others_margin": -0.023903
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "role_matches": 38,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0127, quality 0.887)",
              "stats": {
                "key_pass": 0.8061,
                "expected_assists": 0.0693,
                "assists": 0.0612,
                "assist_rate": 0.0612,
                "expected_goals": 0.0753,
                "goals": 0.092,
                "goal_rate": 0.092,
                "shots_on_target": 0.2908,
                "total_shots": 0.9495,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.9553,
                "accurate_pass": 47.5179,
                "duels_won": 2.8734,
                "total_long_balls": 3.3528,
                "accurate_long_balls": 2.3579,
                "total_own_half_passes": 20.7595,
                "accurate_own_half_passes": 19.5989,
                "total_opp_half_passes": 31.1957,
                "accurate_opp_half_passes": 27.919,
                "crosses_total": 0.2961,
                "crosses_accurate": 0.0666,
                "touches": 61.4749,
                "possession_lost": 6.1496,
                "dispossessed": 0.4183,
                "duels_lost": 1.753,
                "aerial_won": 0.7368,
                "aerial_lost": 0.0717,
                "interceptions": 0.6478,
                "tackles_won": 0.6717,
                "tackles": 0.8885,
                "clearances": 1.4561,
                "total_contest": 0.9351,
                "won_contest": 0.6478,
                "challenges_lost": 0.49,
                "fouls": 0.4856,
                "fouls_drawn": 0.6002,
                "blocks": 0.2899,
                "big_chances_created": 0.0605,
                "big_chances_missed": 0.0004,
                "xgot": 0.0829,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.6587
              },
              "params": {
                "market_value_eur": 87000000,
                "quality_factor": 0.8873,
                "boost_factor": 1.0127,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0135)",
              "stats": {
                "key_pass": 0.8061,
                "expected_assists": 0.0693,
                "assists": 0.0648,
                "assist_rate": 0.0648,
                "expected_goals": 0.0753,
                "goals": 0.0908,
                "goal_rate": 0.0908,
                "shots_on_target": 0.2912,
                "total_shots": 0.9496,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.9553,
                "accurate_pass": 47.5179,
                "duels_won": 2.8734,
                "total_long_balls": 3.3528,
                "accurate_long_balls": 2.3579,
                "total_own_half_passes": 20.7595,
                "accurate_own_half_passes": 19.5989,
                "total_opp_half_passes": 31.1957,
                "accurate_opp_half_passes": 27.919,
                "crosses_total": 0.2965,
                "crosses_accurate": 0.0666,
                "touches": 61.4749,
                "possession_lost": 6.1496,
                "dispossessed": 0.4183,
                "duels_lost": 1.753,
                "aerial_won": 0.7368,
                "aerial_lost": 0.0717,
                "interceptions": 0.6523,
                "tackles_won": 0.6847,
                "tackles": 0.8885,
                "clearances": 1.4561,
                "total_contest": 0.9351,
                "won_contest": 0.6478,
                "challenges_lost": 0.49,
                "fouls": 0.4835,
                "fouls_drawn": 0.5921,
                "blocks": 0.2899,
                "big_chances_created": 0.0605,
                "big_chances_missed": 0.0004,
                "xgot": 0.0829,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.6587
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9144,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.6717,
                  "after": 0.6847
                },
                {
                  "stat": "wasFouled",
                  "before": 0.6002,
                  "after": 0.5921
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8061,
                "expected_assists": 0.0693,
                "assists": 0.0648,
                "assist_rate": 0.0648,
                "expected_goals": 0.0753,
                "goals": 0.0908,
                "goal_rate": 0.0908,
                "shots_on_target": 0.2912,
                "total_shots": 0.9499,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.9553,
                "accurate_pass": 47.5179,
                "duels_won": 2.8734,
                "total_long_balls": 3.3528,
                "accurate_long_balls": 2.3579,
                "total_own_half_passes": 20.7595,
                "accurate_own_half_passes": 19.5989,
                "total_opp_half_passes": 31.1957,
                "accurate_opp_half_passes": 27.919,
                "crosses_total": 0.2965,
                "crosses_accurate": 0.0666,
                "touches": 61.4749,
                "possession_lost": 6.1496,
                "dispossessed": 0.4183,
                "duels_lost": 1.753,
                "aerial_won": 0.7368,
                "aerial_lost": 0.0717,
                "interceptions": 0.6523,
                "tackles_won": 0.6847,
                "tackles": 0.8885,
                "clearances": 1.4561,
                "total_contest": 0.9351,
                "won_contest": 0.6478,
                "challenges_lost": 0.49,
                "fouls": 0.4835,
                "fouls_drawn": 0.5921,
                "blocks": 0.2899,
                "big_chances_created": 0.0605,
                "big_chances_missed": 0.0004,
                "xgot": 0.0829,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.6587
              },
              "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": 0.8061,
                "expected_assists": 0.0693,
                "assists": 0.0648,
                "assist_rate": 0.0648,
                "expected_goals": 0.0931,
                "goals": 0.1123,
                "goal_rate": 0.1123,
                "shots_on_target": 0.3602,
                "total_shots": 1.175,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.9553,
                "accurate_pass": 47.5179,
                "duels_won": 2.8734,
                "total_long_balls": 3.3528,
                "accurate_long_balls": 2.3579,
                "total_own_half_passes": 20.7595,
                "accurate_own_half_passes": 19.5989,
                "total_opp_half_passes": 31.1957,
                "accurate_opp_half_passes": 27.919,
                "crosses_total": 0.2965,
                "crosses_accurate": 0.0666,
                "touches": 61.4749,
                "possession_lost": 6.1496,
                "dispossessed": 0.4183,
                "duels_lost": 1.753,
                "aerial_won": 1.1,
                "aerial_lost": 0.0717,
                "interceptions": 0.6523,
                "tackles_won": 0.6847,
                "tackles": 0.8885,
                "clearances": 1.4561,
                "total_contest": 0.9351,
                "won_contest": 0.6478,
                "challenges_lost": 0.49,
                "fouls": 0.4835,
                "fouls_drawn": 0.5921,
                "blocks": 0.2899,
                "big_chances_created": 0.0605,
                "big_chances_missed": 0.0005,
                "xgot": 0.1025,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.8148,
                "duel_xg_multiplier": 1.237,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.561,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "João Cancelo",
                "opponent_faced": "João Cancelo",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "João Cancelo",
                  "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                  "duel_win_rate": 0.561,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.237,
                  "skill_edge": 0.1652,
                  "height_edge": -0.004,
                  "attacker_skill": 0.898,
                  "defender_skill": 0.5308,
                  "attacker_role": "RWB",
                  "attacker_mv_price_index": 0.7,
                  "defender_adjusted_parts": [
                    {
                      "player": "João Cancelo",
                      "market_value": 7500000,
                      "role": "LB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.5308
                    }
                  ],
                  "xg_override": 0.0931
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.7368,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.9499,
                  "after": 1.175
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6587,
                  "after": 0.8148
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2912,
                  "after": 0.3602
                },
                {
                  "stat": "goals",
                  "before": 0.0908,
                  "after": 0.1123
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0829,
                  "after": 0.1025
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0753,
                  "after": 0.0931
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.8061,
                "expected_assists": 0.0693,
                "assist_rate": 0.0648,
                "assists": 0,
                "expected_goals": 0.0931,
                "goal_rate": 0.1123,
                "goals": 0,
                "shots_on_target": 0.3602,
                "total_shots": 1.175,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.9553,
                "accurate_pass": 47.5179,
                "duels_won": 2.8734,
                "total_long_balls": 3.3528,
                "accurate_long_balls": 2.3579,
                "total_own_half_passes": 20.7595,
                "accurate_own_half_passes": 19.5989,
                "total_opp_half_passes": 31.1957,
                "accurate_opp_half_passes": 27.919,
                "crosses_total": 0.2965,
                "crosses_accurate": 0.0666,
                "touches": 61.4749,
                "possession_lost": 6.1496,
                "dispossessed": 0.4183,
                "duels_lost": 1.753,
                "aerial_won": 1.1,
                "aerial_lost": 0.0717,
                "interceptions": 0.6523,
                "tackles_won": 0.6847,
                "tackles": 0.8885,
                "clearances": 1.4561,
                "total_contest": 0.9351,
                "won_contest": 0.6478,
                "challenges_lost": 0.49,
                "fouls": 0.4835,
                "fouls_drawn": 0.5921,
                "blocks": 0.2899,
                "big_chances_created": 0.0605,
                "big_chances_missed": 0.0005,
                "xgot": 0.1025,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.8148,
                "duel_xg_multiplier": 1.237,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.561,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "João Cancelo",
                "opponent_faced": "João Cancelo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.8061,
                "expected_assists": 0.0802,
                "assist_rate": 0.0648,
                "assists": 0,
                "expected_goals": 0.0896,
                "goal_rate": 0.1123,
                "goals": 0,
                "shots_on_target": 0.3602,
                "total_shots": 1.175,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.9553,
                "accurate_pass": 47.5179,
                "duels_won": 2.8734,
                "total_long_balls": 3.3528,
                "accurate_long_balls": 2.3579,
                "total_own_half_passes": 20.7595,
                "accurate_own_half_passes": 19.5989,
                "total_opp_half_passes": 31.1957,
                "accurate_opp_half_passes": 27.919,
                "crosses_total": 0.2965,
                "crosses_accurate": 0.0666,
                "touches": 61.4749,
                "possession_lost": 6.1496,
                "dispossessed": 0.4183,
                "duels_lost": 1.753,
                "aerial_won": 1.1,
                "aerial_lost": 0.0717,
                "interceptions": 0.6523,
                "tackles_won": 0.6847,
                "tackles": 0.8885,
                "clearances": 1.4561,
                "total_contest": 0.9351,
                "won_contest": 0.6478,
                "challenges_lost": 0.49,
                "fouls": 0.4835,
                "fouls_drawn": 0.5921,
                "blocks": 0.2899,
                "big_chances_created": 0.0605,
                "big_chances_missed": 0.0005,
                "xgot": 0.0986,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.8148,
                "duel_xg_multiplier": 1.237,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.561,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "João Cancelo",
                "opponent_faced": "João Cancelo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1342,
                "creation_factor": 0.9623
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0693,
                  "after": 0.0802
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 87.0)",
              "stats": {
                "key_pass": 0.8061,
                "expected_assists": 0.0802,
                "assist_rate": 0.0648,
                "assists": 0,
                "expected_goals": 0.0896,
                "goal_rate": 0.1123,
                "goals": 0,
                "shots_on_target": 0.3602,
                "total_shots": 1.175,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.9553,
                "accurate_pass": 47.5179,
                "duels_won": 2.8734,
                "total_long_balls": 3.3528,
                "accurate_long_balls": 2.3579,
                "total_own_half_passes": 20.7595,
                "accurate_own_half_passes": 19.5989,
                "total_opp_half_passes": 31.1957,
                "accurate_opp_half_passes": 27.919,
                "crosses_total": 0.2965,
                "crosses_accurate": 0.0666,
                "touches": 61.4749,
                "possession_lost": 6.1496,
                "dispossessed": 0.4183,
                "duels_lost": 1.753,
                "aerial_won": 1.1,
                "aerial_lost": 0.0717,
                "interceptions": 0.6523,
                "tackles_won": 0.6847,
                "tackles": 0.8885,
                "clearances": 1.4561,
                "total_contest": 0.9351,
                "won_contest": 0.6478,
                "challenges_lost": 0.49,
                "fouls": 0.4835,
                "fouls_drawn": 0.5921,
                "blocks": 0.2899,
                "big_chances_created": 0.0605,
                "big_chances_missed": 0.0005,
                "xgot": 0.0986,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.8148,
                "duel_xg_multiplier": 1.237,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.561,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "João Cancelo",
                "opponent_faced": "João Cancelo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1342,
                "creation_factor": 0.9623,
                "fifa_overall": 87.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": 46,
                "fifa_rank": 52.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 87.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.8061,
                "expected_assists": 0.0802,
                "assist_rate": 0.0648,
                "assists": 0,
                "expected_goals": 0.0896,
                "goal_rate": 0.1123,
                "goals": 0,
                "shots_on_target": 0.3602,
                "total_shots": 1.175,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.9553,
                "accurate_pass": 47.5179,
                "duels_won": 2.8734,
                "total_long_balls": 3.3528,
                "accurate_long_balls": 2.3579,
                "total_own_half_passes": 20.7595,
                "accurate_own_half_passes": 19.5989,
                "total_opp_half_passes": 31.1957,
                "accurate_opp_half_passes": 27.919,
                "crosses_total": 0.2965,
                "crosses_accurate": 0.0666,
                "touches": 61.4749,
                "possession_lost": 6.1496,
                "dispossessed": 0.4183,
                "duels_lost": 1.753,
                "aerial_won": 1.1,
                "aerial_lost": 0.0717,
                "interceptions": 0.6523,
                "tackles_won": 0.6847,
                "tackles": 0.8885,
                "clearances": 1.4561,
                "total_contest": 0.9351,
                "won_contest": 0.6478,
                "challenges_lost": 0.49,
                "fouls": 0.4835,
                "fouls_drawn": 0.5921,
                "blocks": 0.2899,
                "big_chances_created": 0.0605,
                "big_chances_missed": 0.0005,
                "xgot": 0.0986,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.8148,
                "duel_xg_multiplier": 1.237,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.561,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "João Cancelo",
                "opponent_faced": "João Cancelo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0857,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1342,
                "creation_factor": 0.9623,
                "fifa_overall": 87.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0857,
                "goal_rate": 0.1123,
                "scorer_weight": 0.1016,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0646,
                "finishing_factor": 1.1342,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.8061,
                "expected_assists": 0.0802,
                "assist_rate": 0.0648,
                "assists": 0,
                "expected_goals": 0.0896,
                "goal_rate": 0.1123,
                "goals": 0,
                "shots_on_target": 0.3602,
                "total_shots": 1.175,
                "rating": 7.0431,
                "minutes": 82.3,
                "total_pass": 51.9553,
                "accurate_pass": 47.5179,
                "duels_won": 2.8734,
                "total_long_balls": 3.3528,
                "accurate_long_balls": 2.3579,
                "total_own_half_passes": 20.7595,
                "accurate_own_half_passes": 19.5989,
                "total_opp_half_passes": 31.1957,
                "accurate_opp_half_passes": 27.919,
                "crosses_total": 0.2965,
                "crosses_accurate": 0.0666,
                "touches": 61.4749,
                "possession_lost": 6.1496,
                "dispossessed": 0.4183,
                "duels_lost": 1.753,
                "aerial_won": 1.1,
                "aerial_lost": 0.0717,
                "interceptions": 0.6523,
                "tackles_won": 0.6847,
                "tackles": 0.8885,
                "clearances": 1.4561,
                "total_contest": 0.9351,
                "won_contest": 0.6478,
                "challenges_lost": 0.49,
                "fouls": 0.4835,
                "fouls_drawn": 0.5921,
                "blocks": 0.2899,
                "big_chances_created": 0.0605,
                "big_chances_missed": 0.0005,
                "xgot": 0.0986,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.8148,
                "duel_xg_multiplier": 1.237,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.5,
                "crosses_attempted": 3.1,
                "duel_win_rate": 0.561,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wingback vs Left Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "João Cancelo",
                "opponent_faced": "João Cancelo",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0857,
                "projected_assists": 0,
                "assist_probability": 0.0771,
                "finishing_factor": 1.1342,
                "creation_factor": 0.9623,
                "fifa_overall": 87.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0771,
                "assist_rate": 0.0648,
                "provider_weight": 0.0772,
                "squad_weight_total": 1.0718,
                "weight_share": 0.072,
                "creation_factor": 0.9623,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Dean Huijsen": {
          "player_id": 1176744,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 195,
          "market_value": 66000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 7.04,
            "minutes": 82,
            "total_pass": 63,
            "accurate_pass": 60,
            "duels_won": 3,
            "total_long_balls": 6,
            "accurate_long_balls": 4,
            "total_own_half_passes": 37,
            "accurate_own_half_passes": 36,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 23,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 76,
            "possession_lost": 3.9755,
            "dispossessed": 0.0291,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0285,
            "goals": 0,
            "assist_rate": 0.0173,
            "assists": 0,
            "expected_goals": 0.0861,
            "expected_assists": 0.042,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.065,
            "ball_carries": 21,
            "total_progression": 92,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.2,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.802,
            "opponent_faced": "Lamine Yamal",
            "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.0825,
            "projected_assists": 0,
            "assist_probability": 0.0411,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0143,
                "total_shots": 0,
                "total_pass": 94,
                "accurate_pass": 91,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 52,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 36,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1048,
                "expected_assists": 0.0128,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 51,
                "accurate_pass": 49,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4003,
                "expected_assists": 0.2102,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 88,
                "accurate_pass": 86,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 2,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0102,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 49,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "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_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0541,
                "expected_assists": 0.0189,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 72,
                "accurate_pass": 69,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 11,
                "aerial_won": 3,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0842,
                "expected_assists": 0.0128,
                "total_shots": 1,
                "total_pass": 76,
                "accurate_pass": 74,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 3,
                "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"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 20,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 15,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083702,
              "match_date": "2026-05-17",
              "home_team": "Sevilla",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 73,
                "accurate_pass": 67,
                "interceptions": 1,
                "clearances": 5,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0244,
                "expected_assists": 0.0235,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 97,
                "accurate_pass": 89,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 556,
            "combined_rank_score": 306.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 30.0,
            "sofascore_rating": 8.0,
            "sofascore_appearances": 2.0,
            "fifa_rank": 583.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.04,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dean Huijsen",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Senne Lammens",
                  "ranking": 551
                },
                {
                  "player_name": "Agustín Arce",
                  "ranking": 552
                },
                {
                  "player_name": "Alejandro Panach Olmo",
                  "ranking": 553
                },
                {
                  "player_name": "Edu Altozano",
                  "ranking": 554
                },
                {
                  "player_name": "Joseph Otunenche",
                  "ranking": 555
                }
              ],
              "lower": [
                {
                  "player_name": "Jarrod Bowen",
                  "ranking": 557
                },
                {
                  "player_name": "Ivan Alonso Martin",
                  "ranking": 558
                },
                {
                  "player_name": "Marco Román",
                  "ranking": 559
                },
                {
                  "player_name": "Nicolas Pépé",
                  "ranking": 560
                },
                {
                  "player_name": "Javi Navarro",
                  "ranking": 561
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 34,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 34,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0138,
            "fbref_prior_metrics": {
              "squad": "Real 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": 1.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 34 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.20, 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.1561,
                "tackles": 1.3212,
                "tackles_won": 0.7656,
                "clearances": 4.9893,
                "aerial_won": 1.6502,
                "total_shots": 0.5362,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 62.6085,
                "accurate_pass": 59.1455,
                "duels_won": 3.4128,
                "total_long_balls": 5.6115,
                "accurate_long_balls": 3.831,
                "total_own_half_passes": 36.7577,
                "accurate_own_half_passes": 35.9925,
                "total_opp_half_passes": 25.8507,
                "accurate_opp_half_passes": 23.153,
                "crosses_total": 0.1108,
                "crosses_accurate": 0.1092,
                "touches": 74.5244,
                "possession_lost": 3.9214,
                "dispossessed": 0.0287,
                "duels_lost": 2.1354,
                "aerial_lost": 1.0049,
                "total_contest": 0.0081,
                "won_contest": 0.0081,
                "ball_recovery": 2.7527,
                "challenges_lost": 0.2254,
                "fouls": 0.9294,
                "fouls_drawn": 0.4737,
                "blocks": 0.3362,
                "goals": 0.0286,
                "goal_rate": 0.0286,
                "assists": 0.0174,
                "assist_rate": 0.0174,
                "expected_goals": 0.0883,
                "expected_assists": 0.0358,
                "shots_on_target": 0.3129,
                "big_chances_created": 0.0019,
                "xgot": 0.0666,
                "ball_carries": 20.7205,
                "total_progression": 90.8336,
                "progressive_carries": 1.025,
                "key_pass": 0.2734,
                "shots_off_target": 0.2233
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 52.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-04-24",
                    "opponent": "Real Betis",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.5357,
                  "aerialWon": 1.3919,
                  "totalClearance_p90": 5.4998,
                  "totalTackle": 1.3355,
                  "totalPass": 58.3392
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1560781002044678,
                    "model_output": 1.1561,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1172
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0694
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0301
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0292
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0236
                        }
                      ],
                      "others": 0.0293,
                      "total": 1.1561,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128094
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.068809
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.02841
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.026787
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.02114
                        }
                      ],
                      "others_margin": 0.025794
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.321238398551941,
                    "model_output": 1.3212,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1688
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0785
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0572
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0471
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0436
                        }
                      ],
                      "others": -0.1093,
                      "total": 1.3212,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114335
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.051541
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.039268
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.032471
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.030029
                        }
                      ],
                      "others_margin": -0.079487
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7655580639839172,
                    "model_output": 0.7656,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0969
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0445
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0316
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0272
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0239
                        }
                      ],
                      "others": -0.1217,
                      "total": 0.7656,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.107444
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.047881
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.034239
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.029422
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.026548
                        }
                      ],
                      "others_margin": -0.147569
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.9893388748168945,
                    "model_output": 4.9893,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4328
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.4632
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2385
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2418
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1732
                        }
                      ],
                      "others": -0.0116,
                      "total": 4.9893,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118137
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.112668
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053413
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.051391
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.03524
                        }
                      ],
                      "others_margin": -0.002329
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.650180459022522,
                    "model_output": 1.6502,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1496
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1093
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.095
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0675
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0648
                        }
                      ],
                      "others": 0.0006,
                      "total": 1.6502,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.10281
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.074003
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.064626
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.043513
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.040095
                        }
                      ],
                      "others_margin": 0.000291
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5361531376838684,
                    "model_output": 0.5362,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0553
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0514
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0203
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0203
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0179
                        }
                      ],
                      "others": -0.0643,
                      "total": 0.5362,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.055318
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.051435
                        },
                        {
                          "name": "rating",
                          "margin": 0.020321
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.020319
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.017906
                        }
                      ],
                      "others_margin": -0.064464
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.03999137878418,
                    "model_output": 7.04,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0486
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0326
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0235
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0234
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.023
                        }
                      ],
                      "others": 0.1038,
                      "total": 7.04,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.048603
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.032645
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.023523
                        },
                        {
                          "name": "rating",
                          "margin": 0.023366
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.023041
                        }
                      ],
                      "others_margin": 0.103682
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 34,
                  "role_matches": 30,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0138, quality 0.864)",
              "stats": {
                "interceptions": 1.172,
                "tackles": 1.3395,
                "tackles_won": 0.7761,
                "clearances": 5.0582,
                "aerial_won": 1.673,
                "total_shots": 0.5436,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 63.4725,
                "accurate_pass": 59.9617,
                "duels_won": 3.4599,
                "total_long_balls": 5.6889,
                "accurate_long_balls": 3.8839,
                "total_own_half_passes": 37.265,
                "accurate_own_half_passes": 36.4892,
                "total_opp_half_passes": 26.2074,
                "accurate_opp_half_passes": 23.4725,
                "crosses_total": 0.1123,
                "crosses_accurate": 0.1107,
                "touches": 75.5528,
                "possession_lost": 3.9755,
                "dispossessed": 0.0291,
                "duels_lost": 2.1649,
                "aerial_lost": 1.0188,
                "total_contest": 0.0082,
                "won_contest": 0.0082,
                "ball_recovery": 2.7907,
                "challenges_lost": 0.2285,
                "fouls": 0.9422,
                "fouls_drawn": 0.4802,
                "blocks": 0.3408,
                "goals": 0.029,
                "goal_rate": 0.029,
                "assists": 0.0176,
                "assist_rate": 0.0176,
                "expected_goals": 0.0895,
                "expected_assists": 0.0363,
                "shots_on_target": 0.3172,
                "big_chances_created": 0.0019,
                "xgot": 0.0675,
                "ball_carries": 21.0064,
                "total_progression": 92.0871,
                "progressive_carries": 1.0391,
                "key_pass": 0.2772,
                "shots_off_target": 0.2264
              },
              "params": {
                "market_value_eur": 66000000,
                "quality_factor": 0.8644,
                "boost_factor": 1.0138,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0167)",
              "stats": {
                "interceptions": 1.1728,
                "tackles": 1.3395,
                "tackles_won": 0.7784,
                "clearances": 5.0582,
                "aerial_won": 1.673,
                "total_shots": 0.5498,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 63.4725,
                "accurate_pass": 59.9617,
                "duels_won": 3.4599,
                "total_long_balls": 5.6889,
                "accurate_long_balls": 3.8839,
                "total_own_half_passes": 37.265,
                "accurate_own_half_passes": 36.4892,
                "total_opp_half_passes": 26.2074,
                "accurate_opp_half_passes": 23.4725,
                "crosses_total": 0.1104,
                "crosses_accurate": 0.1107,
                "touches": 75.5528,
                "possession_lost": 3.9755,
                "dispossessed": 0.0291,
                "duels_lost": 2.1649,
                "aerial_lost": 1.0188,
                "total_contest": 0.0082,
                "won_contest": 0.0082,
                "ball_recovery": 2.7907,
                "challenges_lost": 0.2285,
                "fouls": 0.9366,
                "fouls_drawn": 0.4823,
                "blocks": 0.3408,
                "goals": 0.0285,
                "goal_rate": 0.0285,
                "assists": 0.0173,
                "assist_rate": 0.0173,
                "expected_goals": 0.0895,
                "expected_assists": 0.0363,
                "shots_on_target": 0.3119,
                "big_chances_created": 0.0019,
                "xgot": 0.0675,
                "ball_carries": 21.0064,
                "total_progression": 92.0871,
                "progressive_carries": 1.0391,
                "key_pass": 0.2772,
                "shots_off_target": 0.2264
              },
              "params": {
                "blend_weight": 0.0167,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9133,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.5436,
                  "after": 0.5498
                },
                {
                  "stat": "fouls",
                  "before": 0.9422,
                  "after": 0.9366
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3172,
                  "after": 0.3119
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1728,
                "tackles": 1.3395,
                "tackles_won": 0.7784,
                "clearances": 5.0582,
                "aerial_won": 1.673,
                "total_shots": 0.5498,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 63.4725,
                "accurate_pass": 59.9617,
                "duels_won": 3.4599,
                "total_long_balls": 5.6889,
                "accurate_long_balls": 3.8839,
                "total_own_half_passes": 37.265,
                "accurate_own_half_passes": 36.4892,
                "total_opp_half_passes": 26.2074,
                "accurate_opp_half_passes": 23.4725,
                "crosses_total": 0.1104,
                "crosses_accurate": 0.1104,
                "touches": 75.5528,
                "possession_lost": 3.9755,
                "dispossessed": 0.0291,
                "duels_lost": 2.1649,
                "aerial_lost": 1.0188,
                "total_contest": 0.0082,
                "won_contest": 0.0082,
                "ball_recovery": 2.7907,
                "challenges_lost": 0.2285,
                "fouls": 0.9366,
                "fouls_drawn": 0.4823,
                "blocks": 0.3408,
                "goals": 0.0285,
                "goal_rate": 0.0285,
                "assists": 0.0173,
                "assist_rate": 0.0173,
                "expected_goals": 0.0895,
                "expected_assists": 0.0363,
                "shots_on_target": 0.3119,
                "big_chances_created": 0.0019,
                "xgot": 0.0675,
                "ball_carries": 21.0064,
                "total_progression": 92.0871,
                "progressive_carries": 1.0391,
                "key_pass": 0.2772,
                "shots_off_target": 0.2264
              },
              "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.1728,
                "tackles": 1.3395,
                "tackles_won": 0.7784,
                "clearances": 5.0582,
                "aerial_won": 1.673,
                "total_shots": 0.5498,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 63.4725,
                "accurate_pass": 59.9617,
                "duels_won": 3.4599,
                "total_long_balls": 5.6889,
                "accurate_long_balls": 3.8839,
                "total_own_half_passes": 37.265,
                "accurate_own_half_passes": 36.4892,
                "total_opp_half_passes": 26.2074,
                "accurate_opp_half_passes": 23.4725,
                "crosses_total": 0.1104,
                "crosses_accurate": 0.1104,
                "touches": 75.5528,
                "possession_lost": 3.9755,
                "dispossessed": 0.0291,
                "duels_lost": 2.1649,
                "aerial_lost": 1.0188,
                "total_contest": 0.0082,
                "won_contest": 0.0082,
                "ball_recovery": 2.7907,
                "challenges_lost": 0.2285,
                "fouls": 0.9366,
                "fouls_drawn": 0.4823,
                "blocks": 0.3408,
                "goals": 0.0285,
                "goal_rate": 0.0285,
                "assists": 0.0173,
                "assist_rate": 0.0173,
                "expected_goals": 0.0895,
                "expected_assists": 0.0363,
                "shots_on_target": 0.3119,
                "big_chances_created": 0.0019,
                "xgot": 0.0675,
                "ball_carries": 21.0064,
                "total_progression": 92.0871,
                "progressive_carries": 1.0391,
                "key_pass": 0.2772,
                "shots_off_target": 0.2264,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Lamine Yamal",
                "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": "Lamine Yamal",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1728,
                "tackles": 1.3395,
                "tackles_won": 0.7784,
                "clearances": 5.0582,
                "aerial_won": 1.673,
                "total_shots": 0.5498,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 63.4725,
                "accurate_pass": 59.9617,
                "duels_won": 3.4599,
                "total_long_balls": 5.6889,
                "accurate_long_balls": 3.8839,
                "total_own_half_passes": 37.265,
                "accurate_own_half_passes": 36.4892,
                "total_opp_half_passes": 26.2074,
                "accurate_opp_half_passes": 23.4725,
                "crosses_total": 0.1104,
                "crosses_accurate": 0.1104,
                "touches": 75.5528,
                "possession_lost": 3.9755,
                "dispossessed": 0.0291,
                "duels_lost": 2.1649,
                "aerial_lost": 1.0188,
                "total_contest": 0.0082,
                "won_contest": 0.0082,
                "ball_recovery": 2.7907,
                "challenges_lost": 0.2285,
                "fouls": 0.9366,
                "fouls_drawn": 0.4823,
                "blocks": 0.3408,
                "goal_rate": 0.0285,
                "goals": 0,
                "assist_rate": 0.0173,
                "assists": 0,
                "expected_goals": 0.0895,
                "expected_assists": 0.0363,
                "shots_on_target": 0.3119,
                "big_chances_created": 0.0019,
                "xgot": 0.0675,
                "ball_carries": 21.0064,
                "total_progression": 92.0871,
                "progressive_carries": 1.0391,
                "key_pass": 0.2772,
                "shots_off_target": 0.2264,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Lamine Yamal",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.1728,
                "tackles": 1.3395,
                "tackles_won": 0.7784,
                "clearances": 5.0582,
                "aerial_won": 1.673,
                "total_shots": 0.5498,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 63.4725,
                "accurate_pass": 59.9617,
                "duels_won": 3.4599,
                "total_long_balls": 5.6889,
                "accurate_long_balls": 3.8839,
                "total_own_half_passes": 37.265,
                "accurate_own_half_passes": 36.4892,
                "total_opp_half_passes": 26.2074,
                "accurate_opp_half_passes": 23.4725,
                "crosses_total": 0.1104,
                "crosses_accurate": 0.1104,
                "touches": 75.5528,
                "possession_lost": 3.9755,
                "dispossessed": 0.0291,
                "duels_lost": 2.1649,
                "aerial_lost": 1.0188,
                "total_contest": 0.0082,
                "won_contest": 0.0082,
                "ball_recovery": 2.7907,
                "challenges_lost": 0.2285,
                "fouls": 0.9366,
                "fouls_drawn": 0.4823,
                "blocks": 0.3408,
                "goal_rate": 0.0285,
                "goals": 0,
                "assist_rate": 0.0173,
                "assists": 0,
                "expected_goals": 0.0861,
                "expected_assists": 0.042,
                "shots_on_target": 0.3119,
                "big_chances_created": 0.0019,
                "xgot": 0.065,
                "ball_carries": 21.0064,
                "total_progression": 92.0871,
                "progressive_carries": 1.0391,
                "key_pass": 0.2772,
                "shots_off_target": 0.2264,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Lamine Yamal",
                "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": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0363,
                  "after": 0.042
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 81.0)",
              "stats": {
                "interceptions": 1.1728,
                "tackles": 1.3395,
                "tackles_won": 0.7784,
                "clearances": 5.0582,
                "aerial_won": 1.673,
                "total_shots": 0.5498,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 63.4725,
                "accurate_pass": 59.9617,
                "duels_won": 3.4599,
                "total_long_balls": 5.6889,
                "accurate_long_balls": 3.8839,
                "total_own_half_passes": 37.265,
                "accurate_own_half_passes": 36.4892,
                "total_opp_half_passes": 26.2074,
                "accurate_opp_half_passes": 23.4725,
                "crosses_total": 0.1104,
                "crosses_accurate": 0.1104,
                "touches": 75.5528,
                "possession_lost": 3.9755,
                "dispossessed": 0.0291,
                "duels_lost": 2.1649,
                "aerial_lost": 1.0188,
                "total_contest": 0.0082,
                "won_contest": 0.0082,
                "ball_recovery": 2.7907,
                "challenges_lost": 0.2285,
                "fouls": 0.9366,
                "fouls_drawn": 0.4823,
                "blocks": 0.3408,
                "goal_rate": 0.0285,
                "goals": 0,
                "assist_rate": 0.0173,
                "assists": 0,
                "expected_goals": 0.0861,
                "expected_assists": 0.042,
                "shots_on_target": 0.3119,
                "big_chances_created": 0.0019,
                "xgot": 0.065,
                "ball_carries": 21.0064,
                "total_progression": 92.0871,
                "progressive_carries": 1.0391,
                "key_pass": 0.2772,
                "shots_off_target": 0.2264,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Lamine Yamal",
                "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": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 81.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": 556,
                "fifa_rank": 583.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1728,
                "tackles": 1.3395,
                "tackles_won": 0.7784,
                "clearances": 5.0582,
                "aerial_won": 1.673,
                "total_shots": 0.5498,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 63.4725,
                "accurate_pass": 59.9617,
                "duels_won": 3.4599,
                "total_long_balls": 5.6889,
                "accurate_long_balls": 3.8839,
                "total_own_half_passes": 37.265,
                "accurate_own_half_passes": 36.4892,
                "total_opp_half_passes": 26.2074,
                "accurate_opp_half_passes": 23.4725,
                "crosses_total": 0.1104,
                "crosses_accurate": 0.1104,
                "touches": 75.5528,
                "possession_lost": 3.9755,
                "dispossessed": 0.0291,
                "duels_lost": 2.1649,
                "aerial_lost": 1.0188,
                "total_contest": 0.0082,
                "won_contest": 0.0082,
                "ball_recovery": 2.7907,
                "challenges_lost": 0.2285,
                "fouls": 0.9366,
                "fouls_drawn": 0.4823,
                "blocks": 0.3408,
                "goal_rate": 0.0285,
                "goals": 0,
                "assist_rate": 0.0173,
                "assists": 0,
                "expected_goals": 0.0861,
                "expected_assists": 0.042,
                "shots_on_target": 0.3119,
                "big_chances_created": 0.0019,
                "xgot": 0.065,
                "ball_carries": 21.0064,
                "total_progression": 92.0871,
                "progressive_carries": 1.0391,
                "key_pass": 0.2772,
                "shots_off_target": 0.2264,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Lamine Yamal",
                "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.0825,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0825,
                "goal_rate": 0.0285,
                "scorer_weight": 0.0689,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0438,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.1728,
                "tackles": 1.3395,
                "tackles_won": 0.7784,
                "clearances": 5.0582,
                "aerial_won": 1.673,
                "total_shots": 0.5498,
                "rating": 7.04,
                "minutes": 82.2,
                "total_pass": 63.4725,
                "accurate_pass": 59.9617,
                "duels_won": 3.4599,
                "total_long_balls": 5.6889,
                "accurate_long_balls": 3.8839,
                "total_own_half_passes": 37.265,
                "accurate_own_half_passes": 36.4892,
                "total_opp_half_passes": 26.2074,
                "accurate_opp_half_passes": 23.4725,
                "crosses_total": 0.1104,
                "crosses_accurate": 0.1104,
                "touches": 75.5528,
                "possession_lost": 3.9755,
                "dispossessed": 0.0291,
                "duels_lost": 2.1649,
                "aerial_lost": 1.0188,
                "total_contest": 0.0082,
                "won_contest": 0.0082,
                "ball_recovery": 2.7907,
                "challenges_lost": 0.2285,
                "fouls": 0.9366,
                "fouls_drawn": 0.4823,
                "blocks": 0.3408,
                "goal_rate": 0.0285,
                "goals": 0,
                "assist_rate": 0.0173,
                "assists": 0,
                "expected_goals": 0.0861,
                "expected_assists": 0.042,
                "shots_on_target": 0.3119,
                "big_chances_created": 0.0019,
                "xgot": 0.065,
                "ball_carries": 21.0064,
                "total_progression": 92.0871,
                "progressive_carries": 1.0391,
                "key_pass": 0.2772,
                "shots_off_target": 0.2264,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.802,
                "opponent_faced": "Lamine Yamal",
                "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.0825,
                "projected_assists": 0,
                "assist_probability": 0.0411,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0411,
                "assist_rate": 0.0173,
                "provider_weight": 0.0336,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0313,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ibrahima Konaté": {
          "player_id": 826215,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 16,
          "height": 195,
          "market_value": 46000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.8353,
            "minutes": 89,
            "total_pass": 58,
            "accurate_pass": 53,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 37,
            "accurate_own_half_passes": 36,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 5.7249,
            "dispossessed": 0.4623,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0069,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0484,
            "expected_assists": 0.0144,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0168,
            "ball_carries": 19,
            "total_progression": 74,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Raphinha",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0472,
            "projected_assists": 0,
            "assist_probability": 0.0143,
            "finishing_factor": 0.8,
            "creation_factor": 0.8013,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 64,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0125,
                "expected_assists": 0.0119,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 34,
                "tackles": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 41,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0438,
                "expected_assists": 0.0246,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 52,
                "clearances": 2,
                "aerial_won": 4,
                "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.302,
                "expected_assists": 0.0043,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 41,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0076,
                "total_shots": 0,
                "total_pass": 77,
                "accurate_pass": 72,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 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"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0091,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 52,
                "key_pass": 1,
                "clearances": 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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0208,
                "expected_assists": 0.0089,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 75,
                "accurate_pass": 73,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 4,
                "duels_won": 8,
                "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": 14023962,
              "match_date": "2026-05-24",
              "home_team": "Liverpool FC",
              "away_team": "Brentford",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Liverpool FC",
              "opponent": "Brentford",
              "stats": {
                "minutes": 89,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1403,
                "expected_assists": 0.0199,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 3,
                "aerial_won": 5,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023928,
              "match_date": "2026-05-15",
              "home_team": "Aston Villa",
              "away_team": "Liverpool FC",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Liverpool FC",
              "opponent": "Aston Villa",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0172,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 48,
                "clearances": 5,
                "aerial_won": 4,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 268,
            "combined_rank_score": 198.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 172.0,
            "sofascore_rating": 7.25,
            "sofascore_appearances": 2.0,
            "fifa_rank": 225.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8353,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ibrahima Konaté",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aleksandar Pavlović",
                  "ranking": 263
                },
                {
                  "player_name": "Marcos Llorente",
                  "ranking": 264
                },
                {
                  "player_name": "Alexander Sørloth",
                  "ranking": 265
                },
                {
                  "player_name": "Edgar Silva",
                  "ranking": 266
                },
                {
                  "player_name": "Antonio Rüdiger",
                  "ranking": 267
                }
              ],
              "lower": [
                {
                  "player_name": "Jorge Henríquez",
                  "ranking": 269
                },
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 42,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 42,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0097,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.5,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 42 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9554,
                "tackles": 1.1788,
                "tackles_won": 0.6733,
                "clearances": 3.8952,
                "aerial_won": 1.8774,
                "total_shots": 0.5571,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.1884,
                "accurate_pass": 52.6238,
                "duels_won": 3.9329,
                "total_long_balls": 3.6178,
                "accurate_long_balls": 1.8831,
                "total_own_half_passes": 36.7645,
                "accurate_own_half_passes": 35.2294,
                "total_opp_half_passes": 20.4239,
                "accurate_opp_half_passes": 17.3944,
                "crosses_total": 0.0075,
                "crosses_accurate": 0.0058,
                "touches": 67.6282,
                "possession_lost": 5.6699,
                "dispossessed": 0.4579,
                "duels_lost": 2.9995,
                "aerial_lost": 1.1031,
                "total_contest": 0.108,
                "won_contest": 0.0249,
                "ball_recovery": 4.0042,
                "challenges_lost": 0.2234,
                "fouls": 1.1325,
                "fouls_drawn": 0.7891,
                "blocks": 0.8541,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0498,
                "expected_assists": 0.0123,
                "shots_on_target": 0.1336,
                "big_chances_created": 0.001,
                "xgot": 0.0173,
                "ball_carries": 18.7978,
                "total_progression": 72.8317,
                "progressive_carries": 0.4775,
                "key_pass": 0.2665,
                "shots_off_target": 0.4235
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Brentford",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-15",
                    "opponent": "Aston Villa",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Chelsea",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Manchester United",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.3933,
                  "aerialWon": 2.3587,
                  "totalClearance_p90": 3.4252,
                  "totalTackle": 0.8259,
                  "totalPass": 57.1884
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9553835988044739,
                    "model_output": 0.9554,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1167
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0284
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0261
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0173
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0104
                        }
                      ],
                      "others": -0.014,
                      "total": 0.9554,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127617
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.028717
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.026385
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.017889
                        },
                        {
                          "name": "touches",
                          "margin": 0.010757
                        }
                      ],
                      "others_margin": -0.014459
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.1788307428359985,
                    "model_output": 1.1788,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1711
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1155
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0494
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0427
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0368
                        }
                      ],
                      "others": -0.1418,
                      "total": 1.1788,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115764
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.076701
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.034668
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.030953
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.027507
                        }
                      ],
                      "others_margin": -0.113502
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6732998490333557,
                    "model_output": 0.6733,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0989
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0913
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0581
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0293
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0282
                        }
                      ],
                      "others": -0.0731,
                      "total": 0.6733,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.109525
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.100644
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.069837
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.037161
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.037126
                        }
                      ],
                      "others_margin": -0.102908
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.895169734954834,
                    "model_output": 3.8952,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4483
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3716
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3648
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1479
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0807
                        }
                      ],
                      "others": -0.0785,
                      "total": 3.8952,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122109
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.091024
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.089273
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.037172
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.020093
                        }
                      ],
                      "others_margin": -0.019986
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.8774479627609253,
                    "model_output": 1.8774,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.3531
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2012
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0885
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0675
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0658
                        }
                      ],
                      "others": 0.0279,
                      "total": 1.8774,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.227522
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.109726
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.046768
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.03586
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.034957
                        }
                      ],
                      "others_margin": 0.014978
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.55710768699646,
                    "model_output": 0.5571,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0624
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0256
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0234
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0173
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0128
                        }
                      ],
                      "others": 0.0047,
                      "total": 0.5571,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.06235
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.025609
                        },
                        {
                          "name": "rating",
                          "margin": 0.023374
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.017298
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.012771
                        }
                      ],
                      "others_margin": 0.004711
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.835280895233154,
                    "model_output": 6.8353,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": 0.0286
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0191
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0138
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0117
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0104
                        }
                      ],
                      "others": 0.015,
                      "total": 6.8353,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": 0.028615
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.019092
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013767
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.011681
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.010433
                        }
                      ],
                      "others_margin": 0.014962
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 42,
                  "role_matches": 42,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0097, quality 0.809)",
              "stats": {
                "interceptions": 0.9647,
                "tackles": 1.1903,
                "tackles_won": 0.6798,
                "clearances": 3.933,
                "aerial_won": 1.8957,
                "total_shots": 0.5625,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.7431,
                "accurate_pass": 53.1343,
                "duels_won": 3.971,
                "total_long_balls": 3.6529,
                "accurate_long_balls": 1.9014,
                "total_own_half_passes": 37.1211,
                "accurate_own_half_passes": 35.5711,
                "total_opp_half_passes": 20.622,
                "accurate_opp_half_passes": 17.5631,
                "crosses_total": 0.0076,
                "crosses_accurate": 0.0059,
                "touches": 68.2842,
                "possession_lost": 5.7249,
                "dispossessed": 0.4623,
                "duels_lost": 3.0286,
                "aerial_lost": 1.1138,
                "total_contest": 0.109,
                "won_contest": 0.0251,
                "ball_recovery": 4.043,
                "challenges_lost": 0.2256,
                "fouls": 1.1435,
                "fouls_drawn": 0.7968,
                "blocks": 0.8624,
                "goals": 0.007,
                "goal_rate": 0.007,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0503,
                "expected_assists": 0.0124,
                "shots_on_target": 0.1349,
                "big_chances_created": 0.001,
                "xgot": 0.0175,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276
              },
              "params": {
                "market_value_eur": 46000000,
                "quality_factor": 0.8089,
                "boost_factor": 1.0097,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0092)",
              "stats": {
                "interceptions": 0.9604,
                "tackles": 1.1903,
                "tackles_won": 0.6917,
                "clearances": 3.933,
                "aerial_won": 1.8957,
                "total_shots": 0.5619,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.7431,
                "accurate_pass": 53.1343,
                "duels_won": 3.971,
                "total_long_balls": 3.6529,
                "accurate_long_balls": 1.9014,
                "total_own_half_passes": 37.1211,
                "accurate_own_half_passes": 35.5711,
                "total_opp_half_passes": 20.622,
                "accurate_opp_half_passes": 17.5631,
                "crosses_total": 0.0075,
                "crosses_accurate": 0.0059,
                "touches": 68.2842,
                "possession_lost": 5.7249,
                "dispossessed": 0.4623,
                "duels_lost": 3.0286,
                "aerial_lost": 1.1138,
                "total_contest": 0.109,
                "won_contest": 0.0251,
                "ball_recovery": 4.043,
                "challenges_lost": 0.2256,
                "fouls": 1.1375,
                "fouls_drawn": 0.794,
                "blocks": 0.8624,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0503,
                "expected_assists": 0.0124,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0175,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276
              },
              "params": {
                "blend_weight": 0.0092,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9877,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.6798,
                  "after": 0.6917
                },
                {
                  "stat": "fouls",
                  "before": 1.1435,
                  "after": 1.1375
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9604,
                "tackles": 1.1903,
                "tackles_won": 0.6917,
                "clearances": 3.933,
                "aerial_won": 1.8957,
                "total_shots": 0.5658,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.7431,
                "accurate_pass": 53.1343,
                "duels_won": 3.971,
                "total_long_balls": 3.6529,
                "accurate_long_balls": 1.9014,
                "total_own_half_passes": 37.1211,
                "accurate_own_half_passes": 35.5711,
                "total_opp_half_passes": 20.622,
                "accurate_opp_half_passes": 17.5631,
                "crosses_total": 0.0075,
                "crosses_accurate": 0.0059,
                "touches": 68.2842,
                "possession_lost": 5.7249,
                "dispossessed": 0.4623,
                "duels_lost": 3.0286,
                "aerial_lost": 1.1138,
                "total_contest": 0.109,
                "won_contest": 0.0251,
                "ball_recovery": 4.043,
                "challenges_lost": 0.2256,
                "fouls": 1.1375,
                "fouls_drawn": 0.794,
                "blocks": 0.8624,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0503,
                "expected_assists": 0.0124,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0175,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276
              },
              "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": 0.9604,
                "tackles": 1.1903,
                "tackles_won": 0.6917,
                "clearances": 3.933,
                "aerial_won": 1.8957,
                "total_shots": 0.5658,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.7431,
                "accurate_pass": 53.1343,
                "duels_won": 3.971,
                "total_long_balls": 3.6529,
                "accurate_long_balls": 1.9014,
                "total_own_half_passes": 37.1211,
                "accurate_own_half_passes": 35.5711,
                "total_opp_half_passes": 20.622,
                "accurate_opp_half_passes": 17.5631,
                "crosses_total": 0.0075,
                "crosses_accurate": 0.0059,
                "touches": 68.2842,
                "possession_lost": 5.7249,
                "dispossessed": 0.4623,
                "duels_lost": 3.0286,
                "aerial_lost": 1.1138,
                "total_contest": 0.109,
                "won_contest": 0.0251,
                "ball_recovery": 4.043,
                "challenges_lost": 0.2256,
                "fouls": 1.1375,
                "fouls_drawn": 0.794,
                "blocks": 0.8624,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0503,
                "expected_assists": 0.0124,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0175,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Raphinha",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.9604,
                "tackles": 1.1903,
                "tackles_won": 0.6917,
                "clearances": 3.933,
                "aerial_won": 1.8957,
                "total_shots": 0.5658,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.7431,
                "accurate_pass": 53.1343,
                "duels_won": 3.971,
                "total_long_balls": 3.6529,
                "accurate_long_balls": 1.9014,
                "total_own_half_passes": 37.1211,
                "accurate_own_half_passes": 35.5711,
                "total_opp_half_passes": 20.622,
                "accurate_opp_half_passes": 17.5631,
                "crosses_total": 0.0075,
                "crosses_accurate": 0.0059,
                "touches": 68.2842,
                "possession_lost": 5.7249,
                "dispossessed": 0.4623,
                "duels_lost": 3.0286,
                "aerial_lost": 1.1138,
                "total_contest": 0.109,
                "won_contest": 0.0251,
                "ball_recovery": 4.043,
                "challenges_lost": 0.2256,
                "fouls": 1.1375,
                "fouls_drawn": 0.794,
                "blocks": 0.8624,
                "goal_rate": 0.0069,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0503,
                "expected_assists": 0.0124,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0175,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9604,
                "tackles": 1.1903,
                "tackles_won": 0.6917,
                "clearances": 3.933,
                "aerial_won": 1.8957,
                "total_shots": 0.5658,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.7431,
                "accurate_pass": 53.1343,
                "duels_won": 3.971,
                "total_long_balls": 3.6529,
                "accurate_long_balls": 1.9014,
                "total_own_half_passes": 37.1211,
                "accurate_own_half_passes": 35.5711,
                "total_opp_half_passes": 20.622,
                "accurate_opp_half_passes": 17.5631,
                "crosses_total": 0.0075,
                "crosses_accurate": 0.0059,
                "touches": 68.2842,
                "possession_lost": 5.7249,
                "dispossessed": 0.4623,
                "duels_lost": 3.0286,
                "aerial_lost": 1.1138,
                "total_contest": 0.109,
                "won_contest": 0.0251,
                "ball_recovery": 4.043,
                "challenges_lost": 0.2256,
                "fouls": 1.1375,
                "fouls_drawn": 0.794,
                "blocks": 0.8624,
                "goal_rate": 0.0069,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0484,
                "expected_assists": 0.0144,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0168,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8013
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 84.0)",
              "stats": {
                "interceptions": 0.9604,
                "tackles": 1.1903,
                "tackles_won": 0.6917,
                "clearances": 3.933,
                "aerial_won": 1.8957,
                "total_shots": 0.5658,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.7431,
                "accurate_pass": 53.1343,
                "duels_won": 3.971,
                "total_long_balls": 3.6529,
                "accurate_long_balls": 1.9014,
                "total_own_half_passes": 37.1211,
                "accurate_own_half_passes": 35.5711,
                "total_opp_half_passes": 20.622,
                "accurate_opp_half_passes": 17.5631,
                "crosses_total": 0.0075,
                "crosses_accurate": 0.0059,
                "touches": 68.2842,
                "possession_lost": 5.7249,
                "dispossessed": 0.4623,
                "duels_lost": 3.0286,
                "aerial_lost": 1.1138,
                "total_contest": 0.109,
                "won_contest": 0.0251,
                "ball_recovery": 4.043,
                "challenges_lost": 0.2256,
                "fouls": 1.1375,
                "fouls_drawn": 0.794,
                "blocks": 0.8624,
                "goal_rate": 0.0069,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0484,
                "expected_assists": 0.0144,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0168,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8013,
                "fifa_overall": 84.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": 268,
                "fifa_rank": 225.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9604,
                "tackles": 1.1903,
                "tackles_won": 0.6917,
                "clearances": 3.933,
                "aerial_won": 1.8957,
                "total_shots": 0.5658,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.7431,
                "accurate_pass": 53.1343,
                "duels_won": 3.971,
                "total_long_balls": 3.6529,
                "accurate_long_balls": 1.9014,
                "total_own_half_passes": 37.1211,
                "accurate_own_half_passes": 35.5711,
                "total_opp_half_passes": 20.622,
                "accurate_opp_half_passes": 17.5631,
                "crosses_total": 0.0075,
                "crosses_accurate": 0.0059,
                "touches": 68.2842,
                "possession_lost": 5.7249,
                "dispossessed": 0.4623,
                "duels_lost": 3.0286,
                "aerial_lost": 1.1138,
                "total_contest": 0.109,
                "won_contest": 0.0251,
                "ball_recovery": 4.043,
                "challenges_lost": 0.2256,
                "fouls": 1.1375,
                "fouls_drawn": 0.794,
                "blocks": 0.8624,
                "goal_rate": 0.0069,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0484,
                "expected_assists": 0.0144,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0168,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0472,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8013,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0472,
                "goal_rate": 0.0069,
                "scorer_weight": 0.0387,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0246,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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": 0.9604,
                "tackles": 1.1903,
                "tackles_won": 0.6917,
                "clearances": 3.933,
                "aerial_won": 1.8957,
                "total_shots": 0.5658,
                "rating": 6.8353,
                "minutes": 88.89,
                "total_pass": 57.7431,
                "accurate_pass": 53.1343,
                "duels_won": 3.971,
                "total_long_balls": 3.6529,
                "accurate_long_balls": 1.9014,
                "total_own_half_passes": 37.1211,
                "accurate_own_half_passes": 35.5711,
                "total_opp_half_passes": 20.622,
                "accurate_opp_half_passes": 17.5631,
                "crosses_total": 0.0075,
                "crosses_accurate": 0.0059,
                "touches": 68.2842,
                "possession_lost": 5.7249,
                "dispossessed": 0.4623,
                "duels_lost": 3.0286,
                "aerial_lost": 1.1138,
                "total_contest": 0.109,
                "won_contest": 0.0251,
                "ball_recovery": 4.043,
                "challenges_lost": 0.2256,
                "fouls": 1.1375,
                "fouls_drawn": 0.794,
                "blocks": 0.8624,
                "goal_rate": 0.0069,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0484,
                "expected_assists": 0.0144,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0168,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "opponent_faced": "Raphinha",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0472,
                "projected_assists": 0,
                "assist_probability": 0.0143,
                "finishing_factor": 0.8,
                "creation_factor": 0.8013,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0143,
                "assist_rate": 0.0,
                "provider_weight": 0.0115,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0108,
                "creation_factor": 0.8013,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Antonio Rüdiger": {
          "player_id": 142622,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 22,
          "height": 191,
          "market_value": 6200000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.9106,
            "minutes": 88,
            "total_pass": 70,
            "accurate_pass": 66,
            "duels_won": 3,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 50,
            "accurate_own_half_passes": 49,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 17,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 79,
            "possession_lost": 4.8994,
            "dispossessed": 0.0826,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0427,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0493,
            "expected_assists": 0.0149,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0377,
            "ball_carries": 21,
            "total_progression": 55,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Lamine Yamal",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0481,
            "projected_assists": 0,
            "assist_probability": 0.0148,
            "finishing_factor": 0.916,
            "creation_factor": 0.8,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 8,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 36,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0705,
                "expected_assists": 0.0008,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "clearances": 2,
                "aerial_won": 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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0217,
                "expected_assists": 0.0112,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 79,
                "accurate_pass": 74,
                "clearances": 12,
                "aerial_won": 3,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.051,
                "expected_assists": 0.0096,
                "total_shots": 1,
                "total_pass": 82,
                "accurate_pass": 79,
                "key_pass": 1,
                "clearances": 4,
                "aerial_won": 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": 14083702,
              "match_date": "2026-05-17",
              "home_team": "Sevilla",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0073,
                "expected_assists": 0.0028,
                "total_shots": 1,
                "total_pass": 66,
                "accurate_pass": 61,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 55,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0352,
                "expected_assists": 0.0045,
                "total_shots": 1,
                "total_pass": 65,
                "accurate_pass": 62,
                "clearances": 4,
                "aerial_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083211,
              "match_date": "2026-04-24",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0116,
                "total_shots": 0,
                "total_pass": 66,
                "accurate_pass": 58,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 46,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2762,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 32,
                "clearances": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081816,
              "match_date": "2026-04-04",
              "home_team": "Mallorca",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2193,
                "expected_assists": 0.0152,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 61,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 4,
                "aerial_won": 8,
                "duels_won": 9,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 267,
            "combined_rank_score": 198.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 306.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9106,
            "source_file": "data/player_rankings.csv",
            "player_name": "Antonio Rüdiger",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Éder Militão",
                  "ranking": 262
                },
                {
                  "player_name": "Aleksandar Pavlović",
                  "ranking": 263
                },
                {
                  "player_name": "Marcos Llorente",
                  "ranking": 264
                },
                {
                  "player_name": "Alexander Sørloth",
                  "ranking": 265
                },
                {
                  "player_name": "Edgar Silva",
                  "ranking": 266
                }
              ],
              "lower": [
                {
                  "player_name": "Ibrahima Konaté",
                  "ranking": 268
                },
                {
                  "player_name": "Jorge Henríquez",
                  "ranking": 269
                },
                {
                  "player_name": "Seong-min Hwang",
                  "ranking": 270
                },
                {
                  "player_name": "Anzur Ismoilov",
                  "ranking": 271
                },
                {
                  "player_name": "Juan Cruz Gonzalez",
                  "ranking": 272
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.76,
          "history_matches": 21,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 21,
            "data_confidence": 0.76,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "minutes": 90.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "XGBoost regressor (D_service) evaluated 21 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.07, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.7783,
                "tackles": 0.8044,
                "tackles_won": 0.577,
                "clearances": 5.1807,
                "aerial_won": 2.0624,
                "total_shots": 0.6413,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.1201,
                "accurate_pass": 65.612,
                "duels_won": 2.6685,
                "total_long_balls": 5.4525,
                "accurate_long_balls": 3.0672,
                "total_own_half_passes": 50.5592,
                "accurate_own_half_passes": 48.7597,
                "total_opp_half_passes": 19.5609,
                "accurate_opp_half_passes": 16.8523,
                "crosses_total": 0.0118,
                "crosses_accurate": 0.0,
                "touches": 79.1431,
                "possession_lost": 4.9073,
                "dispossessed": 0.0827,
                "duels_lost": 1.2114,
                "aerial_lost": 0.5623,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9682,
                "challenges_lost": 0.0192,
                "fouls": 0.57,
                "fouls_drawn": 0.2655,
                "blocks": 0.9361,
                "goals": 0.0432,
                "goal_rate": 0.0432,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0513,
                "expected_assists": 0.0129,
                "shots_on_target": 0.2017,
                "big_chances_created": 0.0138,
                "xgot": 0.0393,
                "ball_carries": 20.5962,
                "total_progression": 55.5408,
                "progressive_carries": 0.0144,
                "key_pass": 0.2309,
                "shots_off_target": 0.4396
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.1551,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1318,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1121,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0953,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.081,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0688,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-24",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0585,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Deportivo Alavés",
                    "minutes": 46.0,
                    "is_starting": false,
                    "weight": 0.0497,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0423,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0359,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.9671,
                  "aerialWon": 1.5806,
                  "totalClearance_p90": 4.6383,
                  "totalTackle": 0.4327,
                  "totalPass": 60.8762
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7783240079879761,
                    "model_output": 0.7783,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1084
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1052
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0238
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0196
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0171
                        }
                      ],
                      "others": -0.0559,
                      "total": 0.7783,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119076
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.115349
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.02799
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.023654
                        },
                        {
                          "name": "touches",
                          "margin": 0.020701
                        }
                      ],
                      "others_margin": -0.069398
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.8043790459632874,
                    "model_output": 0.8044,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1774
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1488
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1025
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0729
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0644
                        }
                      ],
                      "others": -0.3211,
                      "total": 0.8044,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.136109
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115413
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.078025
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.059465
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.055653
                        }
                      ],
                      "others_margin": -0.335935
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.57695072889328,
                    "model_output": 0.577,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1073
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0814
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0602
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0443
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0343
                        }
                      ],
                      "others": -0.1127,
                      "total": 0.577,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.134161
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.103378
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.075406
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.05945
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.048594
                        }
                      ],
                      "others_margin": -0.178352
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.180719375610352,
                    "model_output": 5.1807,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4089
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3983
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3616
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1903
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1272
                        }
                      ],
                      "others": 0.243,
                      "total": 5.1807,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111958
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.098193
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.081507
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.040363
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.026099
                        }
                      ],
                      "others_margin": 0.04804
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.062427520751953,
                    "model_output": 2.0624,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1423
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0905
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0948
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0867
                        }
                      ],
                      "others": 0.3331,
                      "total": 2.0624,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.09801
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.067485
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053986
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.053631
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.048902
                        }
                      ],
                      "others_margin": 0.176121
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6412679553031921,
                    "model_output": 0.6413,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0931
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0517
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0309
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0306
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0215
                        }
                      ],
                      "others": 0.0042,
                      "total": 0.6413,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.093113
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.051721
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.030865
                        },
                        {
                          "name": "rating",
                          "margin": 0.030616
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.021512
                        }
                      ],
                      "others_margin": 0.004039
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9106316566467285,
                    "model_output": 6.9106,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.032
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0275
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0252
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0221
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0132
                        }
                      ],
                      "others": 0.0319,
                      "total": 6.9106,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.032019
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.027478
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.025165
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.022095
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013183
                        }
                      ],
                      "others_margin": 0.031928
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 21,
                  "role_matches": 18,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9984, quality 0.477)",
              "stats": {
                "interceptions": 0.7771,
                "tackles": 0.8031,
                "tackles_won": 0.576,
                "clearances": 5.1724,
                "aerial_won": 2.0591,
                "total_shots": 0.6403,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.0079,
                "accurate_pass": 65.507,
                "duels_won": 2.6642,
                "total_long_balls": 5.4438,
                "accurate_long_balls": 3.0623,
                "total_own_half_passes": 50.4783,
                "accurate_own_half_passes": 48.6817,
                "total_opp_half_passes": 19.5296,
                "accurate_opp_half_passes": 16.8253,
                "crosses_total": 0.0118,
                "crosses_accurate": 0.0,
                "touches": 79.0165,
                "possession_lost": 4.8994,
                "dispossessed": 0.0826,
                "duels_lost": 1.2095,
                "aerial_lost": 0.5614,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9651,
                "challenges_lost": 0.0192,
                "fouls": 0.5691,
                "fouls_drawn": 0.2651,
                "blocks": 0.9346,
                "goals": 0.0431,
                "goal_rate": 0.0431,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0512,
                "expected_assists": 0.0129,
                "shots_on_target": 0.2014,
                "big_chances_created": 0.0138,
                "xgot": 0.0392,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389
              },
              "params": {
                "market_value_eur": 6200000,
                "quality_factor": 0.4769,
                "boost_factor": 0.9984,
                "reference_quality": 0.505,
                "history_matches": 21,
                "history_shrink": 0.1923,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0083)",
              "stats": {
                "interceptions": 0.7706,
                "tackles": 0.8031,
                "tackles_won": 0.5712,
                "clearances": 5.1724,
                "aerial_won": 2.0591,
                "total_shots": 0.6431,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.0079,
                "accurate_pass": 65.507,
                "duels_won": 2.6642,
                "total_long_balls": 5.4438,
                "accurate_long_balls": 3.0623,
                "total_own_half_passes": 50.4783,
                "accurate_own_half_passes": 48.6817,
                "total_opp_half_passes": 19.5296,
                "accurate_opp_half_passes": 16.8253,
                "crosses_total": 0.0117,
                "crosses_accurate": 0.0,
                "touches": 79.0165,
                "possession_lost": 4.8994,
                "dispossessed": 0.0826,
                "duels_lost": 1.2095,
                "aerial_lost": 0.5614,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9651,
                "challenges_lost": 0.0192,
                "fouls": 0.5725,
                "fouls_drawn": 0.2711,
                "blocks": 0.9346,
                "goals": 0.0427,
                "goal_rate": 0.0427,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0512,
                "expected_assists": 0.0129,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0392,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389
              },
              "params": {
                "blend_weight": 0.0083,
                "history_matches": 21,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9793,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.7771,
                  "after": 0.7706
                },
                {
                  "stat": "wasFouled",
                  "before": 0.2651,
                  "after": 0.2711
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.7706,
                "tackles": 0.8031,
                "tackles_won": 0.5712,
                "clearances": 5.1724,
                "aerial_won": 2.0591,
                "total_shots": 0.6431,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.0079,
                "accurate_pass": 65.507,
                "duels_won": 2.6642,
                "total_long_balls": 5.4438,
                "accurate_long_balls": 3.0623,
                "total_own_half_passes": 50.4783,
                "accurate_own_half_passes": 48.6817,
                "total_opp_half_passes": 19.5296,
                "accurate_opp_half_passes": 16.8253,
                "crosses_total": 0.0117,
                "crosses_accurate": 0.0,
                "touches": 79.0165,
                "possession_lost": 4.8994,
                "dispossessed": 0.0826,
                "duels_lost": 1.2095,
                "aerial_lost": 0.5614,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9651,
                "challenges_lost": 0.0192,
                "fouls": 0.5725,
                "fouls_drawn": 0.2711,
                "blocks": 0.9346,
                "goals": 0.0427,
                "goal_rate": 0.0427,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0512,
                "expected_assists": 0.0129,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0392,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389
              },
              "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": 0.7706,
                "tackles": 0.8031,
                "tackles_won": 0.5712,
                "clearances": 5.1724,
                "aerial_won": 2.0591,
                "total_shots": 0.6431,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.0079,
                "accurate_pass": 65.507,
                "duels_won": 2.6642,
                "total_long_balls": 5.4438,
                "accurate_long_balls": 3.0623,
                "total_own_half_passes": 50.4783,
                "accurate_own_half_passes": 48.6817,
                "total_opp_half_passes": 19.5296,
                "accurate_opp_half_passes": 16.8253,
                "crosses_total": 0.0117,
                "crosses_accurate": 0.0,
                "touches": 79.0165,
                "possession_lost": 4.8994,
                "dispossessed": 0.0826,
                "duels_lost": 1.2095,
                "aerial_lost": 0.5614,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9651,
                "challenges_lost": 0.0192,
                "fouls": 0.5725,
                "fouls_drawn": 0.2711,
                "blocks": 0.9346,
                "goals": 0.0427,
                "goal_rate": 0.0427,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0512,
                "expected_assists": 0.0129,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0392,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lamine Yamal",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.7706,
                "tackles": 0.8031,
                "tackles_won": 0.5712,
                "clearances": 5.1724,
                "aerial_won": 2.0591,
                "total_shots": 0.6431,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.0079,
                "accurate_pass": 65.507,
                "duels_won": 2.6642,
                "total_long_balls": 5.4438,
                "accurate_long_balls": 3.0623,
                "total_own_half_passes": 50.4783,
                "accurate_own_half_passes": 48.6817,
                "total_opp_half_passes": 19.5296,
                "accurate_opp_half_passes": 16.8253,
                "crosses_total": 0.0117,
                "crosses_accurate": 0.0,
                "touches": 79.0165,
                "possession_lost": 4.8994,
                "dispossessed": 0.0826,
                "duels_lost": 1.2095,
                "aerial_lost": 0.5614,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9651,
                "challenges_lost": 0.0192,
                "fouls": 0.5725,
                "fouls_drawn": 0.2711,
                "blocks": 0.9346,
                "goal_rate": 0.0427,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0512,
                "expected_assists": 0.0129,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0392,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.7706,
                "tackles": 0.8031,
                "tackles_won": 0.5712,
                "clearances": 5.1724,
                "aerial_won": 2.0591,
                "total_shots": 0.6431,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.0079,
                "accurate_pass": 65.507,
                "duels_won": 2.6642,
                "total_long_balls": 5.4438,
                "accurate_long_balls": 3.0623,
                "total_own_half_passes": 50.4783,
                "accurate_own_half_passes": 48.6817,
                "total_opp_half_passes": 19.5296,
                "accurate_opp_half_passes": 16.8253,
                "crosses_total": 0.0117,
                "crosses_accurate": 0.0,
                "touches": 79.0165,
                "possession_lost": 4.8994,
                "dispossessed": 0.0826,
                "duels_lost": 1.2095,
                "aerial_lost": 0.5614,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9651,
                "challenges_lost": 0.0192,
                "fouls": 0.5725,
                "fouls_drawn": 0.2711,
                "blocks": 0.9346,
                "goal_rate": 0.0427,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0493,
                "expected_assists": 0.0149,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0377,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.916,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 83.0)",
              "stats": {
                "interceptions": 0.7706,
                "tackles": 0.8031,
                "tackles_won": 0.5712,
                "clearances": 5.1724,
                "aerial_won": 2.0591,
                "total_shots": 0.6431,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.0079,
                "accurate_pass": 65.507,
                "duels_won": 2.6642,
                "total_long_balls": 5.4438,
                "accurate_long_balls": 3.0623,
                "total_own_half_passes": 50.4783,
                "accurate_own_half_passes": 48.6817,
                "total_opp_half_passes": 19.5296,
                "accurate_opp_half_passes": 16.8253,
                "crosses_total": 0.0117,
                "crosses_accurate": 0.0,
                "touches": 79.0165,
                "possession_lost": 4.8994,
                "dispossessed": 0.0826,
                "duels_lost": 1.2095,
                "aerial_lost": 0.5614,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9651,
                "challenges_lost": 0.0192,
                "fouls": 0.5725,
                "fouls_drawn": 0.2711,
                "blocks": 0.9346,
                "goal_rate": 0.0427,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0493,
                "expected_assists": 0.0149,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0377,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.916,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 267,
                "fifa_rank": 306.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": 0.7706,
                "tackles": 0.8031,
                "tackles_won": 0.5712,
                "clearances": 5.1724,
                "aerial_won": 2.0591,
                "total_shots": 0.6431,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.0079,
                "accurate_pass": 65.507,
                "duels_won": 2.6642,
                "total_long_balls": 5.4438,
                "accurate_long_balls": 3.0623,
                "total_own_half_passes": 50.4783,
                "accurate_own_half_passes": 48.6817,
                "total_opp_half_passes": 19.5296,
                "accurate_opp_half_passes": 16.8253,
                "crosses_total": 0.0117,
                "crosses_accurate": 0.0,
                "touches": 79.0165,
                "possession_lost": 4.8994,
                "dispossessed": 0.0826,
                "duels_lost": 1.2095,
                "aerial_lost": 0.5614,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9651,
                "challenges_lost": 0.0192,
                "fouls": 0.5725,
                "fouls_drawn": 0.2711,
                "blocks": 0.9346,
                "goal_rate": 0.0427,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0493,
                "expected_assists": 0.0149,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0377,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0481,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.916,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0481,
                "goal_rate": 0.0427,
                "scorer_weight": 0.0452,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0287,
                "finishing_factor": 0.916,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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": 0.7706,
                "tackles": 0.8031,
                "tackles_won": 0.5712,
                "clearances": 5.1724,
                "aerial_won": 2.0591,
                "total_shots": 0.6431,
                "rating": 6.9106,
                "minutes": 88.14,
                "total_pass": 70.0079,
                "accurate_pass": 65.507,
                "duels_won": 2.6642,
                "total_long_balls": 5.4438,
                "accurate_long_balls": 3.0623,
                "total_own_half_passes": 50.4783,
                "accurate_own_half_passes": 48.6817,
                "total_opp_half_passes": 19.5296,
                "accurate_opp_half_passes": 16.8253,
                "crosses_total": 0.0117,
                "crosses_accurate": 0.0,
                "touches": 79.0165,
                "possession_lost": 4.8994,
                "dispossessed": 0.0826,
                "duels_lost": 1.2095,
                "aerial_lost": 0.5614,
                "total_contest": 0.0138,
                "won_contest": 0.0,
                "ball_recovery": 1.9651,
                "challenges_lost": 0.0192,
                "fouls": 0.5725,
                "fouls_drawn": 0.2711,
                "blocks": 0.9346,
                "goal_rate": 0.0427,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0493,
                "expected_assists": 0.0149,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0377,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "opponent_faced": "Lamine Yamal",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0481,
                "projected_assists": 0,
                "assist_probability": 0.0148,
                "finishing_factor": 0.916,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0148,
                "assist_rate": 0.0,
                "provider_weight": 0.0119,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0111,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Thibaut Courtois": {
          "player_id": 70988,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 200,
          "market_value": 14500000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0903,
            "rating": 6.9988,
            "minutes": 90,
            "total_pass": 31,
            "accurate_pass": 26,
            "total_long_balls": 8,
            "accurate_long_balls": 3,
            "touches": 40,
            "clearances": 1,
            "ball_recovery": 7,
            "high_claims": 1,
            "punches": 0.0857,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 1,
            "possession_lost": 5.4485,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 24,
            "gk_engine_opponent_lambda": 2.8353,
            "shots_faced": 25.4,
            "expected_saves": 6.22,
            "high_pressure_saves": 2.14,
            "opponent_faced": "Lamine Yamal, Raphinha",
            "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": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 36,
                "ball_recovery": 9,
                "saves": 4,
                "goals_prevented": 0.0718
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 25,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": 0.9995
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 15,
                "clearances": 2,
                "ball_recovery": 6,
                "saves": 5,
                "goals_prevented": 0.8708
              },
              "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 24,
                "ball_recovery": 5,
                "saves": 1,
                "goals_prevented": -0.6824
              },
              "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 31,
                "ball_recovery": 8,
                "saves": 6,
                "goals_prevented": 0.3547
              },
              "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 24,
                "clearances": 1,
                "ball_recovery": 11,
                "saves": 4,
                "goals_prevented": -0.0792
              },
              "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 31,
                "ball_recovery": 3,
                "saves": 1,
                "goals_prevented": 0.0461
              },
              "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 20,
                "ball_recovery": 3,
                "saves": 2,
                "goals_prevented": -0.1261
              },
              "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 19,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": -0.5284
              },
              "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": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 51,
                "ball_recovery": 15,
                "goals_prevented": -0.3506
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 79,
            "combined_rank_score": 85.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 160.0,
            "sofascore_rating": 7.2909,
            "sofascore_appearances": 11.0,
            "fifa_rank": 10.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9988,
            "source_file": "data/player_rankings.csv",
            "player_name": "Thibaut Courtois",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Désiré Doué",
                  "ranking": 74
                },
                {
                  "player_name": "Chema Andrés",
                  "ranking": 75
                },
                {
                  "player_name": "Youri Tielemans",
                  "ranking": 76
                },
                {
                  "player_name": "Marc Cucurella",
                  "ranking": 77
                },
                {
                  "player_name": "Dominik Szoboszlai",
                  "ranking": 78
                }
              ],
              "lower": [
                {
                  "player_name": "Otávio Costa",
                  "ranking": 80
                },
                {
                  "player_name": "Marc Guéhi",
                  "ranking": 81
                },
                {
                  "player_name": "Jaden Philogene-Bidace",
                  "ranking": 82
                },
                {
                  "player_name": "Valdívia",
                  "ranking": 83
                },
                {
                  "player_name": "Bremer",
                  "ranking": 84
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 39,
          "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",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0023,
            "fbref_prior_metrics": {
              "squad": "Real 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 39 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Real 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": 2.7042,
                "goals_prevented": -0.0901,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.0707,
                "accurate_pass": 25.7494,
                "total_long_balls": 8.4566,
                "accurate_long_balls": 3.2333,
                "touches": 39.4988,
                "clearances": 0.5797,
                "ball_recovery": 6.7594,
                "high_claims": 0.6893,
                "punches": 0.0855,
                "aerial_won": 0.0454,
                "sweeper_actions": 0.6466,
                "sweeper_accurate": 0.6458,
                "saves_inside_box": 1.2218,
                "possession_lost": 5.436,
                "duels_won": 0.0501,
                "duels_lost": 0.0261,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0154,
                "fouls_drawn": 0.0044,
                "total_own_half_passes": 24.8453,
                "accurate_own_half_passes": 23.7544
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-25T10:04:36.867499+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.2983,
                  "distribution_accuracy": 0.9516,
                  "sweeper_accuracy": 0.2372,
                  "goalkeeperValueNormalized": 0.1106,
                  "save_contribution": 3.018,
                  "accurateKeeperSweeper": 0.6458
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.704207181930542,
                    "model_output": 2.7042,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0744
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0614
                        },
                        {
                          "name": "saves",
                          "contribution": -0.0454
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0303
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0245
                        }
                      ],
                      "others": -0.1112,
                      "total": 2.7042,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.025722
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.021295
                        },
                        {
                          "name": "saves",
                          "margin": -0.01568
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.01061
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.008662
                        }
                      ],
                      "others_margin": -0.040349
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.0901060700416565,
                    "model_output": -0.0901,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.077
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0395
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0372
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0327
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0292
                        }
                      ],
                      "others": -0.0119,
                      "total": -0.0901,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "pass_accuracy",
                          "margin": 0.076994
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.039533
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.037188
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.032696
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.029249
                        }
                      ],
                      "others_margin": -0.011822
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.998800277709961,
                    "model_output": 6.9988,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0257
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0201
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0167
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0167
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0153
                        }
                      ],
                      "others": 0.0202,
                      "total": 6.9988,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.025712
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.020107
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.016749
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.016708
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.015284
                        }
                      ],
                      "others_margin": 0.020171
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 39,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0023, quality 0.574)",
              "stats": {
                "saves": 2.7104,
                "goals_prevented": -0.0903,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.1422,
                "accurate_pass": 25.8086,
                "total_long_balls": 8.4761,
                "accurate_long_balls": 3.2407,
                "touches": 39.5896,
                "clearances": 0.581,
                "ball_recovery": 6.7749,
                "high_claims": 0.6909,
                "punches": 0.0857,
                "aerial_won": 0.0455,
                "sweeper_actions": 0.6481,
                "sweeper_accurate": 0.6473,
                "saves_inside_box": 1.2246,
                "possession_lost": 5.4485,
                "duels_won": 0.0502,
                "duels_lost": 0.0262,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0154,
                "fouls_drawn": 0.0044,
                "total_own_half_passes": 24.9024,
                "accurate_own_half_passes": 23.809
              },
              "params": {
                "market_value_eur": 14500000,
                "quality_factor": 0.5737,
                "boost_factor": 1.0023,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0148)",
              "stats": {
                "saves": 2.695,
                "goals_prevented": -0.0903,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.1422,
                "accurate_pass": 25.8086,
                "total_long_balls": 8.4761,
                "accurate_long_balls": 3.2407,
                "touches": 39.5896,
                "clearances": 0.581,
                "ball_recovery": 6.7749,
                "high_claims": 0.6909,
                "punches": 0.0857,
                "aerial_won": 0.0455,
                "sweeper_actions": 0.6481,
                "sweeper_accurate": 0.6473,
                "saves_inside_box": 1.2246,
                "possession_lost": 5.4485,
                "duels_won": 0.0502,
                "duels_lost": 0.0262,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0152,
                "fouls_drawn": 0.0043,
                "total_own_half_passes": 24.9024,
                "accurate_own_half_passes": 23.809
              },
              "params": {
                "blend_weight": 0.0148,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.7104,
                  "after": 2.695
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.695,
                "goals_prevented": -0.0903,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.1422,
                "accurate_pass": 25.8086,
                "total_long_balls": 8.4761,
                "accurate_long_balls": 3.2407,
                "touches": 39.5896,
                "clearances": 0.581,
                "ball_recovery": 6.7749,
                "high_claims": 0.6909,
                "punches": 0.0857,
                "aerial_won": 0.0455,
                "sweeper_actions": 0.6481,
                "sweeper_accurate": 0.6473,
                "saves_inside_box": 1.2246,
                "possession_lost": 5.4485,
                "duels_won": 0.0502,
                "duels_lost": 0.0262,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0152,
                "fouls_drawn": 0.0043,
                "total_own_half_passes": 24.9024,
                "accurate_own_half_passes": 23.809
              },
              "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": 2.695,
                "goals_prevented": -0.0903,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.1422,
                "accurate_pass": 25.8086,
                "total_long_balls": 8.4761,
                "accurate_long_balls": 3.2407,
                "touches": 39.5896,
                "clearances": 0.581,
                "ball_recovery": 6.7749,
                "high_claims": 0.6909,
                "punches": 0.0857,
                "aerial_won": 0.0455,
                "sweeper_actions": 0.6481,
                "sweeper_accurate": 0.6473,
                "saves_inside_box": 1.2246,
                "possession_lost": 5.4485,
                "duels_won": 0.0502,
                "duels_lost": 0.0262,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0152,
                "fouls_drawn": 0.0043,
                "total_own_half_passes": 24.9024,
                "accurate_own_half_passes": 23.809,
                "gk_engine_opponent_lambda": 2.8353,
                "shots_faced": 26.9,
                "expected_saves": 6.58,
                "high_pressure_saves": 2.27,
                "opponent_faced": "Lamine Yamal, Raphinha",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lamine Yamal, Raphinha",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 2.8353
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.695,
                "goals_prevented": -0.0903,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.1422,
                "accurate_pass": 25.8086,
                "total_long_balls": 8.4761,
                "accurate_long_balls": 3.2407,
                "touches": 39.5896,
                "clearances": 0.581,
                "ball_recovery": 6.7749,
                "high_claims": 0.6909,
                "punches": 0.0857,
                "aerial_won": 0.0455,
                "sweeper_actions": 0.6481,
                "sweeper_accurate": 0.6473,
                "saves_inside_box": 1.2246,
                "possession_lost": 5.4485,
                "duels_won": 0.0502,
                "duels_lost": 0.0262,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0152,
                "fouls_drawn": 0.0043,
                "total_own_half_passes": 24.9024,
                "accurate_own_half_passes": 23.809,
                "gk_engine_opponent_lambda": 2.8353,
                "shots_faced": 26.9,
                "expected_saves": 6.58,
                "high_pressure_saves": 2.27,
                "opponent_faced": "Lamine Yamal, Raphinha",
                "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
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "saves": 2.695,
                "goals_prevented": -0.0903,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.1422,
                "accurate_pass": 25.8086,
                "total_long_balls": 8.4761,
                "accurate_long_balls": 3.2407,
                "touches": 39.5896,
                "clearances": 0.581,
                "ball_recovery": 6.7749,
                "high_claims": 0.6909,
                "punches": 0.0857,
                "aerial_won": 0.0455,
                "sweeper_actions": 0.6481,
                "sweeper_accurate": 0.6473,
                "saves_inside_box": 1.2246,
                "possession_lost": 5.4485,
                "duels_won": 0.0502,
                "duels_lost": 0.0262,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0152,
                "fouls_drawn": 0.0043,
                "total_own_half_passes": 24.9024,
                "accurate_own_half_passes": 23.809,
                "gk_engine_opponent_lambda": 2.8353,
                "shots_faced": 25.4,
                "expected_saves": 6.22,
                "high_pressure_saves": 2.14,
                "opponent_faced": "Lamine Yamal, Raphinha",
                "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.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 26.9,
                  "after": 25.4
                },
                {
                  "stat": "expected_saves",
                  "before": 6.58,
                  "after": 6.22
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 2.27,
                  "after": 2.14
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 90.0)",
              "stats": {
                "saves": 2.695,
                "goals_prevented": -0.0903,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.1422,
                "accurate_pass": 25.8086,
                "total_long_balls": 8.4761,
                "accurate_long_balls": 3.2407,
                "touches": 39.5896,
                "clearances": 0.581,
                "ball_recovery": 6.7749,
                "high_claims": 0.6909,
                "punches": 0.0857,
                "aerial_won": 0.0455,
                "sweeper_actions": 0.6481,
                "sweeper_accurate": 0.6473,
                "saves_inside_box": 1.2246,
                "possession_lost": 5.4485,
                "duels_won": 0.0502,
                "duels_lost": 0.0262,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0152,
                "fouls_drawn": 0.0043,
                "total_own_half_passes": 24.9024,
                "accurate_own_half_passes": 23.809,
                "gk_engine_opponent_lambda": 2.8353,
                "shots_faced": 25.4,
                "expected_saves": 6.22,
                "high_pressure_saves": 2.14,
                "opponent_faced": "Lamine Yamal, Raphinha",
                "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": 90.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": 79,
                "fifa_rank": 10.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.695,
                "goals_prevented": -0.0903,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.1422,
                "accurate_pass": 25.8086,
                "total_long_balls": 8.4761,
                "accurate_long_balls": 3.2407,
                "touches": 39.5896,
                "clearances": 0.581,
                "ball_recovery": 6.7749,
                "high_claims": 0.6909,
                "punches": 0.0857,
                "aerial_won": 0.0455,
                "sweeper_actions": 0.6481,
                "sweeper_accurate": 0.6473,
                "saves_inside_box": 1.2246,
                "possession_lost": 5.4485,
                "duels_won": 0.0502,
                "duels_lost": 0.0262,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0152,
                "fouls_drawn": 0.0043,
                "total_own_half_passes": 24.9024,
                "accurate_own_half_passes": 23.809,
                "gk_engine_opponent_lambda": 2.8353,
                "shots_faced": 25.4,
                "expected_saves": 6.22,
                "high_pressure_saves": 2.14,
                "opponent_faced": "Lamine Yamal, Raphinha",
                "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": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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": 2.695,
                "goals_prevented": -0.0903,
                "rating": 6.9988,
                "minutes": 90.0,
                "total_pass": 31.1422,
                "accurate_pass": 25.8086,
                "total_long_balls": 8.4761,
                "accurate_long_balls": 3.2407,
                "touches": 39.5896,
                "clearances": 0.581,
                "ball_recovery": 6.7749,
                "high_claims": 0.6909,
                "punches": 0.0857,
                "aerial_won": 0.0455,
                "sweeper_actions": 0.6481,
                "sweeper_accurate": 0.6473,
                "saves_inside_box": 1.2246,
                "possession_lost": 5.4485,
                "duels_won": 0.0502,
                "duels_lost": 0.0262,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0152,
                "fouls_drawn": 0.0043,
                "total_own_half_passes": 24.9024,
                "accurate_own_half_passes": 23.809,
                "gk_engine_opponent_lambda": 2.8353,
                "shots_faced": 25.4,
                "expected_saves": 6.22,
                "high_pressure_saves": 2.14,
                "opponent_faced": "Lamine Yamal, Raphinha",
                "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": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jude Bellingham": {
          "player_id": 991011,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 5,
          "height": 188,
          "market_value": 151000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.1683,
            "assist_rate": 0.1477,
            "assists": 0,
            "expected_goals": 0.2006,
            "goal_rate": 0.2427,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.1475,
            "minutes": 83,
            "total_pass": 41,
            "accurate_pass": 37,
            "duels_won": 8,
            "total_long_balls": 3,
            "accurate_long_balls": 3,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 23,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 62,
            "possession_lost": 9.5194,
            "dispossessed": 1.1238,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 4,
            "won_contest": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 3,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3302,
            "ball_carries": 23,
            "total_progression": 64,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0822,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.506,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pedri",
            "opponent_faced": "Pedri",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1818,
            "projected_assists": 0,
            "assist_probability": 0.1549,
            "finishing_factor": 1.1323,
            "creation_factor": 1.0123,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 69,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1888,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 41,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0743,
                "expected_assists": 0.0271,
                "total_shots": 2,
                "total_pass": 31,
                "accurate_pass": 22,
                "tackles": 1,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 82,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0108,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 24,
                "key_pass": 3,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "duels_won": 11,
                "ball_recovery": 7
              },
              "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 22,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0203,
                "expected_assists": 0.2362,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 2,
                "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"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4019,
                "expected_assists": 0.0641,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 38,
                "accurate_pass": 31,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "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"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1651,
                "expected_assists": 0.4642,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 48,
                "accurate_pass": 43,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 6,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 87,
                "rating": 8.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4008,
                "expected_assists": 0.0465,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 3,
                "total_pass": 38,
                "accurate_pass": 36,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 78,
                "rating": 9.0,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1486,
                "expected_assists": 0.58,
                "total_shots": 1,
                "total_pass": 42,
                "accurate_pass": 40,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 10,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 80,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.126,
                "expected_assists": 0.0492,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 39,
                "accurate_pass": 37,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 7,
                "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": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 74,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1945,
                "expected_assists": 0.0584,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 55,
                "accurate_pass": 51,
                "interceptions": 1,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 5,
            "combined_rank_score": 11.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 9.0,
            "sofascore_rating": 8.5333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 14.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1475,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jude Bellingham",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lamine Yamal",
                  "ranking": 1
                },
                {
                  "player_name": "Kylian Mbappé",
                  "ranking": 2
                },
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                },
                {
                  "player_name": "Mariano Díaz",
                  "ranking": 4
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Raphinha",
                  "ranking": 10
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "history_matches": 35,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0148,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 242.0,
              "goals_per90": 0.7407407407407407,
              "assists_per90": 0.7407407407407407,
              "shots_per90": 2.98,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.18
            },
            "rationale": "XGBoost regressor (M_service) evaluated 35 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.18, gls/90: 0.7407407407407407, ast/90: 0.7407407407407407)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.7257,
                "expected_assists": 0.1432,
                "assists": 0.1377,
                "assist_rate": 0.1377,
                "expected_goals": 0.1899,
                "goals": 0.2143,
                "goal_rate": 0.2143,
                "shots_on_target": 0.7878,
                "total_shots": 2.0,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 40.8882,
                "accurate_pass": 36.5858,
                "duels_won": 7.9351,
                "total_long_balls": 3.3253,
                "accurate_long_balls": 2.7112,
                "total_own_half_passes": 14.1715,
                "accurate_own_half_passes": 13.8414,
                "total_opp_half_passes": 26.7168,
                "accurate_opp_half_passes": 22.7445,
                "crosses_total": 0.6158,
                "crosses_accurate": 0.0452,
                "touches": 60.6541,
                "possession_lost": 9.3806,
                "dispossessed": 1.1074,
                "duels_lost": 5.0264,
                "aerial_won": 0.7805,
                "aerial_lost": 0.9175,
                "interceptions": 0.5764,
                "tackles_won": 1.3731,
                "tackles": 1.9077,
                "clearances": 0.6261,
                "total_contest": 3.8309,
                "won_contest": 2.5197,
                "challenges_lost": 0.6104,
                "fouls": 1.1357,
                "fouls_drawn": 2.7623,
                "blocks": 0.128,
                "big_chances_created": 0.4019,
                "big_chances_missed": 0.1803,
                "xgot": 0.3124,
                "ball_carries": 22.2684,
                "total_progression": 63.5197,
                "progressive_carries": 2.3052,
                "shots_off_target": 1.2122
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.1279,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.8901,
                  "creative_index": 0.8351,
                  "expectedGoals": 0.1708,
                  "expectedAssists": 0.1442,
                  "onTargetScoringAttempt": 0.8461
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.7256673574447632,
                    "model_output": 1.7257,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.2069
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.134
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.107
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1093
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1003
                        }
                      ],
                      "others": 0.182,
                      "total": 1.7257,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.209802
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115642
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.083576
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.078767
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.067202
                        }
                      ],
                      "others_margin": 0.111441
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14319971203804016,
                    "model_output": 0.1432,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0119
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.011
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0098
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0071
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0076
                        }
                      ],
                      "others": 0.0296,
                      "total": 0.1432,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130211
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10713
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.093977
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.06909
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.069022
                        }
                      ],
                      "others_margin": 0.231055
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1376531720161438,
                    "model_output": 0.1377,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0142
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0123
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0133
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.008
                        }
                      ],
                      "others": 0.015,
                      "total": 0.1377,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.154039
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.116992
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.112114
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.085719
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.067069
                        }
                      ],
                      "others_margin": 0.114893
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.18990327417850494,
                    "model_output": 0.1899,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0272
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0241
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0171
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0126
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0135
                        }
                      ],
                      "others": 0.001,
                      "total": 0.1899,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.253271
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.18098
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110818
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.074692
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.074236
                        }
                      ],
                      "others_margin": 0.00468
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.21430179476737976,
                    "model_output": 0.2143,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0323
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0167
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0147
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0145
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0142
                        }
                      ],
                      "others": 0.0527,
                      "total": 0.2143,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.285402
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.120974
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.09526
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.086387
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.08399
                        }
                      ],
                      "others_margin": 0.282012
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7877874374389648,
                    "model_output": 0.7878,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1209
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0617
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.069
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0411
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0406
                        }
                      ],
                      "others": 0.2117,
                      "total": 0.7878,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.317104
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.129903
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127652
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.068892
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.068027
                        }
                      ],
                      "others_margin": 0.312987
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.9999654293060303,
                    "model_output": 2.0,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.5138
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1663
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1016
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0549
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.051
                        }
                      ],
                      "others": 0.1219,
                      "total": 2.0,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.513781
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.16626
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.101566
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.05494
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.051005
                        }
                      ],
                      "others_margin": 0.121949
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.147544860839844,
                    "model_output": 7.1475,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1364
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0641
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0332
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0297
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0245
                        }
                      ],
                      "others": 0.0107,
                      "total": 7.1475,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.13644
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.064142
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.033182
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.029747
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.024463
                        }
                      ],
                      "others_margin": 0.0107
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 35,
                  "role_matches": 28,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0148, quality 0.899)",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.1453,
                "assists": 0.1397,
                "assist_rate": 0.1397,
                "expected_goals": 0.1927,
                "goals": 0.2175,
                "goal_rate": 0.2175,
                "shots_on_target": 0.7994,
                "total_shots": 2.0296,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 41.4933,
                "accurate_pass": 37.1273,
                "duels_won": 8.0525,
                "total_long_balls": 3.3745,
                "accurate_long_balls": 2.7513,
                "total_own_half_passes": 14.3812,
                "accurate_own_half_passes": 14.0463,
                "total_opp_half_passes": 27.1122,
                "accurate_opp_half_passes": 23.0811,
                "crosses_total": 0.6249,
                "crosses_accurate": 0.0459,
                "touches": 61.5518,
                "possession_lost": 9.5194,
                "dispossessed": 1.1238,
                "duels_lost": 5.1008,
                "aerial_won": 0.7921,
                "aerial_lost": 0.9311,
                "interceptions": 0.5849,
                "tackles_won": 1.3934,
                "tackles": 1.9359,
                "clearances": 0.6354,
                "total_contest": 3.8876,
                "won_contest": 2.557,
                "challenges_lost": 0.6194,
                "fouls": 1.1525,
                "fouls_drawn": 2.8032,
                "blocks": 0.1299,
                "big_chances_created": 0.4078,
                "big_chances_missed": 0.183,
                "xgot": 0.317,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.2301
              },
              "params": {
                "market_value_eur": 151000000,
                "quality_factor": 0.8995,
                "boost_factor": 1.0148,
                "reference_quality": 0.505,
                "history_matches": 35,
                "history_shrink": 0.125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0146)",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.1453,
                "assists": 0.1477,
                "assist_rate": 0.1477,
                "expected_goals": 0.1927,
                "goals": 0.2243,
                "goal_rate": 0.2243,
                "shots_on_target": 0.8078,
                "total_shots": 2.0402,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 41.4933,
                "accurate_pass": 37.1273,
                "duels_won": 8.0525,
                "total_long_balls": 3.3745,
                "accurate_long_balls": 2.7513,
                "total_own_half_passes": 14.3812,
                "accurate_own_half_passes": 14.0463,
                "total_opp_half_passes": 27.1122,
                "accurate_opp_half_passes": 23.0811,
                "crosses_total": 0.6208,
                "crosses_accurate": 0.0459,
                "touches": 61.5518,
                "possession_lost": 9.5194,
                "dispossessed": 1.1238,
                "duels_lost": 5.1008,
                "aerial_won": 0.7921,
                "aerial_lost": 0.9311,
                "interceptions": 0.5763,
                "tackles_won": 1.393,
                "tackles": 1.9359,
                "clearances": 0.6354,
                "total_contest": 3.8876,
                "won_contest": 2.557,
                "challenges_lost": 0.6194,
                "fouls": 1.1457,
                "fouls_drawn": 2.7972,
                "blocks": 0.1299,
                "big_chances_created": 0.4078,
                "big_chances_missed": 0.183,
                "xgot": 0.317,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.2301
              },
              "params": {
                "blend_weight": 0.0146,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9238,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.0296,
                  "after": 2.0402
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5849,
                  "after": 0.5763
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7994,
                  "after": 0.8078
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1397,
                  "after": 0.1477
                },
                {
                  "stat": "fouls",
                  "before": 1.1525,
                  "after": 1.1457
                },
                {
                  "stat": "goals",
                  "before": 0.2175,
                  "after": 0.2243
                },
                {
                  "stat": "wasFouled",
                  "before": 2.8032,
                  "after": 2.7972
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.1453,
                "assists": 0.1477,
                "assist_rate": 0.1477,
                "expected_goals": 0.1927,
                "goals": 0.2243,
                "goal_rate": 0.2243,
                "shots_on_target": 0.8078,
                "total_shots": 2.0402,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 41.4933,
                "accurate_pass": 37.1273,
                "duels_won": 8.0525,
                "total_long_balls": 3.3745,
                "accurate_long_balls": 2.7513,
                "total_own_half_passes": 14.3812,
                "accurate_own_half_passes": 14.0463,
                "total_opp_half_passes": 27.1122,
                "accurate_opp_half_passes": 23.0811,
                "crosses_total": 0.6208,
                "crosses_accurate": 0.0459,
                "touches": 61.5518,
                "possession_lost": 9.5194,
                "dispossessed": 1.1238,
                "duels_lost": 5.1008,
                "aerial_won": 0.7921,
                "aerial_lost": 0.9311,
                "interceptions": 0.5763,
                "tackles_won": 1.393,
                "tackles": 1.9359,
                "clearances": 0.6354,
                "total_contest": 3.8876,
                "won_contest": 2.557,
                "challenges_lost": 0.6194,
                "fouls": 1.1457,
                "fouls_drawn": 2.7972,
                "blocks": 0.1299,
                "big_chances_created": 0.4078,
                "big_chances_missed": 0.183,
                "xgot": 0.317,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.2301
              },
              "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.7512,
                "expected_assists": 0.1453,
                "assists": 0.1477,
                "assist_rate": 0.1477,
                "expected_goals": 0.2085,
                "goals": 0.2427,
                "goal_rate": 0.2427,
                "shots_on_target": 0.8742,
                "total_shots": 2.2079,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 41.4933,
                "accurate_pass": 37.1273,
                "duels_won": 8.0525,
                "total_long_balls": 3.3745,
                "accurate_long_balls": 2.7513,
                "total_own_half_passes": 14.3812,
                "accurate_own_half_passes": 14.0463,
                "total_opp_half_passes": 27.1122,
                "accurate_opp_half_passes": 23.0811,
                "crosses_total": 0.6208,
                "crosses_accurate": 0.0459,
                "touches": 61.5518,
                "possession_lost": 9.5194,
                "dispossessed": 1.1238,
                "duels_lost": 5.1008,
                "aerial_won": 1.2,
                "aerial_lost": 0.9311,
                "interceptions": 0.5763,
                "tackles_won": 1.393,
                "tackles": 1.9359,
                "clearances": 0.6354,
                "total_contest": 3.8876,
                "won_contest": 2.557,
                "challenges_lost": 0.6194,
                "fouls": 1.1457,
                "fouls_drawn": 2.7972,
                "blocks": 0.1299,
                "big_chances_created": 0.4078,
                "big_chances_missed": 0.198,
                "xgot": 0.3431,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3312,
                "duel_xg_multiplier": 1.0822,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.506,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pedri",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.506,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0822,
                  "skill_edge": -0.0001,
                  "height_edge": 0.056,
                  "attacker_skill": 0.8998,
                  "defender_skill": 0.8999,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pedri",
                      "market_value": 164000000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.8999
                    }
                  ],
                  "xg_override": 0.2085
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.7921,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 2.0402,
                  "after": 2.2079
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2301,
                  "after": 1.3312
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8078,
                  "after": 0.8742
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.317,
                  "after": 0.3431
                },
                {
                  "stat": "goals",
                  "before": 0.2243,
                  "after": 0.2427
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1927,
                  "after": 0.2085
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.183,
                  "after": 0.198
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.1453,
                "assist_rate": 0.1477,
                "assists": 0,
                "expected_goals": 0.2085,
                "goal_rate": 0.2427,
                "goals": 0,
                "shots_on_target": 0.8742,
                "total_shots": 2.2079,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 41.4933,
                "accurate_pass": 37.1273,
                "duels_won": 8.0525,
                "total_long_balls": 3.3745,
                "accurate_long_balls": 2.7513,
                "total_own_half_passes": 14.3812,
                "accurate_own_half_passes": 14.0463,
                "total_opp_half_passes": 27.1122,
                "accurate_opp_half_passes": 23.0811,
                "crosses_total": 0.6208,
                "crosses_accurate": 0.0459,
                "touches": 61.5518,
                "possession_lost": 9.5194,
                "dispossessed": 1.1238,
                "duels_lost": 5.1008,
                "aerial_won": 1.2,
                "aerial_lost": 0.9311,
                "interceptions": 0.5763,
                "tackles_won": 1.393,
                "tackles": 1.9359,
                "clearances": 0.6354,
                "total_contest": 3.8876,
                "won_contest": 2.557,
                "challenges_lost": 0.6194,
                "fouls": 1.1457,
                "fouls_drawn": 2.7972,
                "blocks": 0.1299,
                "big_chances_created": 0.4078,
                "big_chances_missed": 0.198,
                "xgot": 0.3431,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3312,
                "duel_xg_multiplier": 1.0822,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.506,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.1683,
                "assist_rate": 0.1477,
                "assists": 0,
                "expected_goals": 0.2006,
                "goal_rate": 0.2427,
                "goals": 0,
                "shots_on_target": 0.8742,
                "total_shots": 2.2079,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 41.4933,
                "accurate_pass": 37.1273,
                "duels_won": 8.0525,
                "total_long_balls": 3.3745,
                "accurate_long_balls": 2.7513,
                "total_own_half_passes": 14.3812,
                "accurate_own_half_passes": 14.0463,
                "total_opp_half_passes": 27.1122,
                "accurate_opp_half_passes": 23.0811,
                "crosses_total": 0.6208,
                "crosses_accurate": 0.0459,
                "touches": 61.5518,
                "possession_lost": 9.5194,
                "dispossessed": 1.1238,
                "duels_lost": 5.1008,
                "aerial_won": 1.2,
                "aerial_lost": 0.9311,
                "interceptions": 0.5763,
                "tackles_won": 1.393,
                "tackles": 1.9359,
                "clearances": 0.6354,
                "total_contest": 3.8876,
                "won_contest": 2.557,
                "challenges_lost": 0.6194,
                "fouls": 1.1457,
                "fouls_drawn": 2.7972,
                "blocks": 0.1299,
                "big_chances_created": 0.4078,
                "big_chances_missed": 0.198,
                "xgot": 0.3302,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3312,
                "duel_xg_multiplier": 1.0822,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.506,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1323,
                "creation_factor": 1.0123
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2085,
                  "after": 0.2006
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1453,
                  "after": 0.1683
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 90.0)",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.1683,
                "assist_rate": 0.1477,
                "assists": 0,
                "expected_goals": 0.2006,
                "goal_rate": 0.2427,
                "goals": 0,
                "shots_on_target": 0.8742,
                "total_shots": 2.2079,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 41.4933,
                "accurate_pass": 37.1273,
                "duels_won": 8.0525,
                "total_long_balls": 3.3745,
                "accurate_long_balls": 2.7513,
                "total_own_half_passes": 14.3812,
                "accurate_own_half_passes": 14.0463,
                "total_opp_half_passes": 27.1122,
                "accurate_opp_half_passes": 23.0811,
                "crosses_total": 0.6208,
                "crosses_accurate": 0.0459,
                "touches": 61.5518,
                "possession_lost": 9.5194,
                "dispossessed": 1.1238,
                "duels_lost": 5.1008,
                "aerial_won": 1.2,
                "aerial_lost": 0.9311,
                "interceptions": 0.5763,
                "tackles_won": 1.393,
                "tackles": 1.9359,
                "clearances": 0.6354,
                "total_contest": 3.8876,
                "won_contest": 2.557,
                "challenges_lost": 0.6194,
                "fouls": 1.1457,
                "fouls_drawn": 2.7972,
                "blocks": 0.1299,
                "big_chances_created": 0.4078,
                "big_chances_missed": 0.198,
                "xgot": 0.3302,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3312,
                "duel_xg_multiplier": 1.0822,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.506,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1323,
                "creation_factor": 1.0123,
                "fifa_overall": 90.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": 5,
                "fifa_rank": 14.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.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.7512,
                "expected_assists": 0.1683,
                "assist_rate": 0.1477,
                "assists": 0,
                "expected_goals": 0.2006,
                "goal_rate": 0.2427,
                "goals": 0,
                "shots_on_target": 0.8742,
                "total_shots": 2.2079,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 41.4933,
                "accurate_pass": 37.1273,
                "duels_won": 8.0525,
                "total_long_balls": 3.3745,
                "accurate_long_balls": 2.7513,
                "total_own_half_passes": 14.3812,
                "accurate_own_half_passes": 14.0463,
                "total_opp_half_passes": 27.1122,
                "accurate_opp_half_passes": 23.0811,
                "crosses_total": 0.6208,
                "crosses_accurate": 0.0459,
                "touches": 61.5518,
                "possession_lost": 9.5194,
                "dispossessed": 1.1238,
                "duels_lost": 5.1008,
                "aerial_won": 1.2,
                "aerial_lost": 0.9311,
                "interceptions": 0.5763,
                "tackles_won": 1.393,
                "tackles": 1.9359,
                "clearances": 0.6354,
                "total_contest": 3.8876,
                "won_contest": 2.557,
                "challenges_lost": 0.6194,
                "fouls": 1.1457,
                "fouls_drawn": 2.7972,
                "blocks": 0.1299,
                "big_chances_created": 0.4078,
                "big_chances_missed": 0.198,
                "xgot": 0.3302,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3312,
                "duel_xg_multiplier": 1.0822,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.506,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1818,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1323,
                "creation_factor": 1.0123,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1818,
                "goal_rate": 0.2427,
                "scorer_weight": 0.2271,
                "squad_weight_total": 1.5727,
                "weight_share": 0.1444,
                "finishing_factor": 1.1323,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.7512,
                "expected_assists": 0.1683,
                "assist_rate": 0.1477,
                "assists": 0,
                "expected_goals": 0.2006,
                "goal_rate": 0.2427,
                "goals": 0,
                "shots_on_target": 0.8742,
                "total_shots": 2.2079,
                "rating": 7.1475,
                "minutes": 83.14,
                "total_pass": 41.4933,
                "accurate_pass": 37.1273,
                "duels_won": 8.0525,
                "total_long_balls": 3.3745,
                "accurate_long_balls": 2.7513,
                "total_own_half_passes": 14.3812,
                "accurate_own_half_passes": 14.0463,
                "total_opp_half_passes": 27.1122,
                "accurate_opp_half_passes": 23.0811,
                "crosses_total": 0.6208,
                "crosses_accurate": 0.0459,
                "touches": 61.5518,
                "possession_lost": 9.5194,
                "dispossessed": 1.1238,
                "duels_lost": 5.1008,
                "aerial_won": 1.2,
                "aerial_lost": 0.9311,
                "interceptions": 0.5763,
                "tackles_won": 1.393,
                "tackles": 1.9359,
                "clearances": 0.6354,
                "total_contest": 3.8876,
                "won_contest": 2.557,
                "challenges_lost": 0.6194,
                "fouls": 1.1457,
                "fouls_drawn": 2.7972,
                "blocks": 0.1299,
                "big_chances_created": 0.4078,
                "big_chances_missed": 0.198,
                "xgot": 0.3302,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3312,
                "duel_xg_multiplier": 1.0822,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.506,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pedri",
                "opponent_faced": "Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1818,
                "projected_assists": 0,
                "assist_probability": 0.1549,
                "finishing_factor": 1.1323,
                "creation_factor": 1.0123,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1549,
                "assist_rate": 0.1477,
                "provider_weight": 0.1704,
                "squad_weight_total": 1.0718,
                "weight_share": 0.159,
                "creation_factor": 1.0123,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Yan Diomande": {
          "player_id": 2087085,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 25,
          "height": 180,
          "market_value": 132000000,
          "stats": {
            "expected_goals": 0.0951,
            "goal_rate": 0.1077,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1536,
            "key_pass": 1,
            "rating": 6.9001,
            "minutes": 81,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 7,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 32,
            "possession_lost": 8.0332,
            "dispossessed": 0.6987,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 3,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.1944,
            "assists": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0043,
            "offsides": 0,
            "ball_carries": 14,
            "total_progression": 95,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9979,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.6,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.239,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Pedri, Rodri",
            "opponent_faced": "Pedri, Rodri",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0907,
            "projected_assists": 1,
            "assist_probability": 0.1424,
            "finishing_factor": 1.0598,
            "creation_factor": 1.25,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 9.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2488,
                "expected_assists": 0.2352,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 65,
                "accurate_pass": 58,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 86,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2449,
                "expected_assists": 0.0449,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 24,
                "key_pass": 3,
                "tackles": 3,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 36,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0114,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "duels_won": 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"
            },
            {
              "match_id": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 89,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0985,
                "expected_assists": 0.3043,
                "total_shots": 1,
                "total_pass": 29,
                "accurate_pass": 20,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 12,
                "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 72,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0388,
                "expected_assists": 0.091,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 24,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "duels_won": 9,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.011,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 8,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 25,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0513,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "key_pass": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 3,
                "aerial_won": 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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0538,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "key_pass": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 1021,
            "combined_rank_score": 454.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 3.0,
            "fifa_rank": 210.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9001,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yan Diomande",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Giovanni Di Lorenzo",
                  "ranking": 1016
                },
                {
                  "player_name": "Min-hyeok Kim",
                  "ranking": 1017
                },
                {
                  "player_name": "Tim Hartzell",
                  "ranking": 1018
                },
                {
                  "player_name": "Dae-kwang Lee",
                  "ranking": 1019
                },
                {
                  "player_name": "Stanislav Iljutcenko",
                  "ranking": 1020
                }
              ],
              "lower": [
                {
                  "player_name": "Robin Roefs",
                  "ranking": 1022
                },
                {
                  "player_name": "Andrea Cambiaso",
                  "ranking": 1023
                },
                {
                  "player_name": "Clarismario",
                  "ranking": 1024
                },
                {
                  "player_name": "Milan Obradović",
                  "ranking": 1025
                },
                {
                  "player_name": "Álvaro Carreras",
                  "ranking": 1026
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.695,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.695,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0492,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 60.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0467
            },
            "rationale": "XGBoost regressor (F_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.05, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0944,
                "goals": 0.1042,
                "goal_rate": 0.1042,
                "shots_on_target": 0.4007,
                "total_shots": 1.0695,
                "expected_assists": 0.1264,
                "key_pass": 1.3868,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 16.2701,
                "accurate_pass": 13.2778,
                "duels_won": 6.2045,
                "total_long_balls": 0.3407,
                "accurate_long_balls": 0.2428,
                "total_opp_half_passes": 12.5541,
                "accurate_opp_half_passes": 9.9371,
                "crosses_total": 1.8812,
                "crosses_accurate": 0.9132,
                "touches": 30.7798,
                "possession_lost": 7.6565,
                "dispossessed": 0.6659,
                "duels_lost": 3.3092,
                "aerial_lost": 0.3472,
                "total_contest": 4.2502,
                "won_contest": 3.1073,
                "ball_recovery": 1.4736,
                "challenges_lost": 0.4828,
                "fouls": 0.6704,
                "fouls_drawn": 2.1454,
                "assists": 0.1877,
                "assist_rate": 0.1877,
                "interceptions": 0.5067,
                "tackles_won": 0.8538,
                "tackles": 0.8538,
                "clearances": 0.1877,
                "blocks": 0.0,
                "big_chances_created": 0.1877,
                "big_chances_missed": 0.2208,
                "xgot": 0.0043,
                "offsides": 0.2208,
                "ball_carries": 13.7209,
                "total_progression": 90.8295,
                "progressive_carries": 3.4254,
                "shots_off_target": 0.6688
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1356,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0403,
                  "totalOppositionHalfPasses": 12.5541,
                  "accurateOppositionHalfPasses": 9.9371,
                  "accuratePass": 13.2778,
                  "totalShots": 0.5679
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.09435991942882538,
                    "model_output": 0.0944,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0486
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0437
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0237
                        },
                        {
                          "name": "wasFouled",
                          "contribution": -0.0114
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0552,
                      "total": 0.0944,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.279791
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.25527
                        },
                        {
                          "name": "goals",
                          "margin": -0.13007
                        },
                        {
                          "name": "wasFouled",
                          "margin": -0.069359
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.060922
                        }
                      ],
                      "others_margin": -0.461088
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10418589413166046,
                    "model_output": 0.1042,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0633
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0551
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0325
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0122
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.0525,
                      "total": 0.1042,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.270439
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.230913
                        },
                        {
                          "name": "goals",
                          "margin": -0.166368
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.070281
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.064683
                        }
                      ],
                      "others_margin": -0.408905
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.40067997574806213,
                    "model_output": 0.4007,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1647
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.1126
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0647
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0421
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0357
                        }
                      ],
                      "others": -0.1301,
                      "total": 0.4007,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.267482
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.17495
                        },
                        {
                          "name": "goals",
                          "margin": -0.116287
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.07726
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.065032
                        }
                      ],
                      "others_margin": -0.28127
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0694433450698853,
                    "model_output": 1.0694,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3927
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2244
                        },
                        {
                          "name": "goals",
                          "contribution": -0.1193
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0665
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0608
                        }
                      ],
                      "others": -0.231,
                      "total": 1.0694,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.39273
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.224427
                        },
                        {
                          "name": "goals",
                          "margin": -0.119347
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.066477
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.060757
                        }
                      ],
                      "others_margin": -0.230985
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12635715305805206,
                    "model_output": 0.1264,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.014
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0116
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0095
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0103
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0059
                        }
                      ],
                      "others": 0.0226,
                      "total": 0.1264,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.196661
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.137972
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.100416
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.098853
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.055786
                        }
                      ],
                      "others_margin": 0.197695
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.3868104219436646,
                    "model_output": 1.3868,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2453
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1271
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0686
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0703
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0735
                        }
                      ],
                      "others": 0.128,
                      "total": 1.3868,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.31044
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.129484
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.063532
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.061147
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.060145
                        }
                      ],
                      "others_margin": 0.096819
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.900125980377197,
                    "model_output": 6.9001,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0655
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0379
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0247
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0135
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0101
                        }
                      ],
                      "others": 0.0356,
                      "total": 6.9001,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.06549
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.03786
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024708
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.013455
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.010134
                        }
                      ],
                      "others_margin": 0.035734
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0492, quality 0.899)",
              "stats": {
                "expected_goals": 0.099,
                "goals": 0.1093,
                "goal_rate": 0.1093,
                "shots_on_target": 0.4204,
                "total_shots": 1.1221,
                "expected_assists": 0.1326,
                "key_pass": 1.455,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 17.0706,
                "accurate_pass": 13.9311,
                "duels_won": 6.5098,
                "total_long_balls": 0.3575,
                "accurate_long_balls": 0.2547,
                "total_opp_half_passes": 13.1718,
                "accurate_opp_half_passes": 10.426,
                "crosses_total": 1.9738,
                "crosses_accurate": 0.9581,
                "touches": 32.2942,
                "possession_lost": 8.0332,
                "dispossessed": 0.6987,
                "duels_lost": 3.472,
                "aerial_lost": 0.3643,
                "total_contest": 4.4593,
                "won_contest": 3.2602,
                "ball_recovery": 1.5461,
                "challenges_lost": 0.5066,
                "fouls": 0.7034,
                "fouls_drawn": 2.251,
                "assists": 0.1969,
                "assist_rate": 0.1969,
                "interceptions": 0.5316,
                "tackles_won": 0.8958,
                "tackles": 0.8958,
                "clearances": 0.1969,
                "blocks": 0.0,
                "big_chances_created": 0.1969,
                "big_chances_missed": 0.2317,
                "xgot": 0.0045,
                "offsides": 0.2317,
                "ball_carries": 14.396,
                "total_progression": 95.2983,
                "progressive_carries": 3.5939,
                "shots_off_target": 0.7017
              },
              "params": {
                "market_value_eur": 132000000,
                "quality_factor": 0.8986,
                "boost_factor": 1.0492,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0126)",
              "stats": {
                "expected_goals": 0.099,
                "goals": 0.1079,
                "goal_rate": 0.1079,
                "shots_on_target": 0.4151,
                "total_shots": 1.1079,
                "expected_assists": 0.1326,
                "key_pass": 1.455,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 17.0706,
                "accurate_pass": 13.9311,
                "duels_won": 6.5098,
                "total_long_balls": 0.3575,
                "accurate_long_balls": 0.2547,
                "total_opp_half_passes": 13.1718,
                "accurate_opp_half_passes": 10.426,
                "crosses_total": 2.0136,
                "crosses_accurate": 0.9581,
                "touches": 32.2942,
                "possession_lost": 8.0332,
                "dispossessed": 0.6987,
                "duels_lost": 3.472,
                "aerial_lost": 0.3643,
                "total_contest": 4.4593,
                "won_contest": 3.2602,
                "ball_recovery": 1.5461,
                "challenges_lost": 0.5066,
                "fouls": 0.6945,
                "fouls_drawn": 2.2225,
                "assists": 0.1944,
                "assist_rate": 0.1944,
                "interceptions": 0.5249,
                "tackles_won": 0.8845,
                "tackles": 0.8958,
                "clearances": 0.1969,
                "blocks": 0.0,
                "big_chances_created": 0.1969,
                "big_chances_missed": 0.2317,
                "xgot": 0.0045,
                "offsides": 0.2288,
                "ball_carries": 14.396,
                "total_progression": 95.2983,
                "progressive_carries": 3.5939,
                "shots_off_target": 0.7017
              },
              "params": {
                "blend_weight": 0.0126,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8954,
                "prior_reliability": 0.0467,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.9738,
                  "after": 2.0136
                },
                {
                  "stat": "wasFouled",
                  "before": 2.251,
                  "after": 2.2225
                },
                {
                  "stat": "totalShots",
                  "before": 1.1221,
                  "after": 1.1079
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8958,
                  "after": 0.8845
                },
                {
                  "stat": "fouls",
                  "before": 0.7034,
                  "after": 0.6945
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5316,
                  "after": 0.5249
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4204,
                  "after": 0.4151
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.099,
                "goals": 0.1079,
                "goal_rate": 0.1079,
                "shots_on_target": 0.4151,
                "total_shots": 1.1168,
                "expected_assists": 0.1326,
                "key_pass": 1.455,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 17.0706,
                "accurate_pass": 13.9311,
                "duels_won": 6.5098,
                "total_long_balls": 0.3575,
                "accurate_long_balls": 0.2547,
                "total_opp_half_passes": 13.1718,
                "accurate_opp_half_passes": 10.426,
                "crosses_total": 2.0136,
                "crosses_accurate": 0.9581,
                "touches": 32.2942,
                "possession_lost": 8.0332,
                "dispossessed": 0.6987,
                "duels_lost": 3.472,
                "aerial_lost": 0.3643,
                "total_contest": 4.4593,
                "won_contest": 3.2602,
                "ball_recovery": 1.5461,
                "challenges_lost": 0.5066,
                "fouls": 0.6945,
                "fouls_drawn": 2.2225,
                "assists": 0.1944,
                "assist_rate": 0.1944,
                "interceptions": 0.5249,
                "tackles_won": 0.8845,
                "tackles": 0.8958,
                "clearances": 0.1969,
                "blocks": 0.0,
                "big_chances_created": 0.1969,
                "big_chances_missed": 0.2317,
                "xgot": 0.0045,
                "offsides": 0.2288,
                "ball_carries": 14.396,
                "total_progression": 95.2983,
                "progressive_carries": 3.5939,
                "shots_off_target": 0.7017
              },
              "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.0988,
                "goals": 0.1077,
                "goal_rate": 0.1077,
                "shots_on_target": 0.4142,
                "total_shots": 1.1145,
                "expected_assists": 0.1326,
                "key_pass": 1.455,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 17.0706,
                "accurate_pass": 13.9311,
                "duels_won": 6.5098,
                "total_long_balls": 0.3575,
                "accurate_long_balls": 0.2547,
                "total_opp_half_passes": 13.1718,
                "accurate_opp_half_passes": 10.426,
                "crosses_total": 2.0136,
                "crosses_accurate": 0.9581,
                "touches": 32.2942,
                "possession_lost": 8.0332,
                "dispossessed": 0.6987,
                "duels_lost": 3.472,
                "aerial_lost": 0.3643,
                "total_contest": 4.4593,
                "won_contest": 3.2602,
                "ball_recovery": 1.5461,
                "challenges_lost": 0.5066,
                "fouls": 0.6945,
                "fouls_drawn": 2.2225,
                "assists": 0.1944,
                "assist_rate": 0.1944,
                "interceptions": 0.5249,
                "tackles_won": 0.8845,
                "tackles": 0.8958,
                "clearances": 0.1969,
                "blocks": 0.0,
                "big_chances_created": 0.1969,
                "big_chances_missed": 0.2312,
                "xgot": 0.0045,
                "offsides": 0.2288,
                "ball_carries": 14.396,
                "total_progression": 95.2983,
                "progressive_carries": 3.5939,
                "shots_off_target": 0.7002,
                "duel_xg_multiplier": 0.9979,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.239,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pedri, Rodri",
                "opponent_faced": "Pedri, Rodri",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pedri, Rodri",
                  "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                  "duel_win_rate": 0.239,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9979,
                  "skill_edge": 0.0086,
                  "height_edge": -0.01,
                  "attacker_skill": 0.899,
                  "defender_skill": 0.8799,
                  "attacker_role": "CAM",
                  "attacker_mv_price_index": 0.95,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pedri",
                      "market_value": 164000000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.8999
                    },
                    {
                      "player": "Rodri",
                      "market_value": 54000000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.8599
                    }
                  ],
                  "xg_override": 0.0988
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0988,
                "goal_rate": 0.1077,
                "goals": 0,
                "shots_on_target": 0.4142,
                "total_shots": 1.1145,
                "expected_assists": 0.1326,
                "key_pass": 1.455,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 17.0706,
                "accurate_pass": 13.9311,
                "duels_won": 6.5098,
                "total_long_balls": 0.3575,
                "accurate_long_balls": 0.2547,
                "total_opp_half_passes": 13.1718,
                "accurate_opp_half_passes": 10.426,
                "crosses_total": 2.0136,
                "crosses_accurate": 0.9581,
                "touches": 32.2942,
                "possession_lost": 8.0332,
                "dispossessed": 0.6987,
                "duels_lost": 3.472,
                "aerial_lost": 0.3643,
                "total_contest": 4.4593,
                "won_contest": 3.2602,
                "ball_recovery": 1.5461,
                "challenges_lost": 0.5066,
                "fouls": 0.6945,
                "fouls_drawn": 2.2225,
                "assist_rate": 0.1944,
                "assists": 0,
                "interceptions": 0.5249,
                "tackles_won": 0.8845,
                "tackles": 0.8958,
                "clearances": 0.1969,
                "blocks": 0.0,
                "big_chances_created": 0.1969,
                "big_chances_missed": 0.2312,
                "xgot": 0.0045,
                "offsides": 0.2288,
                "ball_carries": 14.396,
                "total_progression": 95.2983,
                "progressive_carries": 3.5939,
                "shots_off_target": 0.7002,
                "duel_xg_multiplier": 0.9979,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.239,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pedri, Rodri",
                "opponent_faced": "Pedri, Rodri",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0951,
                "goal_rate": 0.1077,
                "goals": 0,
                "shots_on_target": 0.4142,
                "total_shots": 1.1145,
                "expected_assists": 0.1536,
                "key_pass": 1.455,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 17.0706,
                "accurate_pass": 13.9311,
                "duels_won": 6.5098,
                "total_long_balls": 0.3575,
                "accurate_long_balls": 0.2547,
                "total_opp_half_passes": 13.1718,
                "accurate_opp_half_passes": 10.426,
                "crosses_total": 2.0136,
                "crosses_accurate": 0.9581,
                "touches": 32.2942,
                "possession_lost": 8.0332,
                "dispossessed": 0.6987,
                "duels_lost": 3.472,
                "aerial_lost": 0.3643,
                "total_contest": 4.4593,
                "won_contest": 3.2602,
                "ball_recovery": 1.5461,
                "challenges_lost": 0.5066,
                "fouls": 0.6945,
                "fouls_drawn": 2.2225,
                "assist_rate": 0.1944,
                "assists": 0,
                "interceptions": 0.5249,
                "tackles_won": 0.8845,
                "tackles": 0.8958,
                "clearances": 0.1969,
                "blocks": 0.0,
                "big_chances_created": 0.1969,
                "big_chances_missed": 0.2312,
                "xgot": 0.0043,
                "offsides": 0.2288,
                "ball_carries": 14.396,
                "total_progression": 95.2983,
                "progressive_carries": 3.5939,
                "shots_off_target": 0.7002,
                "duel_xg_multiplier": 0.9979,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.239,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pedri, Rodri",
                "opponent_faced": "Pedri, Rodri",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0598,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1326,
                  "after": 0.1536
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 84.0)",
              "stats": {
                "expected_goals": 0.0951,
                "goal_rate": 0.1077,
                "goals": 0,
                "shots_on_target": 0.4142,
                "total_shots": 1.1145,
                "expected_assists": 0.1536,
                "key_pass": 1.455,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 17.0706,
                "accurate_pass": 13.9311,
                "duels_won": 6.5098,
                "total_long_balls": 0.3575,
                "accurate_long_balls": 0.2547,
                "total_opp_half_passes": 13.1718,
                "accurate_opp_half_passes": 10.426,
                "crosses_total": 2.0136,
                "crosses_accurate": 0.9581,
                "touches": 32.2942,
                "possession_lost": 8.0332,
                "dispossessed": 0.6987,
                "duels_lost": 3.472,
                "aerial_lost": 0.3643,
                "total_contest": 4.4593,
                "won_contest": 3.2602,
                "ball_recovery": 1.5461,
                "challenges_lost": 0.5066,
                "fouls": 0.6945,
                "fouls_drawn": 2.2225,
                "assist_rate": 0.1944,
                "assists": 0,
                "interceptions": 0.5249,
                "tackles_won": 0.8845,
                "tackles": 0.8958,
                "clearances": 0.1969,
                "blocks": 0.0,
                "big_chances_created": 0.1969,
                "big_chances_missed": 0.2312,
                "xgot": 0.0043,
                "offsides": 0.2288,
                "ball_carries": 14.396,
                "total_progression": 95.2983,
                "progressive_carries": 3.5939,
                "shots_off_target": 0.7002,
                "duel_xg_multiplier": 0.9979,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.239,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pedri, Rodri",
                "opponent_faced": "Pedri, Rodri",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0598,
                "creation_factor": 1.25,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1021,
                "fifa_rank": 210.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.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.0951,
                "goal_rate": 0.1077,
                "goals": 0,
                "shots_on_target": 0.4142,
                "total_shots": 1.1145,
                "expected_assists": 0.1536,
                "key_pass": 1.455,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 17.0706,
                "accurate_pass": 13.9311,
                "duels_won": 6.5098,
                "total_long_balls": 0.3575,
                "accurate_long_balls": 0.2547,
                "total_opp_half_passes": 13.1718,
                "accurate_opp_half_passes": 10.426,
                "crosses_total": 2.0136,
                "crosses_accurate": 0.9581,
                "touches": 32.2942,
                "possession_lost": 8.0332,
                "dispossessed": 0.6987,
                "duels_lost": 3.472,
                "aerial_lost": 0.3643,
                "total_contest": 4.4593,
                "won_contest": 3.2602,
                "ball_recovery": 1.5461,
                "challenges_lost": 0.5066,
                "fouls": 0.6945,
                "fouls_drawn": 2.2225,
                "assist_rate": 0.1944,
                "assists": 0,
                "interceptions": 0.5249,
                "tackles_won": 0.8845,
                "tackles": 0.8958,
                "clearances": 0.1969,
                "blocks": 0.0,
                "big_chances_created": 0.1969,
                "big_chances_missed": 0.2312,
                "xgot": 0.0043,
                "offsides": 0.2288,
                "ball_carries": 14.396,
                "total_progression": 95.2983,
                "progressive_carries": 3.5939,
                "shots_off_target": 0.7002,
                "duel_xg_multiplier": 0.9979,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.239,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pedri, Rodri",
                "opponent_faced": "Pedri, Rodri",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0907,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0598,
                "creation_factor": 1.25,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0907,
                "goal_rate": 0.1077,
                "scorer_weight": 0.1008,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0641,
                "finishing_factor": 1.0598,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.0951,
                "goal_rate": 0.1077,
                "goals": 0,
                "shots_on_target": 0.4142,
                "total_shots": 1.1145,
                "expected_assists": 0.1536,
                "key_pass": 1.455,
                "rating": 6.9001,
                "minutes": 80.59,
                "total_pass": 17.0706,
                "accurate_pass": 13.9311,
                "duels_won": 6.5098,
                "total_long_balls": 0.3575,
                "accurate_long_balls": 0.2547,
                "total_opp_half_passes": 13.1718,
                "accurate_opp_half_passes": 10.426,
                "crosses_total": 2.0136,
                "crosses_accurate": 0.9581,
                "touches": 32.2942,
                "possession_lost": 8.0332,
                "dispossessed": 0.6987,
                "duels_lost": 3.472,
                "aerial_lost": 0.3643,
                "total_contest": 4.4593,
                "won_contest": 3.2602,
                "ball_recovery": 1.5461,
                "challenges_lost": 0.5066,
                "fouls": 0.6945,
                "fouls_drawn": 2.2225,
                "assist_rate": 0.1944,
                "assists": 1,
                "interceptions": 0.5249,
                "tackles_won": 0.8845,
                "tackles": 0.8958,
                "clearances": 0.1969,
                "blocks": 0.0,
                "big_chances_created": 0.1969,
                "big_chances_missed": 0.2312,
                "xgot": 0.0043,
                "offsides": 0.2288,
                "ball_carries": 14.396,
                "total_progression": 95.2983,
                "progressive_carries": 3.5939,
                "shots_off_target": 0.7002,
                "duel_xg_multiplier": 0.9979,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.239,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pedri, Rodri",
                "opponent_faced": "Pedri, Rodri",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0907,
                "projected_assists": 1,
                "assist_probability": 0.1424,
                "finishing_factor": 1.0598,
                "creation_factor": 1.25,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1424,
                "assist_rate": 0.1944,
                "provider_weight": 0.192,
                "squad_weight_total": 1.0718,
                "weight_share": 0.1791,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Kylian Mbappé": {
          "player_id": 826643,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 180,
          "market_value": 212000000,
          "stats": {
            "expected_goals": 0.6765,
            "goal_rate": 0.7537,
            "goals": 1,
            "shots_on_target": 2,
            "total_shots": 5,
            "expected_assists": 0.199,
            "key_pass": 2,
            "rating": 7.8886,
            "minutes": 89,
            "total_pass": 34,
            "accurate_pass": 29,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 23,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 13.5486,
            "dispossessed": 1.5425,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 6,
            "won_contest": 3,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.2471,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.8451,
            "offsides": 1,
            "ball_carries": 21,
            "total_progression": 126,
            "progressive_carries": 5,
            "shots_off_target": 3,
            "duel_xg_multiplier": 0.9987,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.199,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Pau Cubarsí, Gerard Martín",
            "opponent_faced": "Pau Cubarsí, Gerard Martín",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4916,
            "projected_assists": 0,
            "assist_probability": 0.1805,
            "finishing_factor": 1.067,
            "creation_factor": 1.25,
            "fifa_overall": 91.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 84,
                "rating": 8.3,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.7889,
                "expected_assists": 0.0429,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 25,
                "key_pass": 2,
                "duels_won": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.974,
                "expected_assists": 0.0386,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "duels_won": 6
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.0138,
                "total_shots": 1,
                "total_pass": 25,
                "accurate_pass": 21,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.7396,
                "expected_assists": 0.9228,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 33,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 9.5,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 1.1245,
                "expected_assists": 0.316,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 2,
                "total_pass": 31,
                "accurate_pass": 29,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 1,
                "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"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.779,
                "expected_assists": 0.3907,
                "total_shots": 7,
                "shots_on_target": 4,
                "shots_off_target": 2,
                "total_pass": 35,
                "accurate_pass": 29,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 9.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0136,
                "expected_assists": 0.2003,
                "total_shots": 6,
                "shots_on_target": 4,
                "total_pass": 33,
                "accurate_pass": 30,
                "duels_won": 8
              },
              "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 10.0,
                "goal_rate": 3.0,
                "goals": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.6713,
                "expected_assists": 0.1673,
                "total_shots": 8,
                "shots_on_target": 7,
                "total_pass": 39,
                "accurate_pass": 36,
                "key_pass": 3,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.5287,
                "expected_assists": 0.0369,
                "total_shots": 10,
                "shots_on_target": 3,
                "shots_off_target": 4,
                "total_pass": 39,
                "accurate_pass": 32,
                "key_pass": 1,
                "duels_won": 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": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2598,
                "expected_assists": 0.0681,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 3,
                "total_pass": 39,
                "accurate_pass": 31,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2,
            "combined_rank_score": 5.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 10.0,
            "sofascore_rating": 8.5,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1.0,
            "fifa_overall": 91.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.8886,
            "source_file": "data/player_rankings.csv",
            "player_name": "Kylian Mbappé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lamine Yamal",
                  "ranking": 1
                }
              ],
              "lower": [
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                },
                {
                  "player_name": "Mariano Díaz",
                  "ranking": 4
                },
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                },
                {
                  "player_name": "Pedri",
                  "ranking": 6
                },
                {
                  "player_name": "Ryu Won-Woo",
                  "ranking": 7
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 38,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 38,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0138,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 1.3333333333333333,
              "assists_per90": 0.0,
              "shots_per90": 8.0,
              "shots_on_target_pct": 58.3,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (F_service) evaluated 38 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.20, gls/90: 1.3333333333333333, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.6945,
                "goals": 0.7358,
                "goal_rate": 0.7358,
                "shots_on_target": 2.1778,
                "total_shots": 4.7775,
                "expected_assists": 0.1695,
                "key_pass": 1.5864,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.1868,
                "accurate_pass": 28.4675,
                "duels_won": 4.8228,
                "total_long_balls": 1.7855,
                "accurate_long_balls": 1.2456,
                "total_opp_half_passes": 27.0804,
                "accurate_opp_half_passes": 22.6843,
                "crosses_total": 1.2277,
                "crosses_accurate": 0.0313,
                "touches": 53.7505,
                "possession_lost": 13.3642,
                "dispossessed": 1.5215,
                "duels_lost": 4.9795,
                "aerial_lost": 0.0747,
                "total_contest": 5.5011,
                "won_contest": 3.0082,
                "ball_recovery": 1.6245,
                "challenges_lost": 0.1855,
                "fouls": 0.981,
                "fouls_drawn": 1.2369,
                "assists": 0.2475,
                "assist_rate": 0.2475,
                "interceptions": 0.0745,
                "tackles_won": 0.2434,
                "tackles": 0.3938,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3449,
                "big_chances_missed": 1.0181,
                "xgot": 0.8673,
                "offsides": 1.4072,
                "ball_carries": 20.9283,
                "total_progression": 124.1714,
                "progressive_carries": 5.3488,
                "shots_off_target": 2.5996
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 9.5
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 9.1
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.8255,
                  "totalOppositionHalfPasses": 26.0733,
                  "accurateOppositionHalfPasses": 21.8826,
                  "accuratePass": 27.6196,
                  "totalShots": 4.8788
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.694471001625061,
                    "model_output": 0.6945,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0862
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1072
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0534
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0467
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0354
                        }
                      ],
                      "others": 0.1666,
                      "total": 0.6945,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.359921
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.319216
                        },
                        {
                          "name": "goals",
                          "margin": 0.127621
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.099612
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.069345
                        }
                      ],
                      "others_margin": 0.274359
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.735812783241272,
                    "model_output": 0.7358,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0939
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1036
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0664
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0554
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.057
                        }
                      ],
                      "others": 0.1558,
                      "total": 0.7358,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.378989
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.298683
                        },
                        {
                          "name": "goals",
                          "margin": 0.153134
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.112012
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.10336
                        }
                      ],
                      "others_margin": 0.237905
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 2.1778271198272705,
                    "model_output": 2.1778,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2715
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1486
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1541
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1293
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0928
                        }
                      ],
                      "others": 0.8445,
                      "total": 2.1778,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.409221
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.168731
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.149276
                        },
                        {
                          "name": "goals",
                          "margin": 0.110069
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.072113
                        }
                      ],
                      "others_margin": 0.490714
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 4.777474880218506,
                    "model_output": 4.7775,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.8643
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.6922
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.4078
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.1884
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1869
                        }
                      ],
                      "others": 1.0592,
                      "total": 4.7775,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.864325
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.69224
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.407842
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.188398
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.186877
                        }
                      ],
                      "others_margin": 1.059086
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.16950386762619019,
                    "model_output": 0.1695,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0146
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0155
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0122
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0095
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0088
                        }
                      ],
                      "others": 0.0622,
                      "total": 0.1695,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.204717
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.179743
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.121195
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.085715
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.079238
                        }
                      ],
                      "others_margin": 0.457444
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.5863898992538452,
                    "model_output": 1.5864,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2401
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1708
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0949
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0754
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0779
                        }
                      ],
                      "others": 0.2533,
                      "total": 1.5864,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.30468
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.171352
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.083856
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.061939
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.060207
                        }
                      ],
                      "others_margin": 0.173986
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.888596534729004,
                    "model_output": 7.8886,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1957
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.1499
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1135
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0915
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0889
                        }
                      ],
                      "others": 0.4869,
                      "total": 7.8886,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.19575
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.149882
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.11351
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.091538
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.088868
                        }
                      ],
                      "others_margin": 0.486888
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 36,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0138, quality 0.900)",
              "stats": {
                "expected_goals": 0.7041,
                "goals": 0.746,
                "goal_rate": 0.746,
                "shots_on_target": 2.2079,
                "total_shots": 4.8434,
                "expected_assists": 0.1718,
                "key_pass": 1.6083,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.6448,
                "accurate_pass": 28.8604,
                "duels_won": 4.8894,
                "total_long_balls": 1.8101,
                "accurate_long_balls": 1.2628,
                "total_opp_half_passes": 27.4541,
                "accurate_opp_half_passes": 22.9973,
                "crosses_total": 1.2446,
                "crosses_accurate": 0.0317,
                "touches": 54.4923,
                "possession_lost": 13.5486,
                "dispossessed": 1.5425,
                "duels_lost": 5.0482,
                "aerial_lost": 0.0757,
                "total_contest": 5.577,
                "won_contest": 3.0497,
                "ball_recovery": 1.6469,
                "challenges_lost": 0.1881,
                "fouls": 0.9945,
                "fouls_drawn": 1.254,
                "assists": 0.2509,
                "assist_rate": 0.2509,
                "interceptions": 0.0755,
                "tackles_won": 0.2468,
                "tackles": 0.3992,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3497,
                "big_chances_missed": 1.0321,
                "xgot": 0.8793,
                "offsides": 1.4266,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.6355
              },
              "params": {
                "market_value_eur": 212000000,
                "quality_factor": 0.9,
                "boost_factor": 1.0138,
                "reference_quality": 0.505,
                "history_matches": 38,
                "history_shrink": 0.1163,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0151)",
              "stats": {
                "expected_goals": 0.7041,
                "goals": 0.7547,
                "goal_rate": 0.7547,
                "shots_on_target": 2.2444,
                "total_shots": 4.8899,
                "expected_assists": 0.1718,
                "key_pass": 1.6083,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.6448,
                "accurate_pass": 28.8604,
                "duels_won": 4.8894,
                "total_long_balls": 1.8101,
                "accurate_long_balls": 1.2628,
                "total_opp_half_passes": 27.4541,
                "accurate_opp_half_passes": 22.9973,
                "crosses_total": 1.2358,
                "crosses_accurate": 0.0317,
                "touches": 54.4923,
                "possession_lost": 13.5486,
                "dispossessed": 1.5425,
                "duels_lost": 5.0482,
                "aerial_lost": 0.0757,
                "total_contest": 5.577,
                "won_contest": 3.0497,
                "ball_recovery": 1.6469,
                "challenges_lost": 0.1881,
                "fouls": 0.9944,
                "fouls_drawn": 1.25,
                "assists": 0.2471,
                "assist_rate": 0.2471,
                "interceptions": 0.0793,
                "tackles_won": 0.2431,
                "tackles": 0.3992,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3497,
                "big_chances_missed": 1.0321,
                "xgot": 0.8793,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.6355
              },
              "params": {
                "blend_weight": 0.0151,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9897,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 4.8434,
                  "after": 4.8899
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 2.2079,
                  "after": 2.2444
                },
                {
                  "stat": "totalOffside",
                  "before": 1.4266,
                  "after": 1.41
                },
                {
                  "stat": "totalCross",
                  "before": 1.2446,
                  "after": 1.2358
                },
                {
                  "stat": "goals",
                  "before": 0.746,
                  "after": 0.7547
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.7041,
                "goals": 0.7547,
                "goal_rate": 0.7547,
                "shots_on_target": 2.2444,
                "total_shots": 4.8899,
                "expected_assists": 0.1718,
                "key_pass": 1.6083,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.6448,
                "accurate_pass": 28.8604,
                "duels_won": 4.8894,
                "total_long_balls": 1.8101,
                "accurate_long_balls": 1.2628,
                "total_opp_half_passes": 27.4541,
                "accurate_opp_half_passes": 22.9973,
                "crosses_total": 1.2358,
                "crosses_accurate": 0.0317,
                "touches": 54.4923,
                "possession_lost": 13.5486,
                "dispossessed": 1.5425,
                "duels_lost": 5.0482,
                "aerial_lost": 0.0757,
                "total_contest": 5.577,
                "won_contest": 3.0497,
                "ball_recovery": 1.6469,
                "challenges_lost": 0.1881,
                "fouls": 0.9944,
                "fouls_drawn": 1.25,
                "assists": 0.2471,
                "assist_rate": 0.2471,
                "interceptions": 0.0793,
                "tackles_won": 0.2431,
                "tackles": 0.3992,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3497,
                "big_chances_missed": 1.0321,
                "xgot": 0.8793,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.6355
              },
              "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.7032,
                "goals": 0.7537,
                "goal_rate": 0.7537,
                "shots_on_target": 2.2415,
                "total_shots": 4.8835,
                "expected_assists": 0.1718,
                "key_pass": 1.6083,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.6448,
                "accurate_pass": 28.8604,
                "duels_won": 4.8894,
                "total_long_balls": 1.8101,
                "accurate_long_balls": 1.2628,
                "total_opp_half_passes": 27.4541,
                "accurate_opp_half_passes": 22.9973,
                "crosses_total": 1.2358,
                "crosses_accurate": 0.0317,
                "touches": 54.4923,
                "possession_lost": 13.5486,
                "dispossessed": 1.5425,
                "duels_lost": 5.0482,
                "aerial_lost": 0.0757,
                "total_contest": 5.577,
                "won_contest": 3.0497,
                "ball_recovery": 1.6469,
                "challenges_lost": 0.1881,
                "fouls": 0.9944,
                "fouls_drawn": 1.25,
                "assists": 0.2471,
                "assist_rate": 0.2471,
                "interceptions": 0.0793,
                "tackles_won": 0.2431,
                "tackles": 0.3992,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3497,
                "big_chances_missed": 1.0308,
                "xgot": 0.8782,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.6321,
                "duel_xg_multiplier": 0.9987,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Gerard Martín",
                "opponent_faced": "Pau Cubarsí, Gerard Martín",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pau Cubarsí, Gerard Martín",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.199,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9987,
                  "skill_edge": 0.0191,
                  "height_edge": -0.02,
                  "attacker_skill": 0.9,
                  "defender_skill": 0.8575,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pau Cubarsí",
                      "market_value": 94000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8981
                    },
                    {
                      "player": "Gerard Martín",
                      "market_value": 36000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8168
                    }
                  ],
                  "xg_override": 0.7032
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 4.8899,
                  "after": 4.8835
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.7032,
                "goal_rate": 0.7537,
                "goals": 0,
                "shots_on_target": 2.2415,
                "total_shots": 4.8835,
                "expected_assists": 0.1718,
                "key_pass": 1.6083,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.6448,
                "accurate_pass": 28.8604,
                "duels_won": 4.8894,
                "total_long_balls": 1.8101,
                "accurate_long_balls": 1.2628,
                "total_opp_half_passes": 27.4541,
                "accurate_opp_half_passes": 22.9973,
                "crosses_total": 1.2358,
                "crosses_accurate": 0.0317,
                "touches": 54.4923,
                "possession_lost": 13.5486,
                "dispossessed": 1.5425,
                "duels_lost": 5.0482,
                "aerial_lost": 0.0757,
                "total_contest": 5.577,
                "won_contest": 3.0497,
                "ball_recovery": 1.6469,
                "challenges_lost": 0.1881,
                "fouls": 0.9944,
                "fouls_drawn": 1.25,
                "assist_rate": 0.2471,
                "assists": 0,
                "interceptions": 0.0793,
                "tackles_won": 0.2431,
                "tackles": 0.3992,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3497,
                "big_chances_missed": 1.0308,
                "xgot": 0.8782,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.6321,
                "duel_xg_multiplier": 0.9987,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Gerard Martín",
                "opponent_faced": "Pau Cubarsí, Gerard Martín",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.6765,
                "goal_rate": 0.7537,
                "goals": 0,
                "shots_on_target": 2.2415,
                "total_shots": 4.8835,
                "expected_assists": 0.199,
                "key_pass": 1.6083,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.6448,
                "accurate_pass": 28.8604,
                "duels_won": 4.8894,
                "total_long_balls": 1.8101,
                "accurate_long_balls": 1.2628,
                "total_opp_half_passes": 27.4541,
                "accurate_opp_half_passes": 22.9973,
                "crosses_total": 1.2358,
                "crosses_accurate": 0.0317,
                "touches": 54.4923,
                "possession_lost": 13.5486,
                "dispossessed": 1.5425,
                "duels_lost": 5.0482,
                "aerial_lost": 0.0757,
                "total_contest": 5.577,
                "won_contest": 3.0497,
                "ball_recovery": 1.6469,
                "challenges_lost": 0.1881,
                "fouls": 0.9944,
                "fouls_drawn": 1.25,
                "assist_rate": 0.2471,
                "assists": 0,
                "interceptions": 0.0793,
                "tackles_won": 0.2431,
                "tackles": 0.3992,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3497,
                "big_chances_missed": 1.0308,
                "xgot": 0.8451,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.6321,
                "duel_xg_multiplier": 0.9987,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Gerard Martín",
                "opponent_faced": "Pau Cubarsí, Gerard Martín",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.067,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.7032,
                  "after": 0.6765
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1718,
                  "after": 0.199
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 91.0)",
              "stats": {
                "expected_goals": 0.6765,
                "goal_rate": 0.7537,
                "goals": 0,
                "shots_on_target": 2.2415,
                "total_shots": 4.8835,
                "expected_assists": 0.199,
                "key_pass": 1.6083,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.6448,
                "accurate_pass": 28.8604,
                "duels_won": 4.8894,
                "total_long_balls": 1.8101,
                "accurate_long_balls": 1.2628,
                "total_opp_half_passes": 27.4541,
                "accurate_opp_half_passes": 22.9973,
                "crosses_total": 1.2358,
                "crosses_accurate": 0.0317,
                "touches": 54.4923,
                "possession_lost": 13.5486,
                "dispossessed": 1.5425,
                "duels_lost": 5.0482,
                "aerial_lost": 0.0757,
                "total_contest": 5.577,
                "won_contest": 3.0497,
                "ball_recovery": 1.6469,
                "challenges_lost": 0.1881,
                "fouls": 0.9944,
                "fouls_drawn": 1.25,
                "assist_rate": 0.2471,
                "assists": 0,
                "interceptions": 0.0793,
                "tackles_won": 0.2431,
                "tackles": 0.3992,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3497,
                "big_chances_missed": 1.0308,
                "xgot": 0.8451,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.6321,
                "duel_xg_multiplier": 0.9987,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Gerard Martín",
                "opponent_faced": "Pau Cubarsí, Gerard Martín",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.067,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2,
                "fifa_rank": 1.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.6765,
                "goal_rate": 0.7537,
                "goals": 1,
                "shots_on_target": 2.2415,
                "total_shots": 4.8835,
                "expected_assists": 0.199,
                "key_pass": 1.6083,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.6448,
                "accurate_pass": 28.8604,
                "duels_won": 4.8894,
                "total_long_balls": 1.8101,
                "accurate_long_balls": 1.2628,
                "total_opp_half_passes": 27.4541,
                "accurate_opp_half_passes": 22.9973,
                "crosses_total": 1.2358,
                "crosses_accurate": 0.0317,
                "touches": 54.4923,
                "possession_lost": 13.5486,
                "dispossessed": 1.5425,
                "duels_lost": 5.0482,
                "aerial_lost": 0.0757,
                "total_contest": 5.577,
                "won_contest": 3.0497,
                "ball_recovery": 1.6469,
                "challenges_lost": 0.1881,
                "fouls": 0.9944,
                "fouls_drawn": 1.25,
                "assist_rate": 0.2471,
                "assists": 0,
                "interceptions": 0.0793,
                "tackles_won": 0.2431,
                "tackles": 0.3992,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3497,
                "big_chances_missed": 1.0308,
                "xgot": 0.8451,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.6321,
                "duel_xg_multiplier": 0.9987,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Gerard Martín",
                "opponent_faced": "Pau Cubarsí, Gerard Martín",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4916,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.067,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.4916,
                "goal_rate": 0.7537,
                "scorer_weight": 0.7218,
                "squad_weight_total": 1.5727,
                "weight_share": 0.459,
                "finishing_factor": 1.067,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.6765,
                "goal_rate": 0.7537,
                "goals": 1,
                "shots_on_target": 2.2415,
                "total_shots": 4.8835,
                "expected_assists": 0.199,
                "key_pass": 1.6083,
                "rating": 7.8886,
                "minutes": 89.07,
                "total_pass": 33.6448,
                "accurate_pass": 28.8604,
                "duels_won": 4.8894,
                "total_long_balls": 1.8101,
                "accurate_long_balls": 1.2628,
                "total_opp_half_passes": 27.4541,
                "accurate_opp_half_passes": 22.9973,
                "crosses_total": 1.2358,
                "crosses_accurate": 0.0317,
                "touches": 54.4923,
                "possession_lost": 13.5486,
                "dispossessed": 1.5425,
                "duels_lost": 5.0482,
                "aerial_lost": 0.0757,
                "total_contest": 5.577,
                "won_contest": 3.0497,
                "ball_recovery": 1.6469,
                "challenges_lost": 0.1881,
                "fouls": 0.9944,
                "fouls_drawn": 1.25,
                "assist_rate": 0.2471,
                "assists": 0,
                "interceptions": 0.0793,
                "tackles_won": 0.2431,
                "tackles": 0.3992,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3497,
                "big_chances_missed": 1.0308,
                "xgot": 0.8451,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.6321,
                "duel_xg_multiplier": 0.9987,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.199,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Gerard Martín",
                "opponent_faced": "Pau Cubarsí, Gerard Martín",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4916,
                "projected_assists": 0,
                "assist_probability": 0.1805,
                "finishing_factor": 1.067,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1805,
                "assist_rate": 0.2471,
                "provider_weight": 0.2488,
                "squad_weight_total": 1.0718,
                "weight_share": 0.2321,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Andriy Lunin": {
          "player_id": 857574,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 191,
          "market_value": 11300000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0053,
            "rating": 7.11,
            "minutes": 5,
            "total_pass": 6,
            "accurate_pass": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "touches": 8,
            "clearances": 0,
            "ball_recovery": 1,
            "high_claims": 0,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.7329,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "bench_appearance_probability": 0.127,
            "bench_expected_minutes": 4.79,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "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": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 36,
                "clearances": 1,
                "ball_recovery": 9,
                "saves": 3,
                "goals_prevented": 0.4819
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083211,
              "match_date": "2026-04-24",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 27,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": 0.7449
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 32,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6,
                "saves": 4,
                "goals_prevented": 0.3237
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083191,
              "match_date": "2026-04-10",
              "home_team": "Real Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 31,
                "clearances": 1,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": -0.1227
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081816,
              "match_date": "2026-04-04",
              "home_team": "Mallorca",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 30,
                "ball_recovery": 7,
                "goals_prevented": -0.8809
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081807,
              "match_date": "2026-03-22",
              "home_team": "Real Madrid",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 27,
                "ball_recovery": 12,
                "saves": 5,
                "goals_prevented": -0.4256
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1161,
            "combined_rank_score": 513.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 267.0,
            "sofascore_rating": 7.0833,
            "sofascore_appearances": 6.0,
            "fifa_rank": 760.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.11,
            "source_file": "data/player_rankings.csv",
            "player_name": "Andriy Lunin",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Emil Krafth",
                  "ranking": 1156
                },
                {
                  "player_name": "Sidny Lopes Cabral",
                  "ranking": 1157
                },
                {
                  "player_name": "Andreas Christensen",
                  "ranking": 1158
                },
                {
                  "player_name": "Nathan Collins",
                  "ranking": 1159
                },
                {
                  "player_name": "Chris Richards",
                  "ranking": 1160
                }
              ],
              "lower": [
                {
                  "player_name": "Lee Joon-Ho",
                  "ranking": 1162
                },
                {
                  "player_name": "Seung-beom Ko",
                  "ranking": 1163
                },
                {
                  "player_name": "Seung-hyeon Cha",
                  "ranking": 1164
                },
                {
                  "player_name": "Mats Wieffer",
                  "ranking": 1165
                },
                {
                  "player_name": "Noah Sadiki",
                  "ranking": 1166
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "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",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.788930264382824,
            "bench_appearance_prob": 0.12676955747194651,
            "market_value_adjustment": 1.0044,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost G_service (6 historical appearances) to 4.8 expected mins (appearance prob 0.13); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.5542,
                "goals_prevented": 0.0312,
                "rating": 7.11,
                "minutes": 28.5,
                "total_pass": 35.2421,
                "accurate_pass": 31.0062,
                "total_long_balls": 10.1376,
                "accurate_long_balls": 6.0086,
                "touches": 44.6589,
                "clearances": 0.5627,
                "ball_recovery": 7.4893,
                "high_claims": 1.433,
                "punches": 0.0,
                "aerial_won": 0.174,
                "sweeper_actions": 0.7401,
                "sweeper_accurate": 0.7401,
                "saves_inside_box": 1.6768,
                "possession_lost": 4.3428,
                "duels_won": 0.3787,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 30.2998,
                "accurate_own_half_passes": 29.0851
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-25T10:04:36.867499+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-04-24",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-04-10",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "sweeper_actions_p90": 0.4956,
                  "distribution_accuracy": 0.9612,
                  "sweeper_accuracy": 0.4956,
                  "goalkeeperValueNormalized": 0.2698,
                  "save_contribution": 2.8653,
                  "accurateKeeperSweeper": 0.7401
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.5541865825653076,
                    "model_output": 2.5542,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0415
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0394
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0368
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0362
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0362
                      }
                    ],
                    "decomposition": {
                      "base": 2.9286,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1775
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0922
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0548
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.024
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.0064,
                      "total": 2.5542,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.062541
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.034072
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.020823
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.009274
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.007596
                        }
                      ],
                      "others_margin": -0.002498
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.031156299635767937,
                    "model_output": 0.0312,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "punches",
                        "importance": 0.041
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0398
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0385
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0374
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0356
                      }
                    ],
                    "decomposition": {
                      "base": -0.0166,
                      "items": [
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.018
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0179
                        },
                        {
                          "name": "saves",
                          "contribution": -0.0124
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0106
                        }
                      ],
                      "others": 0.0017,
                      "total": 0.0312,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "pass_accuracy",
                          "margin": 0.069036
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.017966
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.017895
                        },
                        {
                          "name": "saves",
                          "margin": -0.012446
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.01055
                        }
                      ],
                      "others_margin": 0.001658
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.110038757324219,
                    "model_output": 7.11,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0429
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0371
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.036
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0359
                      }
                    ],
                    "decomposition": {
                      "base": 7.0091,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0557
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0339
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": 0.0258
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0233
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0121
                        }
                      ],
                      "others": -0.0033,
                      "total": 7.11,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.055669
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.033851
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "margin": 0.025815
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.023283
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.012135
                        }
                      ],
                      "others_margin": -0.003271
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 6,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0044, quality 0.538)",
              "stats": {
                "saves": 2.5654,
                "goals_prevented": 0.0313,
                "rating": 7.11,
                "minutes": 28.5,
                "total_pass": 35.3972,
                "accurate_pass": 31.1426,
                "total_long_balls": 10.1822,
                "accurate_long_balls": 6.035,
                "touches": 44.8554,
                "clearances": 0.5652,
                "ball_recovery": 7.5223,
                "high_claims": 1.4393,
                "punches": 0.0,
                "aerial_won": 0.1748,
                "sweeper_actions": 0.7434,
                "sweeper_accurate": 0.7434,
                "saves_inside_box": 1.6842,
                "possession_lost": 4.3619,
                "duels_won": 0.3804,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 30.4331,
                "accurate_own_half_passes": 29.2131
              },
              "params": {
                "market_value_eur": 11300000,
                "quality_factor": 0.5376,
                "boost_factor": 1.0044,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.8 expected minutes (appearance prob 0.13)",
              "stats": {
                "saves": 0.4311,
                "goals_prevented": 0.0053,
                "rating": 7.11,
                "minutes": 4.79,
                "total_pass": 5.9479,
                "accurate_pass": 5.233,
                "total_long_balls": 1.7109,
                "accurate_long_balls": 1.0141,
                "touches": 7.5372,
                "clearances": 0.095,
                "ball_recovery": 1.264,
                "high_claims": 0.2418,
                "punches": 0.0,
                "aerial_won": 0.0294,
                "sweeper_actions": 0.1249,
                "sweeper_accurate": 0.1249,
                "saves_inside_box": 0.283,
                "possession_lost": 0.7329,
                "duels_won": 0.0639,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 5.1138,
                "accurate_own_half_passes": 4.9088,
                "bench_appearance_probability": 0.127,
                "bench_expected_minutes": 4.79
              },
              "params": {
                "expected_minutes": 4.79,
                "projection_minutes": 28.5,
                "minutes_scale": 0.168,
                "appearance_probability": 0.127
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4311,
                "goals_prevented": 0.0053,
                "rating": 7.11,
                "minutes": 4.79,
                "total_pass": 5.9479,
                "accurate_pass": 5.233,
                "total_long_balls": 1.7109,
                "accurate_long_balls": 1.0141,
                "touches": 7.5372,
                "clearances": 0.095,
                "ball_recovery": 1.264,
                "high_claims": 0.2418,
                "punches": 0.0,
                "aerial_won": 0.0294,
                "sweeper_actions": 0.1249,
                "sweeper_accurate": 0.1249,
                "saves_inside_box": 0.283,
                "possession_lost": 0.7329,
                "duels_won": 0.0639,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 5.1138,
                "accurate_own_half_passes": 4.9088,
                "bench_appearance_probability": 0.127,
                "bench_expected_minutes": 4.79
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.4311,
                "goals_prevented": 0.0053,
                "rating": 7.11,
                "minutes": 4.79,
                "total_pass": 5.9479,
                "accurate_pass": 5.233,
                "total_long_balls": 1.7109,
                "accurate_long_balls": 1.0141,
                "touches": 7.5372,
                "clearances": 0.095,
                "ball_recovery": 1.264,
                "high_claims": 0.2418,
                "punches": 0.0,
                "aerial_won": 0.0294,
                "sweeper_actions": 0.1249,
                "sweeper_accurate": 0.1249,
                "saves_inside_box": 0.283,
                "possession_lost": 0.7329,
                "duels_won": 0.0639,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 5.1138,
                "accurate_own_half_passes": 4.9088,
                "bench_appearance_probability": 0.127,
                "bench_expected_minutes": 4.79,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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
              },
              "params": {
                "appearance_probability": 0.127,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 80.0)",
              "stats": {
                "saves": 0.4311,
                "goals_prevented": 0.0053,
                "rating": 7.11,
                "minutes": 4.79,
                "total_pass": 5.9479,
                "accurate_pass": 5.233,
                "total_long_balls": 1.7109,
                "accurate_long_balls": 1.0141,
                "touches": 7.5372,
                "clearances": 0.095,
                "ball_recovery": 1.264,
                "high_claims": 0.2418,
                "punches": 0.0,
                "aerial_won": 0.0294,
                "sweeper_actions": 0.1249,
                "sweeper_accurate": 0.1249,
                "saves_inside_box": 0.283,
                "possession_lost": 0.7329,
                "duels_won": 0.0639,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 5.1138,
                "accurate_own_half_passes": 4.9088,
                "bench_appearance_probability": 0.127,
                "bench_expected_minutes": 4.79,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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": 80.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": 1161,
                "fifa_rank": 760.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            }
          ]
        },
        "Trent Alexander-Arnold": {
          "player_id": 795064,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 12,
          "height": 180,
          "market_value": 62000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.8889,
            "minutes": 13,
            "total_pass": 7,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.8203,
            "dispossessed": 0.1037,
            "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.0912,
            "assists": 0,
            "expected_goals": 0.0095,
            "expected_assists": 0.0203,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.008,
            "ball_carries": 4,
            "total_progression": 6,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.443,
            "bench_expected_minutes": 12.9,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "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_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 52,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.222,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "key_pass": 2,
                "clearances": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 87,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0436,
                "expected_assists": 0.3145,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 32,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 3,
                "clearances": 3,
                "duels_won": 3,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0856,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0899,
                "expected_assists": 0.3672,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 96,
                "accurate_pass": 88,
                "key_pass": 3,
                "interceptions": 4,
                "ball_recovery": 7
              },
              "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 10,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0271,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 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": 14083702,
              "match_date": "2026-05-17",
              "home_team": "Sevilla",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 13,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083649,
              "match_date": "2026-05-14",
              "home_team": "Real Madrid",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 64,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0652,
                "expected_assists": 0.153,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 31,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2111,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 31,
                "key_pass": 4,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1196,
                "total_shots": 0,
                "total_pass": 69,
                "accurate_pass": 62,
                "key_pass": 2,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083211,
              "match_date": "2026-04-24",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1025,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 43,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 220,
            "combined_rank_score": 166.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 108.0,
            "sofascore_rating": 7.45,
            "sofascore_appearances": 2.0,
            "fifa_rank": 224.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8889,
            "source_file": "data/player_rankings.csv",
            "player_name": "Trent Alexander-Arnold",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Konrad Laimer",
                  "ranking": 215
                },
                {
                  "player_name": "Jeremías Ledesma",
                  "ranking": 216
                },
                {
                  "player_name": "Rúben Neves",
                  "ranking": 217
                },
                {
                  "player_name": "Fagner",
                  "ranking": 218
                },
                {
                  "player_name": "Javohir Ilyosov",
                  "ranking": 219
                }
              ],
              "lower": [
                {
                  "player_name": "Pedro Porro",
                  "ranking": 221
                },
                {
                  "player_name": "Rodrigo Garro",
                  "ranking": 222
                },
                {
                  "player_name": "Ylyas Chouaref",
                  "ranking": 223
                },
                {
                  "player_name": "Rodrigo Riquelme",
                  "ranking": 224
                },
                {
                  "player_name": "Luis Chávez",
                  "ranking": 225
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.761,
          "history_matches": 25,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 25,
            "data_confidence": 0.761,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 12.9,
            "bench_appearance_prob": 0.443,
            "market_value_adjustment": 1.0176,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 11.0,
              "goals_per90": 0.0,
              "assists_per90": 0.9090909090909091,
              "prior_reliability": 0.0733
            },
            "rationale": "Bench projection scaled from XGBoost D_service (25 historical appearances) to 12.9 expected mins (appearance prob 0.44); FBref playing time empirical prior: 1.0 sub appearances, 11.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.386,
                "tackles": 0.6177,
                "tackles_won": 0.4123,
                "clearances": 0.8868,
                "aerial_won": 0.2363,
                "total_shots": 0.3095,
                "rating": 6.8889,
                "minutes": 17.32,
                "total_pass": 9.211,
                "accurate_pass": 7.2486,
                "duels_won": 0.9007,
                "total_long_balls": 2.6211,
                "accurate_long_balls": 1.1791,
                "total_own_half_passes": 3.7816,
                "accurate_own_half_passes": 3.3405,
                "total_opp_half_passes": 5.4294,
                "accurate_opp_half_passes": 3.9081,
                "crosses_total": 1.3912,
                "crosses_accurate": 0.4631,
                "touches": 14.7902,
                "possession_lost": 3.7212,
                "dispossessed": 0.1019,
                "duels_lost": 0.2664,
                "aerial_lost": 0.0,
                "total_contest": 0.1952,
                "won_contest": 0.1952,
                "ball_recovery": 0.431,
                "challenges_lost": 0.0626,
                "fouls": 0.1019,
                "fouls_drawn": 0.1659,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1199,
                "assist_rate": 0.1199,
                "expected_goals": 0.0125,
                "expected_assists": 0.0267,
                "shots_on_target": 0.1199,
                "big_chances_created": 0.0,
                "xgot": 0.0106,
                "ball_carries": 4.7583,
                "total_progression": 7.7472,
                "progressive_carries": 0.0,
                "key_pass": 0.417,
                "shots_off_target": 0.1896
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1297,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1103,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0937,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0797,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0677,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0576,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-24",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0416,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Deportivo Alavés",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0354,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 0.8358,
                  "aerialWon": 0.1397,
                  "totalClearance_p90": 1.0536,
                  "totalTackle": 0.6981,
                  "totalPass": 39.7618
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.385987251996994,
                    "model_output": 0.386,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4858
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0339
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0222
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0098
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0098
                        }
                      ],
                      "others": 0.0028,
                      "total": 0.386,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.836322
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.087265
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.056255
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.025256
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.025158
                        }
                      ],
                      "others_margin": 0.007264
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6176576614379883,
                    "model_output": 0.6177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7468
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0289
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.022
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0201
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0126
                        }
                      ],
                      "others": 0.0102,
                      "total": 0.6177,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.767417
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.045773
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.035021
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.031866
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.020496
                        }
                      ],
                      "others_margin": 0.016621
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.412306010723114,
                    "model_output": 0.4123,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4357
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0275
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.015
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0134
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0097
                        }
                      ],
                      "others": 0.0098,
                      "total": 0.4123,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.713266
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.06791
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.037575
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.033605
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.024437
                        }
                      ],
                      "others_margin": 0.024193
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.8867983818054199,
                    "model_output": 0.8868,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0521
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2887
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1096
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1018
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0878
                        }
                      ],
                      "others": -0.1438,
                      "total": 0.8868,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.90279
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.231028
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.094133
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.087109
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.081798
                        }
                      ],
                      "others_margin": -0.15033
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.23632743954658508,
                    "model_output": 0.2363,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.799
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2023
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0496
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0372
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.0381,
                      "total": 0.2363,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.863058
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.426097
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.139666
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.11916
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.068798
                        }
                      ],
                      "others_margin": -0.149311
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3095344305038452,
                    "model_output": 0.3095,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3057
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0379
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0359
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0133
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0131
                        }
                      ],
                      "others": 0.0439,
                      "total": 0.3095,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.305736
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.037925
                        },
                        {
                          "name": "rating",
                          "margin": 0.035901
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.013338
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.013079
                        }
                      ],
                      "others_margin": 0.043896
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.888875484466553,
                    "model_output": 6.8889,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0475
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0248
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.024
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.022
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0181
                        }
                      ],
                      "others": 0.0624,
                      "total": 6.8889,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.04748
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.024796
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.024046
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.021983
                        },
                        {
                          "name": "rating",
                          "margin": 0.018084
                        }
                      ],
                      "others_margin": 0.062319
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 25,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0176, quality 0.857)",
              "stats": {
                "interceptions": 0.3928,
                "tackles": 0.6285,
                "tackles_won": 0.4196,
                "clearances": 0.9024,
                "aerial_won": 0.2405,
                "total_shots": 0.315,
                "rating": 6.8889,
                "minutes": 17.32,
                "total_pass": 9.3731,
                "accurate_pass": 7.3762,
                "duels_won": 0.9166,
                "total_long_balls": 2.6672,
                "accurate_long_balls": 1.1999,
                "total_own_half_passes": 3.8482,
                "accurate_own_half_passes": 3.3993,
                "total_opp_half_passes": 5.525,
                "accurate_opp_half_passes": 3.9769,
                "crosses_total": 1.4157,
                "crosses_accurate": 0.4713,
                "touches": 15.0505,
                "possession_lost": 3.7867,
                "dispossessed": 0.1037,
                "duels_lost": 0.2711,
                "aerial_lost": 0.0,
                "total_contest": 0.1986,
                "won_contest": 0.1986,
                "ball_recovery": 0.4386,
                "challenges_lost": 0.0637,
                "fouls": 0.1037,
                "fouls_drawn": 0.1688,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.122,
                "assist_rate": 0.122,
                "expected_goals": 0.0127,
                "expected_assists": 0.0272,
                "shots_on_target": 0.122,
                "big_chances_created": 0.0,
                "xgot": 0.0108,
                "ball_carries": 4.842,
                "total_progression": 7.8836,
                "progressive_carries": 0.0,
                "key_pass": 0.4243,
                "shots_off_target": 0.1929
              },
              "params": {
                "market_value_eur": 62000000,
                "quality_factor": 0.8569,
                "boost_factor": 1.0176,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0079)",
              "stats": {
                "interceptions": 0.3952,
                "tackles": 0.6285,
                "tackles_won": 0.4177,
                "clearances": 0.9024,
                "aerial_won": 0.2405,
                "total_shots": 0.3152,
                "rating": 6.8889,
                "minutes": 17.32,
                "total_pass": 9.3731,
                "accurate_pass": 7.3762,
                "duels_won": 0.9166,
                "total_long_balls": 2.6672,
                "accurate_long_balls": 1.1999,
                "total_own_half_passes": 3.8482,
                "accurate_own_half_passes": 3.3993,
                "total_opp_half_passes": 5.525,
                "accurate_opp_half_passes": 3.9769,
                "crosses_total": 1.4225,
                "crosses_accurate": 0.4713,
                "touches": 15.0505,
                "possession_lost": 3.7867,
                "dispossessed": 0.1037,
                "duels_lost": 0.2711,
                "aerial_lost": 0.0,
                "total_contest": 0.1986,
                "won_contest": 0.1986,
                "ball_recovery": 0.4386,
                "challenges_lost": 0.0637,
                "fouls": 0.1029,
                "fouls_drawn": 0.1688,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1224,
                "assist_rate": 0.1224,
                "expected_goals": 0.0127,
                "expected_assists": 0.0272,
                "shots_on_target": 0.1224,
                "big_chances_created": 0.0,
                "xgot": 0.0108,
                "ball_carries": 4.842,
                "total_progression": 7.8836,
                "progressive_carries": 0.0,
                "key_pass": 0.4243,
                "shots_off_target": 0.1929
              },
              "params": {
                "blend_weight": 0.0079,
                "history_matches": 25,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1924,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.4157,
                  "after": 1.4225
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.3 to 12.9 expected minutes (appearance prob 0.44)",
              "stats": {
                "interceptions": 0.2943,
                "tackles": 0.4681,
                "tackles_won": 0.3111,
                "clearances": 0.6721,
                "aerial_won": 0.1791,
                "total_shots": 0.2349,
                "rating": 6.8889,
                "minutes": 12.9,
                "total_pass": 6.9811,
                "accurate_pass": 5.4938,
                "duels_won": 0.6827,
                "total_long_balls": 1.9865,
                "accurate_long_balls": 0.8937,
                "total_own_half_passes": 2.8662,
                "accurate_own_half_passes": 2.5318,
                "total_opp_half_passes": 4.115,
                "accurate_opp_half_passes": 2.962,
                "crosses_total": 1.0595,
                "crosses_accurate": 0.351,
                "touches": 11.2097,
                "possession_lost": 2.8203,
                "dispossessed": 0.1037,
                "duels_lost": 0.2019,
                "aerial_lost": 0.0,
                "total_contest": 0.1479,
                "won_contest": 0.1479,
                "ball_recovery": 0.3267,
                "challenges_lost": 0.0637,
                "fouls": 0.0766,
                "fouls_drawn": 0.1257,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0912,
                "assist_rate": 0.0912,
                "expected_goals": 0.0095,
                "expected_assists": 0.0203,
                "shots_on_target": 0.0912,
                "big_chances_created": 0.0,
                "xgot": 0.008,
                "ball_carries": 3.6063,
                "total_progression": 5.8717,
                "progressive_carries": 0.0,
                "key_pass": 0.316,
                "shots_off_target": 0.1437,
                "bench_appearance_probability": 0.443,
                "bench_expected_minutes": 12.9
              },
              "params": {
                "expected_minutes": 12.9,
                "projection_minutes": 17.32,
                "minutes_scale": 0.7448,
                "appearance_probability": 0.443
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2943,
                "tackles": 0.4681,
                "tackles_won": 0.3111,
                "clearances": 0.6721,
                "aerial_won": 0.1791,
                "total_shots": 0.2349,
                "rating": 6.8889,
                "minutes": 12.9,
                "total_pass": 6.9811,
                "accurate_pass": 5.4938,
                "duels_won": 0.6827,
                "total_long_balls": 1.9865,
                "accurate_long_balls": 0.8937,
                "total_own_half_passes": 2.8662,
                "accurate_own_half_passes": 2.5318,
                "total_opp_half_passes": 4.115,
                "accurate_opp_half_passes": 2.962,
                "crosses_total": 1.0595,
                "crosses_accurate": 0.351,
                "touches": 11.2097,
                "possession_lost": 2.8203,
                "dispossessed": 0.1037,
                "duels_lost": 0.2019,
                "aerial_lost": 0.0,
                "total_contest": 0.1479,
                "won_contest": 0.1479,
                "ball_recovery": 0.3267,
                "challenges_lost": 0.0637,
                "fouls": 0.0766,
                "fouls_drawn": 0.1257,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0912,
                "assist_rate": 0.0912,
                "expected_goals": 0.0095,
                "expected_assists": 0.0203,
                "shots_on_target": 0.0912,
                "big_chances_created": 0.0,
                "xgot": 0.008,
                "ball_carries": 3.6063,
                "total_progression": 5.8717,
                "progressive_carries": 0.0,
                "key_pass": 0.316,
                "shots_off_target": 0.1437,
                "bench_appearance_probability": 0.443,
                "bench_expected_minutes": 12.9
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.2943,
                "tackles": 0.4681,
                "tackles_won": 0.3111,
                "clearances": 0.6721,
                "aerial_won": 0.1791,
                "total_shots": 0.2349,
                "rating": 6.8889,
                "minutes": 12.9,
                "total_pass": 6.9811,
                "accurate_pass": 5.4938,
                "duels_won": 0.6827,
                "total_long_balls": 1.9865,
                "accurate_long_balls": 0.8937,
                "total_own_half_passes": 2.8662,
                "accurate_own_half_passes": 2.5318,
                "total_opp_half_passes": 4.115,
                "accurate_opp_half_passes": 2.962,
                "crosses_total": 1.0595,
                "crosses_accurate": 0.351,
                "touches": 11.2097,
                "possession_lost": 2.8203,
                "dispossessed": 0.1037,
                "duels_lost": 0.2019,
                "aerial_lost": 0.0,
                "total_contest": 0.1479,
                "won_contest": 0.1479,
                "ball_recovery": 0.3267,
                "challenges_lost": 0.0637,
                "fouls": 0.0766,
                "fouls_drawn": 0.1257,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0912,
                "assists": 0,
                "expected_goals": 0.0095,
                "expected_assists": 0.0203,
                "shots_on_target": 0.0912,
                "big_chances_created": 0.0,
                "xgot": 0.008,
                "ball_carries": 3.6063,
                "total_progression": 5.8717,
                "progressive_carries": 0.0,
                "key_pass": 0.316,
                "shots_off_target": 0.1437,
                "bench_appearance_probability": 0.443,
                "bench_expected_minutes": 12.9,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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
              },
              "params": {
                "appearance_probability": 0.443,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 84.0)",
              "stats": {
                "interceptions": 0.2943,
                "tackles": 0.4681,
                "tackles_won": 0.3111,
                "clearances": 0.6721,
                "aerial_won": 0.1791,
                "total_shots": 0.2349,
                "rating": 6.8889,
                "minutes": 12.9,
                "total_pass": 6.9811,
                "accurate_pass": 5.4938,
                "duels_won": 0.6827,
                "total_long_balls": 1.9865,
                "accurate_long_balls": 0.8937,
                "total_own_half_passes": 2.8662,
                "accurate_own_half_passes": 2.5318,
                "total_opp_half_passes": 4.115,
                "accurate_opp_half_passes": 2.962,
                "crosses_total": 1.0595,
                "crosses_accurate": 0.351,
                "touches": 11.2097,
                "possession_lost": 2.8203,
                "dispossessed": 0.1037,
                "duels_lost": 0.2019,
                "aerial_lost": 0.0,
                "total_contest": 0.1479,
                "won_contest": 0.1479,
                "ball_recovery": 0.3267,
                "challenges_lost": 0.0637,
                "fouls": 0.0766,
                "fouls_drawn": 0.1257,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0912,
                "assists": 0,
                "expected_goals": 0.0095,
                "expected_assists": 0.0203,
                "shots_on_target": 0.0912,
                "big_chances_created": 0.0,
                "xgot": 0.008,
                "ball_carries": 3.6063,
                "total_progression": 5.8717,
                "progressive_carries": 0.0,
                "key_pass": 0.316,
                "shots_off_target": 0.1437,
                "bench_appearance_probability": 0.443,
                "bench_expected_minutes": 12.9,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 220,
                "fifa_rank": 224.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            }
          ]
        },
        "Álvaro Carreras": {
          "player_id": 1085081,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 186,
          "market_value": 53000000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.891,
            "minutes": 15,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 1.9033,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "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.0009,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.249,
            "bench_expected_minutes": 15.14,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "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": 81.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1645,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 8.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1908,
                "expected_assists": 0.1822,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 63,
                "accurate_pass": 55,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 11,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "duels_won": 2,
                "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.026,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 32,
                "interceptions": 1,
                "aerial_won": 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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0109,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 32,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 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"
            },
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0499,
                "total_shots": 0,
                "total_pass": 83,
                "accurate_pass": 71,
                "key_pass": 2,
                "interceptions": 3,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083649,
              "match_date": "2026-05-14",
              "home_team": "Real Madrid",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1486,
                "expected_assists": 0.0344,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 67,
                "accurate_pass": 66,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0261,
                "total_shots": 0,
                "total_pass": 75,
                "accurate_pass": 68,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 9,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081816,
              "match_date": "2026-04-04",
              "home_team": "Mallorca",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0592,
                "total_shots": 0,
                "total_pass": 81,
                "accurate_pass": 75,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081807,
              "match_date": "2026-03-22",
              "home_team": "Real Madrid",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1026,
            "combined_rank_score": 456.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 331.0,
            "sofascore_rating": 7.0111,
            "sofascore_appearances": 28.0,
            "fifa_rank": 582.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.891,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Carreras",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yan Diomande",
                  "ranking": 1021
                },
                {
                  "player_name": "Robin Roefs",
                  "ranking": 1022
                },
                {
                  "player_name": "Andrea Cambiaso",
                  "ranking": 1023
                },
                {
                  "player_name": "Clarismario",
                  "ranking": 1024
                },
                {
                  "player_name": "Milan Obradović",
                  "ranking": 1025
                }
              ],
              "lower": [
                {
                  "player_name": "Mamadou Sangare",
                  "ranking": 1027
                },
                {
                  "player_name": "Azizbek  Pirmukhamedov",
                  "ranking": 1028
                },
                {
                  "player_name": "Jonas Urbig",
                  "ranking": 1029
                },
                {
                  "player_name": "James Donachie",
                  "ranking": 1030
                },
                {
                  "player_name": "Felipe Campos",
                  "ranking": 1031
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.762,
          "history_matches": 32,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 32,
            "data_confidence": 0.762,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 15.142683522414773,
            "bench_appearance_prob": 0.249,
            "market_value_adjustment": 1.0133,
            "fbref_prior_metrics": {
              "squad": "Real 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.08
            },
            "rationale": "Bench projection scaled from XGBoost D_service (32 historical appearances) to 15.1 expected mins (appearance prob 0.25); 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": 0.2952,
                "tackles": 0.721,
                "tackles_won": 0.4654,
                "clearances": 0.7716,
                "aerial_won": 0.2975,
                "total_shots": 0.1688,
                "rating": 6.891,
                "minutes": 11.72,
                "total_pass": 3.7366,
                "accurate_pass": 2.894,
                "duels_won": 1.3392,
                "total_long_balls": 0.6696,
                "accurate_long_balls": 0.3887,
                "total_own_half_passes": 1.3392,
                "accurate_own_half_passes": 1.0583,
                "total_opp_half_passes": 2.3975,
                "accurate_opp_half_passes": 1.8358,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.9679,
                "possession_lost": 1.4538,
                "dispossessed": 0.0,
                "duels_lost": 0.3304,
                "aerial_lost": 0.3304,
                "total_contest": 0.7775,
                "won_contest": 0.7775,
                "ball_recovery": 0.7775,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0007,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.1662,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1688
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:05:26.369274+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1508,
                    "rating": 8.7
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1282,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.109,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Atlético Madrid",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-02",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.3578,
                  "aerialWon": 0.8455,
                  "totalClearance_p90": 1.3963,
                  "totalTackle": 1.2879,
                  "totalPass": 49.9077
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.2952312231063843,
                    "model_output": 0.2952,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3029
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0395
                      },
                      {
                        "name": "touches",
                        "importance": 0.0282
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0236
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8573,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5001
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0136
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0121
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0104
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0078
                        }
                      ],
                      "others": -0.0545,
                      "total": 0.2952,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.87566
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.038819
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.035834
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.030807
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.022601
                        }
                      ],
                      "others_margin": -0.169092
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.7209581732749939,
                    "model_output": 0.721,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2622
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0638
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0451
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.043
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0317
                      }
                    ],
                    "decomposition": {
                      "base": 1.3939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7382
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0206
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0198
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0198
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0171
                        }
                      ],
                      "others": 0.0292,
                      "total": 0.721,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.754177
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.031873
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.030631
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.029727
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.025084
                        }
                      ],
                      "others_margin": 0.041346
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.4653923511505127,
                    "model_output": 0.4654,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2392
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.06
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0413
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0398
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 0.8544,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4221
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0225
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.011
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0105
                        }
                      ],
                      "others": 0.0218,
                      "total": 0.4654,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.681451
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.050784
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.025977
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.02457
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.023376
                        }
                      ],
                      "others_margin": 0.047989
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.7716021537780762,
                    "model_output": 0.7716,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3045
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1682
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0854
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0285
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0201
                      }
                    ],
                    "decomposition": {
                      "base": 3.4514,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0778
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2677
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1115
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0725
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.057
                        }
                      ],
                      "others": -0.0933,
                      "total": 0.7716,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.92131
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.216769
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.106237
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.075653
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.063844
                        }
                      ],
                      "others_margin": -0.114256
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.2975044846534729,
                    "model_output": 0.2975,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1616
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1408
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0969
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0424
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0269
                      }
                    ],
                    "decomposition": {
                      "base": 1.382,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8021
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1185
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0584
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0368
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0142
                        }
                      ],
                      "others": -0.0545,
                      "total": 0.2975,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.868457
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.228676
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.135286
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.095892
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.03968
                        }
                      ],
                      "others_margin": -0.167888
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.16880254447460175,
                    "model_output": 0.1688,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1182
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0615
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0311
                      },
                      {
                        "name": "rating",
                        "importance": 0.0298
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0297
                      }
                    ],
                    "decomposition": {
                      "base": 0.4711,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.241
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0698
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0273
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0096
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0082
                        }
                      ],
                      "others": -0.0174,
                      "total": 0.1688,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.241044
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.069833
                        },
                        {
                          "name": "rating",
                          "margin": 0.02731
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.009647
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.008239
                        }
                      ],
                      "others_margin": -0.017354
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.891017436981201,
                    "model_output": 6.891,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0688
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0582
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0551
                      },
                      {
                        "name": "touches",
                        "importance": 0.037
                      },
                      {
                        "name": "rating",
                        "importance": 0.0327
                      }
                    ],
                    "decomposition": {
                      "base": 6.7851,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.064
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0347
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0299
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0266
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.024
                        }
                      ],
                      "others": -0.0039,
                      "total": 6.891,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.06398
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.034652
                        },
                        {
                          "name": "rating",
                          "margin": 0.029919
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.026604
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.024036
                        }
                      ],
                      "others_margin": -0.004
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 32,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0133, quality 0.834)",
              "stats": {
                "interceptions": 0.2992,
                "tackles": 0.7305,
                "tackles_won": 0.4716,
                "clearances": 0.7819,
                "aerial_won": 0.3015,
                "total_shots": 0.171,
                "rating": 6.891,
                "minutes": 11.72,
                "total_pass": 3.7863,
                "accurate_pass": 2.9325,
                "duels_won": 1.357,
                "total_long_balls": 0.6785,
                "accurate_long_balls": 0.3939,
                "total_own_half_passes": 1.357,
                "accurate_own_half_passes": 1.0724,
                "total_opp_half_passes": 2.4294,
                "accurate_opp_half_passes": 1.8602,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.0473,
                "possession_lost": 1.4731,
                "dispossessed": 0.0,
                "duels_lost": 0.3348,
                "aerial_lost": 0.3348,
                "total_contest": 0.7878,
                "won_contest": 0.7878,
                "ball_recovery": 0.7878,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0007,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.1817,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.171
              },
              "params": {
                "market_value_eur": 53000000,
                "quality_factor": 0.834,
                "boost_factor": 1.0133,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0070)",
              "stats": {
                "interceptions": 0.2986,
                "tackles": 0.7305,
                "tackles_won": 0.4698,
                "clearances": 0.7819,
                "aerial_won": 0.3015,
                "total_shots": 0.1698,
                "rating": 6.891,
                "minutes": 11.72,
                "total_pass": 3.7863,
                "accurate_pass": 2.9325,
                "duels_won": 1.357,
                "total_long_balls": 0.6785,
                "accurate_long_balls": 0.3939,
                "total_own_half_passes": 1.357,
                "accurate_own_half_passes": 1.0724,
                "total_opp_half_passes": 2.4294,
                "accurate_opp_half_passes": 1.8602,
                "crosses_total": 0.0015,
                "crosses_accurate": 0.0,
                "touches": 6.0473,
                "possession_lost": 1.4731,
                "dispossessed": 0.0,
                "duels_lost": 0.3348,
                "aerial_lost": 0.3348,
                "total_contest": 0.7878,
                "won_contest": 0.7878,
                "ball_recovery": 0.7878,
                "challenges_lost": 0.0,
                "fouls": 0.0008,
                "fouls_drawn": 0.0008,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0007,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.1817,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.171
              },
              "params": {
                "blend_weight": 0.007,
                "history_matches": 32,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1302,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Real Madrid"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 11.7 to 15.1 expected minutes (appearance prob 0.25)",
              "stats": {
                "interceptions": 0.3858,
                "tackles": 0.9438,
                "tackles_won": 0.607,
                "clearances": 1.0102,
                "aerial_won": 0.3895,
                "total_shots": 0.2209,
                "rating": 6.891,
                "minutes": 15.14,
                "total_pass": 4.892,
                "accurate_pass": 3.7889,
                "duels_won": 1.7533,
                "total_long_balls": 0.8766,
                "accurate_long_balls": 0.5089,
                "total_own_half_passes": 1.7533,
                "accurate_own_half_passes": 1.3856,
                "total_opp_half_passes": 3.1389,
                "accurate_opp_half_passes": 2.4034,
                "crosses_total": 0.0019,
                "crosses_accurate": 0.0,
                "touches": 7.8133,
                "possession_lost": 1.9033,
                "dispossessed": 0.0,
                "duels_lost": 0.4326,
                "aerial_lost": 0.3348,
                "total_contest": 1.0179,
                "won_contest": 1.0179,
                "ball_recovery": 1.0179,
                "challenges_lost": 0.0,
                "fouls": 0.001,
                "fouls_drawn": 0.001,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0009,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.5268,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2209,
                "bench_appearance_probability": 0.249,
                "bench_expected_minutes": 15.14
              },
              "params": {
                "expected_minutes": 15.14,
                "projection_minutes": 11.72,
                "minutes_scale": 1.292,
                "appearance_probability": 0.249
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3858,
                "tackles": 0.9438,
                "tackles_won": 0.607,
                "clearances": 1.0102,
                "aerial_won": 0.3895,
                "total_shots": 0.2209,
                "rating": 6.891,
                "minutes": 15.14,
                "total_pass": 4.892,
                "accurate_pass": 3.7889,
                "duels_won": 1.7533,
                "total_long_balls": 0.8766,
                "accurate_long_balls": 0.5089,
                "total_own_half_passes": 1.7533,
                "accurate_own_half_passes": 1.3856,
                "total_opp_half_passes": 3.1389,
                "accurate_opp_half_passes": 2.4034,
                "crosses_total": 0.0019,
                "crosses_accurate": 0.0,
                "touches": 7.8133,
                "possession_lost": 1.9033,
                "dispossessed": 0.0,
                "duels_lost": 0.4326,
                "aerial_lost": 0.3348,
                "total_contest": 1.0179,
                "won_contest": 1.0179,
                "ball_recovery": 1.0179,
                "challenges_lost": 0.0,
                "fouls": 0.001,
                "fouls_drawn": 0.001,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0009,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.5268,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2209,
                "bench_appearance_probability": 0.249,
                "bench_expected_minutes": 15.14
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.3858,
                "tackles": 0.9438,
                "tackles_won": 0.607,
                "clearances": 1.0102,
                "aerial_won": 0.3895,
                "total_shots": 0.2209,
                "rating": 6.891,
                "minutes": 15.14,
                "total_pass": 4.892,
                "accurate_pass": 3.7889,
                "duels_won": 1.7533,
                "total_long_balls": 0.8766,
                "accurate_long_balls": 0.5089,
                "total_own_half_passes": 1.7533,
                "accurate_own_half_passes": 1.3856,
                "total_opp_half_passes": 3.1389,
                "accurate_opp_half_passes": 2.4034,
                "crosses_total": 0.0019,
                "crosses_accurate": 0.0,
                "touches": 7.8133,
                "possession_lost": 1.9033,
                "dispossessed": 0.0,
                "duels_lost": 0.4326,
                "aerial_lost": 0.3348,
                "total_contest": 1.0179,
                "won_contest": 1.0179,
                "ball_recovery": 1.0179,
                "challenges_lost": 0.0,
                "fouls": 0.001,
                "fouls_drawn": 0.001,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0009,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.5268,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2209,
                "bench_appearance_probability": 0.249,
                "bench_expected_minutes": 15.14,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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
              },
              "params": {
                "appearance_probability": 0.249,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 81.0)",
              "stats": {
                "interceptions": 0.3858,
                "tackles": 0.9438,
                "tackles_won": 0.607,
                "clearances": 1.0102,
                "aerial_won": 0.3895,
                "total_shots": 0.2209,
                "rating": 6.891,
                "minutes": 15.14,
                "total_pass": 4.892,
                "accurate_pass": 3.7889,
                "duels_won": 1.7533,
                "total_long_balls": 0.8766,
                "accurate_long_balls": 0.5089,
                "total_own_half_passes": 1.7533,
                "accurate_own_half_passes": 1.3856,
                "total_opp_half_passes": 3.1389,
                "accurate_opp_half_passes": 2.4034,
                "crosses_total": 0.0019,
                "crosses_accurate": 0.0,
                "touches": 7.8133,
                "possession_lost": 1.9033,
                "dispossessed": 0.0,
                "duels_lost": 0.4326,
                "aerial_lost": 0.3348,
                "total_contest": 1.0179,
                "won_contest": 1.0179,
                "ball_recovery": 1.0179,
                "challenges_lost": 0.0,
                "fouls": 0.001,
                "fouls_drawn": 0.001,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0009,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.5268,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.2209,
                "bench_appearance_probability": 0.249,
                "bench_expected_minutes": 15.14,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1026,
                "fifa_rank": 582.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            }
          ]
        },
        "Arda Güler": {
          "player_id": 1091116,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 176,
          "market_value": 97000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0488,
            "assist_rate": 0.1264,
            "assists": 0,
            "expected_goals": 0.0312,
            "goal_rate": 0.0686,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9666,
            "minutes": 13,
            "total_pass": 12,
            "accurate_pass": 11,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 17,
            "possession_lost": 2.3838,
            "dispossessed": 0.288,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0526,
            "ball_carries": 5,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.472,
            "bench_expected_minutes": 12.9,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0302,
            "projected_assists": 0,
            "assist_probability": 0.0464,
            "finishing_factor": 0.9992,
            "creation_factor": 1.25,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 78,
                "rating": 8.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0571,
                "expected_assists": 0.066,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 64,
                "accurate_pass": 60,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0679,
                "expected_assists": 0.1297,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 36,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 54,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0138,
                "expected_assists": 0.0608,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 14,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 68,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9075,
                "expected_assists": 0.3531,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 26,
                "accurate_pass": 25,
                "key_pass": 3,
                "interceptions": 1,
                "duels_won": 4,
                "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 18,
                "rating": 7.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0172,
                "expected_assists": 0.686,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 16,
                "key_pass": 5,
                "duels_won": 2,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 64,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0429,
                "expected_assists": 0.6869,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 40,
                "accurate_pass": 36,
                "key_pass": 7,
                "clearances": 1,
                "duels_won": 3,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 7,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0081,
                "expected_assists": 0.0157,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 1,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 78,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0362,
                "expected_assists": 0.3801,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 46,
                "accurate_pass": 41,
                "key_pass": 5,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 64,
                "rating": 8.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.8547,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 38,
                "key_pass": 7,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "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": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 16,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 250,
            "combined_rank_score": 186.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 59.0,
            "sofascore_rating": 7.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 314.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9666,
            "source_file": "data/player_rankings.csv",
            "player_name": "Arda Güler",
            "ranking_neighbors": {
              "upper": [
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "David Raum",
                  "ranking": 251
                },
                {
                  "player_name": "Bryan Carvallo",
                  "ranking": 252
                },
                {
                  "player_name": "Alexis Mac Allister",
                  "ranking": 253
                },
                {
                  "player_name": "Maximilian Mittelstädt",
                  "ranking": 254
                },
                {
                  "player_name": "Seong-Jin Kang",
                  "ranking": 255
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.766,
          "history_matches": 40,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.766,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 12.9,
            "bench_appearance_prob": 0.472,
            "market_value_adjustment": 1.0129,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 4.0,
              "goals_per90": 0.625,
              "assists_per90": 0.625,
              "prior_reliability": 0.1067
            },
            "rationale": "Bench projection scaled from XGBoost M_service (40 historical appearances) to 12.9 expected mins (appearance prob 0.47); FBref playing time empirical prior: 1.0 sub appearances, 4.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.4209,
                "expected_assists": 0.1421,
                "assists": 0.2017,
                "assist_rate": 0.2017,
                "expected_goals": 0.1094,
                "goals": 0.1089,
                "goal_rate": 0.1089,
                "shots_on_target": 0.4079,
                "total_shots": 1.0094,
                "rating": 6.9666,
                "minutes": 20.8,
                "total_pass": 18.4713,
                "accurate_pass": 17.3364,
                "duels_won": 1.9053,
                "total_long_balls": 1.8518,
                "accurate_long_balls": 1.5223,
                "total_own_half_passes": 6.0756,
                "accurate_own_half_passes": 6.0756,
                "total_opp_half_passes": 12.3957,
                "accurate_opp_half_passes": 11.2608,
                "crosses_total": 2.6018,
                "crosses_accurate": 0.8744,
                "touches": 27.049,
                "possession_lost": 3.7946,
                "dispossessed": 0.2843,
                "duels_lost": 0.8192,
                "aerial_won": 0.0,
                "aerial_lost": 0.0704,
                "interceptions": 0.0,
                "tackles_won": 0.8264,
                "tackles": 1.0214,
                "clearances": 0.2408,
                "total_contest": 0.698,
                "won_contest": 0.6151,
                "challenges_lost": 0.158,
                "fouls": 0.2236,
                "fouls_drawn": 0.2687,
                "blocks": 0.0,
                "big_chances_created": 0.4949,
                "big_chances_missed": 0.0,
                "xgot": 0.1843,
                "ball_carries": 7.5795,
                "total_progression": 33.917,
                "progressive_carries": 1.1492,
                "shots_off_target": 0.6015
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 7.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Deportivo Alavés",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-04-10",
                    "opponent": "Girona FC",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.4706,
                  "creative_index": 1.3958,
                  "expectedGoals": 0.2224,
                  "expectedAssists": 0.3266,
                  "onTargetScoringAttempt": 0.5351
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4208685159683228,
                    "model_output": 1.4209,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3316
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1235
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1393
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0715
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0755
                        }
                      ],
                      "others": 0.4565,
                      "total": 1.4209,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.468758
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.201028
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.186881
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.083884
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.081566
                        }
                      ],
                      "others_margin": 0.387483
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14214414358139038,
                    "model_output": 0.1421,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0321
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0118
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0119
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0051
                        }
                      ],
                      "others": 0.0546,
                      "total": 0.1421,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.468178
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.199364
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.166271
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.062717
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.059866
                        }
                      ],
                      "others_margin": 0.485093
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.20169417560100555,
                    "model_output": 0.2017,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0161
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0136
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0134
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0152
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0152
                        }
                      ],
                      "others": 0.0702,
                      "total": 0.2017,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.173429
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.144289
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.142333
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.139889
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.123099
                        }
                      ],
                      "others_margin": 0.426942
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10935375839471817,
                    "model_output": 0.1094,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0394
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0125
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.009
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0079
                        }
                      ],
                      "others": 0.0169,
                      "total": 0.1094,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.539836
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.204063
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.112875
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.11254
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.089532
                        }
                      ],
                      "others_margin": 0.167576
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10887331515550613,
                    "model_output": 0.1089,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0315
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0108
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0096
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0078
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0074
                        }
                      ],
                      "others": 0.0228,
                      "total": 0.1089,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.389249
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.151577
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.117468
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.094134
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.089448
                        }
                      ],
                      "others_margin": 0.233734
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4079054296016693,
                    "model_output": 0.4079,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1263
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0477
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0332
                        },
                        {
                          "name": "cross_accuracy",
                          "contribution": 0.0281
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0284
                        }
                      ],
                      "others": 0.0728,
                      "total": 0.4079,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.494163
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.216133
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.126857
                        },
                        {
                          "name": "cross_accuracy",
                          "margin": 0.096005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.088673
                        }
                      ],
                      "others_margin": 0.196813
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0094152688980103,
                    "model_output": 1.0094,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5442
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2019
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0573
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0367
                        }
                      ],
                      "others": 0.1612,
                      "total": 1.0094,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.544199
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.201914
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.106008
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.05729
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.036746
                        }
                      ],
                      "others_margin": 0.161192
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.966583728790283,
                    "model_output": 6.9666,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1304
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0912
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0197
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0176
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0171
                        }
                      ],
                      "others": 0.0593,
                      "total": 6.9666,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.130382
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.091181
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.019687
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.01755
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.017079
                        }
                      ],
                      "others_margin": 0.059295
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0129, quality 0.892)",
              "stats": {
                "key_pass": 1.4392,
                "expected_assists": 0.144,
                "assists": 0.2043,
                "assist_rate": 0.2043,
                "expected_goals": 0.1108,
                "goals": 0.1103,
                "goal_rate": 0.1103,
                "shots_on_target": 0.4132,
                "total_shots": 1.0225,
                "rating": 6.9666,
                "minutes": 20.8,
                "total_pass": 18.7096,
                "accurate_pass": 17.56,
                "duels_won": 1.9299,
                "total_long_balls": 1.8757,
                "accurate_long_balls": 1.5419,
                "total_own_half_passes": 6.154,
                "accurate_own_half_passes": 6.154,
                "total_opp_half_passes": 12.5556,
                "accurate_opp_half_passes": 11.4061,
                "crosses_total": 2.6354,
                "crosses_accurate": 0.8857,
                "touches": 27.3979,
                "possession_lost": 3.8436,
                "dispossessed": 0.288,
                "duels_lost": 0.8298,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.8371,
                "tackles": 1.0346,
                "clearances": 0.2439,
                "total_contest": 0.707,
                "won_contest": 0.623,
                "challenges_lost": 0.16,
                "fouls": 0.2265,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.5013,
                "big_chances_missed": 0.0,
                "xgot": 0.1867,
                "ball_carries": 7.6773,
                "total_progression": 34.3545,
                "progressive_carries": 1.164,
                "shots_off_target": 0.6093
              },
              "params": {
                "market_value_eur": 97000000,
                "quality_factor": 0.8922,
                "boost_factor": 1.0129,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0077)",
              "stats": {
                "key_pass": 1.4392,
                "expected_assists": 0.144,
                "assists": 0.2038,
                "assist_rate": 0.2038,
                "expected_goals": 0.1108,
                "goals": 0.1106,
                "goal_rate": 0.1106,
                "shots_on_target": 0.4122,
                "total_shots": 1.0191,
                "rating": 6.9666,
                "minutes": 20.8,
                "total_pass": 18.7096,
                "accurate_pass": 17.56,
                "duels_won": 1.9299,
                "total_long_balls": 1.8757,
                "accurate_long_balls": 1.5419,
                "total_own_half_passes": 6.154,
                "accurate_own_half_passes": 6.154,
                "total_opp_half_passes": 12.5556,
                "accurate_opp_half_passes": 11.4061,
                "crosses_total": 2.6251,
                "crosses_accurate": 0.8857,
                "touches": 27.3979,
                "possession_lost": 3.8436,
                "dispossessed": 0.288,
                "duels_lost": 0.8298,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.834,
                "tackles": 1.0346,
                "clearances": 0.2439,
                "total_contest": 0.707,
                "won_contest": 0.623,
                "challenges_lost": 0.16,
                "fouls": 0.2248,
                "fouls_drawn": 0.2723,
                "blocks": 0.0,
                "big_chances_created": 0.5013,
                "big_chances_missed": 0.0,
                "xgot": 0.1867,
                "ball_carries": 7.6773,
                "total_progression": 34.3545,
                "progressive_carries": 1.164,
                "shots_off_target": 0.6093
              },
              "params": {
                "blend_weight": 0.0077,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2311,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.6354,
                  "after": 2.6251
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.8 to 12.9 expected minutes (appearance prob 0.47)",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0893,
                "assists": 0.1264,
                "assist_rate": 0.1264,
                "expected_goals": 0.0687,
                "goals": 0.0686,
                "goal_rate": 0.0686,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.1158,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9
              },
              "params": {
                "expected_minutes": 12.9,
                "projection_minutes": 20.8,
                "minutes_scale": 0.6202,
                "appearance_probability": 0.472
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0893,
                "assists": 0.1264,
                "assist_rate": 0.1264,
                "expected_goals": 0.0687,
                "goals": 0.0686,
                "goal_rate": 0.0686,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.1158,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0893,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0687,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.1158,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0488,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0312,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.0526,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9992,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 0.472
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0687,
                  "after": 0.0312
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0893,
                  "after": 0.0488
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 83.0)",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0488,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0312,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.0526,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9992,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 250,
                "fifa_rank": 314.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": {
                "key_pass": 0.8926,
                "expected_assists": 0.0488,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0312,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.0526,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0302,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9992,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0302,
                "goal_rate": 0.0686,
                "scorer_weight": 0.0312,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0198,
                "finishing_factor": 0.9992,
                "appearance_weight": 0.472,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.8926,
                "expected_assists": 0.0488,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0312,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.0526,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0302,
                "projected_assists": 0,
                "assist_probability": 0.0464,
                "finishing_factor": 0.9992,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0464,
                "assist_rate": 0.1264,
                "provider_weight": 0.061,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0569,
                "creation_factor": 1.25,
                "appearance_weight": 0.472,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Franco Mastantuono": {
          "player_id": 1403559,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 30,
          "height": 177,
          "market_value": 44000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0323,
            "assist_rate": 0.0598,
            "assists": 0,
            "expected_goals": 0.0333,
            "goal_rate": 0.0515,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6887,
            "minutes": 23,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 3.9085,
            "dispossessed": 1.0839,
            "duels_lost": 3,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0327,
            "ball_carries": 6,
            "total_progression": 20,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.564,
            "bench_expected_minutes": 23.41,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0323,
            "projected_assists": 0,
            "assist_probability": 0.0314,
            "finishing_factor": 0.9119,
            "creation_factor": 1.1046,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 74,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0177,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083702,
              "match_date": "2026-05-17",
              "home_team": "Sevilla",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1805,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083649,
              "match_date": "2026-05-14",
              "home_team": "Real Madrid",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 77,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2965,
                "expected_assists": 0.0645,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 40,
                "key_pass": 3,
                "interceptions": 1,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 37,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3085,
                "expected_assists": 0.0566,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 1,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 32,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0845,
                "expected_assists": 0.0045,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 10,
                "accurate_pass": 8,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081816,
              "match_date": "2026-04-04",
              "home_team": "Mallorca",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 14,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0448,
                "expected_assists": 0.0218,
                "total_shots": 1,
                "total_pass": 7,
                "accurate_pass": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081798,
              "match_date": "2026-03-02",
              "home_team": "Real Madrid",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 26,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0475,
                "expected_assists": 0.3805,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_pass": 2,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083327,
              "match_date": "2026-02-08",
              "home_team": "Valencia",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Valencia",
              "stats": {
                "minutes": 8,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0309,
                "expected_assists": 0.0373,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083254,
              "match_date": "2026-02-01",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 60,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0286,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3181,
            "combined_rank_score": 1147.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 715.0,
            "sofascore_rating": 6.687,
            "sofascore_appearances": 23.0,
            "fifa_rank": 1580.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6887,
            "source_file": "data/player_rankings.csv",
            "player_name": "Franco Mastantuono",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Timothy Weah",
                  "ranking": 3176
                },
                {
                  "player_name": "Jordan Teze",
                  "ranking": 3177
                },
                {
                  "player_name": "Charlie Cresswell",
                  "ranking": 3178
                },
                {
                  "player_name": "Jaydee Canvot",
                  "ranking": 3179
                },
                {
                  "player_name": "Julio César Enciso",
                  "ranking": 3180
                }
              ],
              "lower": [
                {
                  "player_name": "Altay Bayındır",
                  "ranking": 3182
                },
                {
                  "player_name": "Daniel Bragança",
                  "ranking": 3183
                },
                {
                  "player_name": "Hákon Arnar Haraldsson",
                  "ranking": 3184
                },
                {
                  "player_name": "Brajan Gruda",
                  "ranking": 3185
                },
                {
                  "player_name": "Guillaume Restes",
                  "ranking": 3186
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 23,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 23,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 23.408988063086046,
            "bench_appearance_prob": 0.5640449119584566,
            "market_value_adjustment": 1.0158,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (23 historical appearances) to 23.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.6046,
                "expected_assists": 0.0453,
                "assists": 0.0547,
                "assist_rate": 0.0547,
                "expected_goals": 0.0561,
                "goals": 0.0471,
                "goal_rate": 0.0471,
                "shots_on_target": 0.2386,
                "total_shots": 0.6669,
                "rating": 6.6887,
                "minutes": 21.78,
                "total_pass": 9.2921,
                "accurate_pass": 8.4518,
                "duels_won": 1.7013,
                "total_long_balls": 0.2898,
                "accurate_long_balls": 0.1824,
                "total_own_half_passes": 2.6849,
                "accurate_own_half_passes": 2.6556,
                "total_opp_half_passes": 6.6072,
                "accurate_opp_half_passes": 5.7961,
                "crosses_total": 0.5708,
                "crosses_accurate": 0.2533,
                "touches": 16.066,
                "possession_lost": 3.5799,
                "dispossessed": 1.067,
                "duels_lost": 2.2965,
                "aerial_won": 0.2194,
                "aerial_lost": 0.5494,
                "interceptions": 0.0,
                "tackles_won": 0.0293,
                "tackles": 0.0853,
                "clearances": 0.2337,
                "total_contest": 0.6629,
                "won_contest": 0.375,
                "challenges_lost": 0.1409,
                "fouls": 0.329,
                "fouls_drawn": 1.0215,
                "blocks": 0.0,
                "big_chances_created": 0.3478,
                "big_chances_missed": 0.0,
                "xgot": 0.0552,
                "ball_carries": 5.3793,
                "total_progression": 18.2831,
                "progressive_carries": 0.9354,
                "shots_off_target": 0.4282
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1537,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1306,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.111,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "FC Barcelona",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0944,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 37.0,
                    "is_starting": false,
                    "weight": 0.0802,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Deportivo Alavés",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0682,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Mallorca",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.058,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-03-02",
                    "opponent": "Getafe",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0493,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-02-08",
                    "opponent": "Valencia",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0419,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Rayo Vallecano",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0356,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.9409,
                  "creative_index": 0.3498,
                  "expectedGoals": 0.112,
                  "expectedAssists": 0.0611,
                  "onTargetScoringAttempt": 0.2724
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6046447157859802,
                    "model_output": 0.6046,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3483
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0309
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0258
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0192
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.019
                        }
                      ],
                      "others": 0.0336,
                      "total": 0.6046,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.49934
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.059252
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.04966
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.035407
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.033902
                        }
                      ],
                      "others_margin": 0.057325
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04528839886188507,
                    "model_output": 0.0453,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0368
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0049
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0026
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0024
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0015
                        }
                      ],
                      "others": 0.0025,
                      "total": 0.0453,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.561328
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.105496
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.056597
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.052854
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.034131
                        }
                      ],
                      "others_margin": 0.058555
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.054717447608709335,
                    "model_output": 0.0547,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0218
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0036
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0033
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0028
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0038,
                      "total": 0.0547,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.295574
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.055462
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.049985
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.045213
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.040921
                        }
                      ],
                      "others_margin": -0.066936
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.056107740849256516,
                    "model_output": 0.0561,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.04
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0101
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0029
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0027
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0057,
                      "total": 0.0561,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.551439
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.170813
                        },
                        {
                          "name": "goals",
                          "margin": -0.046405
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.042574
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.039531
                        }
                      ],
                      "others_margin": -0.096576
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.047137290239334106,
                    "model_output": 0.0471,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0409
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.006
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.005
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0043
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0042
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.0471,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.543417
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.100911
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.076876
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.065812
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.06364
                        }
                      ],
                      "others_margin": -0.360477
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.23861375451087952,
                    "model_output": 0.2386,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.14
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0197
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0128
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0083
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0085
                        }
                      ],
                      "others": 0.0053,
                      "total": 0.2386,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.565945
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.101762
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.0609
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.037609
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.037158
                        }
                      ],
                      "others_margin": 0.022645
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6668526530265808,
                    "model_output": 0.6669,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4585
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0327
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0325
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0247
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0216
                        }
                      ],
                      "others": 0.0728,
                      "total": 0.6669,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.458469
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.032743
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.032519
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.02465
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.021646
                        }
                      ],
                      "others_margin": 0.0726
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.688675880432129,
                    "model_output": 6.6887,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0725
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0267
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0259
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0136
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0071
                        }
                      ],
                      "others": -0.0144,
                      "total": 6.6887,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.072548
                        },
                        {
                          "name": "rating",
                          "margin": -0.026656
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.02592
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.013627
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.007105
                        }
                      ],
                      "others_margin": -0.01434
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 23,
                  "role_matches": 12,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0158, quality 0.800)",
              "stats": {
                "key_pass": 0.6142,
                "expected_assists": 0.046,
                "assists": 0.0556,
                "assist_rate": 0.0556,
                "expected_goals": 0.057,
                "goals": 0.0479,
                "goal_rate": 0.0479,
                "shots_on_target": 0.2424,
                "total_shots": 0.6774,
                "rating": 6.6887,
                "minutes": 21.78,
                "total_pass": 9.4389,
                "accurate_pass": 8.5853,
                "duels_won": 1.7282,
                "total_long_balls": 0.2944,
                "accurate_long_balls": 0.1853,
                "total_own_half_passes": 2.7273,
                "accurate_own_half_passes": 2.6976,
                "total_opp_half_passes": 6.7116,
                "accurate_opp_half_passes": 5.8877,
                "crosses_total": 0.5798,
                "crosses_accurate": 0.2573,
                "touches": 16.3198,
                "possession_lost": 3.6365,
                "dispossessed": 1.0839,
                "duels_lost": 2.3328,
                "aerial_won": 0.2229,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.0298,
                "tackles": 0.0866,
                "clearances": 0.2374,
                "total_contest": 0.6734,
                "won_contest": 0.3809,
                "challenges_lost": 0.1431,
                "fouls": 0.3342,
                "fouls_drawn": 1.0376,
                "blocks": 0.0,
                "big_chances_created": 0.3533,
                "big_chances_missed": 0.0,
                "xgot": 0.0561,
                "ball_carries": 5.4643,
                "total_progression": 18.572,
                "progressive_carries": 0.9502,
                "shots_off_target": 0.435
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0158,
                "reference_quality": 0.505,
                "history_matches": 23,
                "history_shrink": 0.1786,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.8 to 23.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0494,
                "assists": 0.0598,
                "assist_rate": 0.0598,
                "expected_goals": 0.0613,
                "goals": 0.0515,
                "goal_rate": 0.0515,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0603,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41
              },
              "params": {
                "expected_minutes": 23.41,
                "projection_minutes": 21.78,
                "minutes_scale": 1.0748,
                "appearance_probability": 0.564
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0494,
                "assists": 0.0598,
                "assist_rate": 0.0598,
                "expected_goals": 0.0613,
                "goals": 0.0515,
                "goal_rate": 0.0515,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0603,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0494,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0613,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0603,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0323,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0327,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9119,
                "creation_factor": 1.1046
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 0.564
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0613,
                  "after": 0.0333
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0494,
                  "after": 0.0323
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 77.0)",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0323,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0327,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9119,
                "creation_factor": 1.1046,
                "fifa_overall": 77.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": 3181,
                "fifa_rank": 1580.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": {
                "key_pass": 0.6601,
                "expected_assists": 0.0323,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0327,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0323,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9119,
                "creation_factor": 1.1046,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0323,
                "goal_rate": 0.0515,
                "scorer_weight": 0.0304,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0193,
                "finishing_factor": 0.9119,
                "appearance_weight": 0.564,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.6601,
                "expected_assists": 0.0323,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0327,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0323,
                "projected_assists": 0,
                "assist_probability": 0.0314,
                "finishing_factor": 0.9119,
                "creation_factor": 1.1046,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0314,
                "assist_rate": 0.0598,
                "provider_weight": 0.0357,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0333,
                "creation_factor": 1.1046,
                "appearance_weight": 0.564,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Vinícius Júnior": {
          "player_id": 868812,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 176,
          "market_value": 146000000,
          "stats": {
            "expected_goals": 0.1516,
            "goal_rate": 0.0999,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 2,
            "expected_assists": 0.0948,
            "key_pass": 1,
            "rating": 6.9974,
            "minutes": 27,
            "total_pass": 10,
            "accurate_pass": 7,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 21,
            "possession_lost": 8.8262,
            "dispossessed": 1.2706,
            "duels_lost": 4,
            "aerial_lost": 0,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 2,
            "assist_rate": 0.1907,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1095,
            "offsides": 0,
            "ball_carries": 11,
            "total_progression": 105,
            "progressive_carries": 5,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.371,
            "bench_expected_minutes": 27.12,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "substitute",
              "is_starting_11": false,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 20,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0369,
                "expected_assists": 0.0097,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 5,
                "duels_won": 2
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 54,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0641,
                "expected_assists": 0.0051,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 11,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 68,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.652,
                "expected_assists": 0.0302,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 4,
                "total_pass": 17,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 4,
                "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 89,
                "rating": 7.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1475,
                "expected_assists": 0.3526,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 33,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 6,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9875,
                "expected_assists": 0.2576,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 30,
                "key_pass": 4,
                "duels_won": 6,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0377,
                "expected_assists": 0.7194,
                "total_shots": 2,
                "total_pass": 32,
                "accurate_pass": 26,
                "key_pass": 4,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 84,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 1.0849,
                "expected_assists": 0.3469,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 24,
                "key_pass": 2,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0373,
                "expected_assists": 0.0273,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 12,
                "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": 14083702,
              "match_date": "2026-05-17",
              "home_team": "Sevilla",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 77,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1658,
                "expected_assists": 0.4033,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 16,
                "key_pass": 2,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083649,
              "match_date": "2026-05-14",
              "home_team": "Real Madrid",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1318,
                "expected_assists": 0.0877,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 89,
            "combined_rank_score": 90.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 36.0,
            "fifa_rank": 90.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9974,
            "source_file": "data/player_rankings.csv",
            "player_name": "Vinícius Júnior",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bremer",
                  "ranking": 84
                },
                {
                  "player_name": "Nico Schlotterbeck",
                  "ranking": 85
                },
                {
                  "player_name": "Arturo Vidal",
                  "ranking": 86
                },
                {
                  "player_name": "Ousmane Dembélé",
                  "ranking": 87
                },
                {
                  "player_name": "Diogo Costa",
                  "ranking": 88
                }
              ],
              "lower": [
                {
                  "player_name": "Khozhiakbar Alizhonov",
                  "ranking": 90
                },
                {
                  "player_name": "Abduvokhid Nematov",
                  "ranking": 91
                },
                {
                  "player_name": "Ignacio Suárez",
                  "ranking": 92
                },
                {
                  "player_name": "Carlos Dotor",
                  "ranking": 93
                },
                {
                  "player_name": "Cristhian Martínez",
                  "ranking": 94
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.779,
          "history_matches": 43,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 43,
            "data_confidence": 0.779,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 27.121326672386694,
            "bench_appearance_prob": 0.371,
            "market_value_adjustment": 1.0123,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.3448275862068966,
              "assists_per90": 0.6896551724137931,
              "prior_reliability": 0.1933
            },
            "rationale": "Bench projection scaled from XGBoost F_service (43 historical appearances) to 27.1 expected mins (appearance prob 0.37); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1534,
                "goals": 0.1009,
                "goal_rate": 0.1009,
                "shots_on_target": 0.3782,
                "total_shots": 1.5428,
                "expected_assists": 0.0959,
                "key_pass": 0.6818,
                "rating": 6.9974,
                "minutes": 27.78,
                "total_pass": 9.6826,
                "accurate_pass": 7.068,
                "duels_won": 3.0881,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.2231,
                "accurate_opp_half_passes": 6.6085,
                "crosses_total": 0.7733,
                "crosses_accurate": 0.0,
                "touches": 21.4664,
                "possession_lost": 8.9308,
                "dispossessed": 1.2552,
                "duels_lost": 3.7733,
                "aerial_lost": 0.0,
                "total_contest": 2.8073,
                "won_contest": 0.9414,
                "ball_recovery": 0.6862,
                "challenges_lost": 0.4595,
                "fouls": 0.3854,
                "fouls_drawn": 1.7613,
                "assists": 0.1927,
                "assist_rate": 0.1927,
                "interceptions": 0.0,
                "tackles_won": 0.3854,
                "tackles": 0.3854,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.1108,
                "offsides": 0.0,
                "ball_carries": 11.0,
                "total_progression": 106.6412,
                "progressive_carries": 5.0,
                "shots_off_target": 1.1646
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.3882,
                  "totalOppositionHalfPasses": 22.2012,
                  "accurateOppositionHalfPasses": 17.5534,
                  "accuratePass": 21.2228,
                  "totalShots": 3.0566
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1534462869167328,
                    "model_output": 0.1534,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0825
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0273
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0089
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0088
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0072
                        }
                      ],
                      "others": 0.0023,
                      "total": 0.1534,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535427
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.210312
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.059759
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.059543
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.049028
                        }
                      ],
                      "others_margin": 0.016146
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10091910511255264,
                    "model_output": 0.1009,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0913
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0201
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0185
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0072
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.007
                        }
                      ],
                      "others": -0.0101,
                      "total": 0.1009,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.594113
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.197051
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.182868
                        },
                        {
                          "name": "goals",
                          "margin": 0.063174
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.061018
                        }
                      ],
                      "others_margin": -0.096431
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3782152533531189,
                    "model_output": 0.3782,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2357
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0279
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0246
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0223
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0164
                        }
                      ],
                      "others": 0.0631,
                      "total": 0.3782,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.577922
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.088695
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.071979
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.065069
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.050845
                        }
                      ],
                      "others_margin": 0.182665
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5427902936935425,
                    "model_output": 1.5428,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.6631
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2977
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1119
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0703
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0647
                        }
                      ],
                      "others": 0.2826,
                      "total": 1.5428,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.663085
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.297687
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.111885
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.070278
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.064693
                        }
                      ],
                      "others_margin": 0.282625
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09594134986400604,
                    "model_output": 0.0959,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0212
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0095
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0082
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0056
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0053
                        }
                      ],
                      "others": 0.0242,
                      "total": 0.0959,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.400305
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.19895
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.145633
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.088438
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.077043
                        }
                      ],
                      "others_margin": 0.290676
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6817799806594849,
                    "model_output": 0.6818,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2887
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0751
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0437
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0253
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0226
                        }
                      ],
                      "others": 0.1298,
                      "total": 0.6818,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.559155
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.177978
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.090779
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.048928
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.041854
                        }
                      ],
                      "others_margin": 0.211126
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.997427463531494,
                    "model_output": 6.9974,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1169
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0766
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0574
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0533
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0373
                        }
                      ],
                      "others": 0.1275,
                      "total": 6.9974,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.11688
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.076592
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.057355
                        },
                        {
                          "name": "rating",
                          "margin": 0.053333
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.037262
                        }
                      ],
                      "others_margin": 0.127605
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 43,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0123, quality 0.899)",
              "stats": {
                "expected_goals": 0.1553,
                "goals": 0.1022,
                "goal_rate": 0.1022,
                "shots_on_target": 0.3829,
                "total_shots": 1.5618,
                "expected_assists": 0.0971,
                "key_pass": 0.6902,
                "rating": 6.9974,
                "minutes": 27.78,
                "total_pass": 9.8017,
                "accurate_pass": 7.1549,
                "duels_won": 3.1261,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.3365,
                "accurate_opp_half_passes": 6.6898,
                "crosses_total": 0.7828,
                "crosses_accurate": 0.0,
                "touches": 21.7304,
                "possession_lost": 9.0406,
                "dispossessed": 1.2706,
                "duels_lost": 3.8197,
                "aerial_lost": 0.0,
                "total_contest": 2.8418,
                "won_contest": 0.953,
                "ball_recovery": 0.6946,
                "challenges_lost": 0.4652,
                "fouls": 0.3901,
                "fouls_drawn": 1.783,
                "assists": 0.1951,
                "assist_rate": 0.1951,
                "interceptions": 0.0,
                "tackles_won": 0.3901,
                "tackles": 0.3901,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1951,
                "big_chances_missed": 0.0,
                "xgot": 0.1122,
                "offsides": 0.0,
                "ball_carries": 11.1353,
                "total_progression": 107.9529,
                "progressive_carries": 5.0615,
                "shots_off_target": 1.1789
              },
              "params": {
                "market_value_eur": 146000000,
                "quality_factor": 0.8993,
                "boost_factor": 1.0123,
                "reference_quality": 0.505,
                "history_matches": 43,
                "history_shrink": 0.1042,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0131)",
              "stats": {
                "expected_goals": 0.1553,
                "goals": 0.1023,
                "goal_rate": 0.1023,
                "shots_on_target": 0.3806,
                "total_shots": 1.5511,
                "expected_assists": 0.0971,
                "key_pass": 0.6902,
                "rating": 6.9974,
                "minutes": 27.78,
                "total_pass": 9.8017,
                "accurate_pass": 7.1549,
                "duels_won": 3.1261,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.3365,
                "accurate_opp_half_passes": 6.6898,
                "crosses_total": 0.7823,
                "crosses_accurate": 0.0,
                "touches": 21.7304,
                "possession_lost": 9.0406,
                "dispossessed": 1.2706,
                "duels_lost": 3.8197,
                "aerial_lost": 0.0,
                "total_contest": 2.8418,
                "won_contest": 0.953,
                "ball_recovery": 0.6946,
                "challenges_lost": 0.4652,
                "fouls": 0.3892,
                "fouls_drawn": 1.7778,
                "assists": 0.1953,
                "assist_rate": 0.1953,
                "interceptions": 0.0,
                "tackles_won": 0.3864,
                "tackles": 0.3901,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1951,
                "big_chances_missed": 0.0,
                "xgot": 0.1122,
                "offsides": 0.0,
                "ball_carries": 11.1353,
                "total_progression": 107.9529,
                "progressive_carries": 5.0615,
                "shots_off_target": 1.1789
              },
              "params": {
                "blend_weight": 0.0131,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3087,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.5618,
                  "after": 1.5511
                },
                {
                  "stat": "wasFouled",
                  "before": 1.783,
                  "after": 1.7778
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.8 to 27.1 expected minutes (appearance prob 0.37)",
              "stats": {
                "expected_goals": 0.1516,
                "goals": 0.0999,
                "goal_rate": 0.0999,
                "shots_on_target": 0.3716,
                "total_shots": 1.5225,
                "expected_assists": 0.0948,
                "key_pass": 0.6738,
                "rating": 6.9974,
                "minutes": 27.12,
                "total_pass": 9.5693,
                "accurate_pass": 6.9853,
                "duels_won": 3.052,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.1151,
                "accurate_opp_half_passes": 6.5312,
                "crosses_total": 0.7638,
                "crosses_accurate": 0.0,
                "touches": 21.2152,
                "possession_lost": 8.8262,
                "dispossessed": 1.2706,
                "duels_lost": 3.7291,
                "aerial_lost": 0.0,
                "total_contest": 2.7744,
                "won_contest": 0.9304,
                "ball_recovery": 0.6781,
                "challenges_lost": 0.4652,
                "fouls": 0.38,
                "fouls_drawn": 1.7356,
                "assists": 0.1907,
                "assist_rate": 0.1907,
                "interceptions": 0.0,
                "tackles_won": 0.3772,
                "tackles": 0.3809,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1905,
                "big_chances_missed": 0.0,
                "xgot": 0.1095,
                "offsides": 0.0,
                "ball_carries": 10.8713,
                "total_progression": 105.3933,
                "progressive_carries": 4.9415,
                "shots_off_target": 1.1509,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 27.12
              },
              "params": {
                "expected_minutes": 27.12,
                "projection_minutes": 27.78,
                "minutes_scale": 0.9763,
                "appearance_probability": 0.371
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1516,
                "goals": 0.0999,
                "goal_rate": 0.0999,
                "shots_on_target": 0.3716,
                "total_shots": 1.5225,
                "expected_assists": 0.0948,
                "key_pass": 0.6738,
                "rating": 6.9974,
                "minutes": 27.12,
                "total_pass": 9.5693,
                "accurate_pass": 6.9853,
                "duels_won": 3.052,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.1151,
                "accurate_opp_half_passes": 6.5312,
                "crosses_total": 0.7638,
                "crosses_accurate": 0.0,
                "touches": 21.2152,
                "possession_lost": 8.8262,
                "dispossessed": 1.2706,
                "duels_lost": 3.7291,
                "aerial_lost": 0.0,
                "total_contest": 2.7744,
                "won_contest": 0.9304,
                "ball_recovery": 0.6781,
                "challenges_lost": 0.4652,
                "fouls": 0.38,
                "fouls_drawn": 1.7356,
                "assists": 0.1907,
                "assist_rate": 0.1907,
                "interceptions": 0.0,
                "tackles_won": 0.3772,
                "tackles": 0.3809,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1905,
                "big_chances_missed": 0.0,
                "xgot": 0.1095,
                "offsides": 0.0,
                "ball_carries": 10.8713,
                "total_progression": 105.3933,
                "progressive_carries": 4.9415,
                "shots_off_target": 1.1509,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 27.12
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "expected_goals": 0.1516,
                "goal_rate": 0.0999,
                "goals": 0,
                "shots_on_target": 0.3716,
                "total_shots": 1.5225,
                "expected_assists": 0.0948,
                "key_pass": 0.6738,
                "rating": 6.9974,
                "minutes": 27.12,
                "total_pass": 9.5693,
                "accurate_pass": 6.9853,
                "duels_won": 3.052,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.1151,
                "accurate_opp_half_passes": 6.5312,
                "crosses_total": 0.7638,
                "crosses_accurate": 0.0,
                "touches": 21.2152,
                "possession_lost": 8.8262,
                "dispossessed": 1.2706,
                "duels_lost": 3.7291,
                "aerial_lost": 0.0,
                "total_contest": 2.7744,
                "won_contest": 0.9304,
                "ball_recovery": 0.6781,
                "challenges_lost": 0.4652,
                "fouls": 0.38,
                "fouls_drawn": 1.7356,
                "assist_rate": 0.1907,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3772,
                "tackles": 0.3809,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1905,
                "big_chances_missed": 0.0,
                "xgot": 0.1095,
                "offsides": 0.0,
                "ball_carries": 10.8713,
                "total_progression": 105.3933,
                "progressive_carries": 4.9415,
                "shots_off_target": 1.1509,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 27.12,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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
              },
              "params": {
                "appearance_probability": 0.371,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 86.0)",
              "stats": {
                "expected_goals": 0.1516,
                "goal_rate": 0.0999,
                "goals": 0,
                "shots_on_target": 0.3716,
                "total_shots": 1.5225,
                "expected_assists": 0.0948,
                "key_pass": 0.6738,
                "rating": 6.9974,
                "minutes": 27.12,
                "total_pass": 9.5693,
                "accurate_pass": 6.9853,
                "duels_won": 3.052,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.1151,
                "accurate_opp_half_passes": 6.5312,
                "crosses_total": 0.7638,
                "crosses_accurate": 0.0,
                "touches": 21.2152,
                "possession_lost": 8.8262,
                "dispossessed": 1.2706,
                "duels_lost": 3.7291,
                "aerial_lost": 0.0,
                "total_contest": 2.7744,
                "won_contest": 0.9304,
                "ball_recovery": 0.6781,
                "challenges_lost": 0.4652,
                "fouls": 0.38,
                "fouls_drawn": 1.7356,
                "assist_rate": 0.1907,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3772,
                "tackles": 0.3809,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1905,
                "big_chances_missed": 0.0,
                "xgot": 0.1095,
                "offsides": 0.0,
                "ball_carries": 10.8713,
                "total_progression": 105.3933,
                "progressive_carries": 4.9415,
                "shots_off_target": 1.1509,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 27.12,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 89,
                "fifa_rank": 90.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 86.0
              }
            }
          ]
        },
        "Rodrygo": {
          "player_id": 910536,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 174,
          "market_value": 48000000,
          "stats": {
            "expected_goals": 0.1076,
            "goal_rate": 0.1588,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 2,
            "expected_assists": 0.0798,
            "key_pass": 1,
            "rating": 6.9187,
            "minutes": 27,
            "total_pass": 13,
            "accurate_pass": 12,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 10,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 23,
            "possession_lost": 5.3232,
            "dispossessed": 0.0292,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0904,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 34,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.627,
            "bench_expected_minutes": 26.79,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0989,
            "projected_assists": 0,
            "assist_probability": 0.0749,
            "finishing_factor": 0.9146,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 14081798,
              "match_date": "2026-03-02",
              "home_team": "Real Madrid",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 35,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6943,
                "expected_assists": 0.109,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083254,
              "match_date": "2026-02-01",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0627,
                "expected_assists": 0.0493,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083204,
              "match_date": "2026-01-04",
              "home_team": "Real Madrid",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 77,
                "rating": 8.2,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.295,
                "expected_assists": 0.5569,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 32,
                "accurate_pass": 29,
                "key_pass": 3,
                "duels_won": 9,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083185,
              "match_date": "2025-12-20",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0642,
                "expected_assists": 0.6658,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 36,
                "accurate_pass": 32,
                "key_pass": 6,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083164,
              "match_date": "2025-12-14",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 83,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6756,
                "expected_assists": 0.0133,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 30,
                "accurate_pass": 29,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083158,
              "match_date": "2025-12-07",
              "home_team": "Real Madrid",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 36,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0296,
                "expected_assists": 0.1052,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083210,
              "match_date": "2025-12-03",
              "home_team": "Athletic Club",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0577,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083139,
              "match_date": "2025-11-30",
              "home_team": "Girona FC",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 18,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0472,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083124,
              "match_date": "2025-11-23",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 57,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1995,
                "expected_assists": 0.0448,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083112,
              "match_date": "2025-11-09",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 303,
            "combined_rank_score": 209.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 189.0,
            "sofascore_rating": 7.22,
            "sofascore_appearances": 5.0,
            "fifa_rank": 229.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9187,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rodrygo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Zubimendi",
                  "ranking": 298
                },
                {
                  "player_name": "Kim Min-Seung",
                  "ranking": 299
                },
                {
                  "player_name": "Aurélien Tchouaméni",
                  "ranking": 300
                },
                {
                  "player_name": "Robert Lewandowski",
                  "ranking": 301
                },
                {
                  "player_name": "Matthijs de Ligt",
                  "ranking": 302
                }
              ],
              "lower": [
                {
                  "player_name": "Aleksandar Šušnjar",
                  "ranking": 304
                },
                {
                  "player_name": "Brian Fariñas",
                  "ranking": 305
                },
                {
                  "player_name": "Serge Gnabry",
                  "ranking": 306
                },
                {
                  "player_name": "Kyu-baek Choi",
                  "ranking": 307
                },
                {
                  "player_name": "Lorenzo Reyes",
                  "ranking": 308
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 19,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 19,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 26.794636121884068,
            "bench_appearance_prob": 0.6270289146310939,
            "market_value_adjustment": 1.0195,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (19 historical appearances) to 26.8 expected mins (appearance prob 0.63)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1309,
                "goals": 0.1165,
                "goal_rate": 0.1165,
                "shots_on_target": 0.3653,
                "total_shots": 1.1345,
                "expected_assists": 0.0806,
                "key_pass": 0.6583,
                "rating": 6.9187,
                "minutes": 20.05,
                "total_pass": 9.2518,
                "accurate_pass": 8.5226,
                "duels_won": 1.8983,
                "total_long_balls": 0.1094,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.7291,
                "accurate_opp_half_passes": 7.0546,
                "crosses_total": 2.2229,
                "crosses_accurate": 0.5622,
                "touches": 17.0973,
                "possession_lost": 3.9071,
                "dispossessed": 0.0286,
                "duels_lost": 1.7031,
                "aerial_lost": 0.4067,
                "total_contest": 1.512,
                "won_contest": 0.5622,
                "ball_recovery": 0.8248,
                "challenges_lost": 0.1876,
                "fouls": 0.1304,
                "fouls_drawn": 0.6553,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4351,
                "tackles": 0.6808,
                "clearances": 0.1706,
                "blocks": 0.0,
                "big_chances_created": 0.0336,
                "big_chances_missed": 0.3413,
                "xgot": 0.1101,
                "offsides": 0.0,
                "ball_carries": 6.6573,
                "total_progression": 24.7662,
                "progressive_carries": 1.9391,
                "shots_off_target": 0.7692
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-03-02",
                    "opponent": "Getafe",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1572,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1336,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-01-04",
                    "opponent": "Real Betis",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1136,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2025-12-20",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0965,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2025-12-14",
                    "opponent": "Deportivo Alavés",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.082,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2025-12-07",
                    "opponent": "Celta Vigo",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.0697,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2025-12-03",
                    "opponent": "Athletic Club",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0593,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-11-30",
                    "opponent": "Girona FC",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0504,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-11-23",
                    "opponent": "Elche",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0428,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2025-11-09",
                    "opponent": "Rayo Vallecano",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0364,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 19.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.2355,
                  "totalOppositionHalfPasses": 14.0281,
                  "accurateOppositionHalfPasses": 12.6947,
                  "accuratePass": 16.6354,
                  "totalShots": 1.7582
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1308610886335373,
                    "model_output": 0.1309,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0848
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0218
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0093
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.008
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0054
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.1309,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.555574
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.174499
                        },
                        {
                          "name": "goals",
                          "margin": -0.070783
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.061391
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.039536
                        }
                      ],
                      "others_margin": -0.06801
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1164812296628952,
                    "model_output": 0.1165,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0784
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.03
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0142
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0088
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.1165,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.485538
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.214802
                        },
                        {
                          "name": "goals",
                          "margin": -0.095757
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.064496
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.061572
                        }
                      ],
                      "others_margin": -0.0666
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3652588129043579,
                    "model_output": 0.3653,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1948
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0247
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0186
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0175
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0131
                        }
                      ],
                      "others": 0.0214,
                      "total": 0.3653,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.450687
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.069677
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.051901
                        },
                        {
                          "name": "goals",
                          "margin": -0.051415
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.038715
                        }
                      ],
                      "others_margin": 0.060258
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1344325542449951,
                    "model_output": 1.1344,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5239
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.094
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0528
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0384
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0306
                        }
                      ],
                      "others": 0.0638,
                      "total": 1.1344,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52387
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.09404
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.052836
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.038358
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.030626
                        }
                      ],
                      "others_margin": 0.063737
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08058829605579376,
                    "model_output": 0.0806,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0185
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.008
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.007
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0057
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0044
                        }
                      ],
                      "others": 0.0211,
                      "total": 0.0806,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.339001
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.160952
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.12243
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.09858
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.076985
                        }
                      ],
                      "others_margin": 0.303267
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6582596898078918,
                    "model_output": 0.6583,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2694
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0436
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0447
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0286
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0277
                        }
                      ],
                      "others": 0.1645,
                      "total": 0.6583,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.510433
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.102401
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.094991
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.05648
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.054677
                        }
                      ],
                      "others_margin": 0.287641
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.918698787689209,
                    "model_output": 6.9187,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.087
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0489
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0361
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0259
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.023
                        }
                      ],
                      "others": 0.1096,
                      "total": 6.9187,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.08697
                        },
                        {
                          "name": "rating",
                          "margin": 0.048919
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.036065
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.025889
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.023043
                        }
                      ],
                      "others_margin": 0.109592
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 19,
                  "role_matches": 13,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0195, quality 0.817)",
              "stats": {
                "expected_goals": 0.1334,
                "goals": 0.1188,
                "goal_rate": 0.1188,
                "shots_on_target": 0.3724,
                "total_shots": 1.1566,
                "expected_assists": 0.0822,
                "key_pass": 0.6711,
                "rating": 6.9187,
                "minutes": 20.05,
                "total_pass": 9.4322,
                "accurate_pass": 8.6888,
                "duels_won": 1.9353,
                "total_long_balls": 0.1115,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8798,
                "accurate_opp_half_passes": 7.1922,
                "crosses_total": 2.2662,
                "crosses_accurate": 0.5732,
                "touches": 17.4307,
                "possession_lost": 3.9833,
                "dispossessed": 0.0292,
                "duels_lost": 1.7363,
                "aerial_lost": 0.4146,
                "total_contest": 1.5415,
                "won_contest": 0.5732,
                "ball_recovery": 0.8409,
                "challenges_lost": 0.1913,
                "fouls": 0.1329,
                "fouls_drawn": 0.6681,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4436,
                "tackles": 0.6941,
                "clearances": 0.1739,
                "blocks": 0.0,
                "big_chances_created": 0.0343,
                "big_chances_missed": 0.348,
                "xgot": 0.1122,
                "offsides": 0.0,
                "ball_carries": 6.7871,
                "total_progression": 25.2491,
                "progressive_carries": 1.9769,
                "shots_off_target": 0.7842
              },
              "params": {
                "market_value_eur": 48000000,
                "quality_factor": 0.8168,
                "boost_factor": 1.0195,
                "reference_quality": 0.505,
                "history_matches": 19,
                "history_shrink": 0.2083,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.1 to 26.8 expected minutes (appearance prob 0.63)",
              "stats": {
                "expected_goals": 0.1783,
                "goals": 0.1588,
                "goal_rate": 0.1588,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.1099,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.1499,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79
              },
              "params": {
                "expected_minutes": 26.79,
                "projection_minutes": 20.05,
                "minutes_scale": 1.3364,
                "appearance_probability": 0.627
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1783,
                "goals": 0.1588,
                "goal_rate": 0.1588,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.1099,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.1499,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1783,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.1099,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.1499,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1076,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.0798,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.0904,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9146,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 0.627
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1783,
                  "after": 0.1076
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1099,
                  "after": 0.0798
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 84.0)",
              "stats": {
                "expected_goals": 0.1076,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.0798,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.0904,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9146,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 303,
                "fifa_rank": 229.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.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.1076,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.0798,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.0904,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0989,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9146,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0989,
                "goal_rate": 0.1588,
                "scorer_weight": 0.0984,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0626,
                "finishing_factor": 0.9146,
                "appearance_weight": 0.627,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.1076,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.0798,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.0904,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0989,
                "projected_assists": 0,
                "assist_probability": 0.0749,
                "finishing_factor": 0.9146,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0749,
                "assist_rate": 0.0,
                "provider_weight": 0.0638,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0596,
                "creation_factor": 0.8,
                "appearance_weight": 0.627,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Rodrygo": {
          "player_id": 910536,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 174,
          "market_value": 48000000,
          "stats": {
            "expected_goals": 0.1076,
            "goal_rate": 0.1588,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 2,
            "expected_assists": 0.0798,
            "key_pass": 1,
            "rating": 6.9187,
            "minutes": 27,
            "total_pass": 13,
            "accurate_pass": 12,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 10,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 23,
            "possession_lost": 5.3232,
            "dispossessed": 0.0292,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0904,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 34,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.627,
            "bench_expected_minutes": 26.79,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0989,
            "projected_assists": 0,
            "assist_probability": 0.0749,
            "finishing_factor": 0.9146,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 14081798,
              "match_date": "2026-03-02",
              "home_team": "Real Madrid",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 35,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6943,
                "expected_assists": 0.109,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083254,
              "match_date": "2026-02-01",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0627,
                "expected_assists": 0.0493,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083204,
              "match_date": "2026-01-04",
              "home_team": "Real Madrid",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 77,
                "rating": 8.2,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.295,
                "expected_assists": 0.5569,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 32,
                "accurate_pass": 29,
                "key_pass": 3,
                "duels_won": 9,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083185,
              "match_date": "2025-12-20",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0642,
                "expected_assists": 0.6658,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 36,
                "accurate_pass": 32,
                "key_pass": 6,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083164,
              "match_date": "2025-12-14",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 83,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6756,
                "expected_assists": 0.0133,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 30,
                "accurate_pass": 29,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083158,
              "match_date": "2025-12-07",
              "home_team": "Real Madrid",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 36,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0296,
                "expected_assists": 0.1052,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083210,
              "match_date": "2025-12-03",
              "home_team": "Athletic Club",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0577,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083139,
              "match_date": "2025-11-30",
              "home_team": "Girona FC",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 18,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0472,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083124,
              "match_date": "2025-11-23",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 57,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1995,
                "expected_assists": 0.0448,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083112,
              "match_date": "2025-11-09",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 303,
            "combined_rank_score": 209.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 189.0,
            "sofascore_rating": 7.22,
            "sofascore_appearances": 5.0,
            "fifa_rank": 229.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9187,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rodrygo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Zubimendi",
                  "ranking": 298
                },
                {
                  "player_name": "Kim Min-Seung",
                  "ranking": 299
                },
                {
                  "player_name": "Aurélien Tchouaméni",
                  "ranking": 300
                },
                {
                  "player_name": "Robert Lewandowski",
                  "ranking": 301
                },
                {
                  "player_name": "Matthijs de Ligt",
                  "ranking": 302
                }
              ],
              "lower": [
                {
                  "player_name": "Aleksandar Šušnjar",
                  "ranking": 304
                },
                {
                  "player_name": "Brian Fariñas",
                  "ranking": 305
                },
                {
                  "player_name": "Serge Gnabry",
                  "ranking": 306
                },
                {
                  "player_name": "Kyu-baek Choi",
                  "ranking": 307
                },
                {
                  "player_name": "Lorenzo Reyes",
                  "ranking": 308
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 19,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 19,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 26.794636121884068,
            "bench_appearance_prob": 0.6270289146310939,
            "market_value_adjustment": 1.0195,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (19 historical appearances) to 26.8 expected mins (appearance prob 0.63)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1309,
                "goals": 0.1165,
                "goal_rate": 0.1165,
                "shots_on_target": 0.3653,
                "total_shots": 1.1345,
                "expected_assists": 0.0806,
                "key_pass": 0.6583,
                "rating": 6.9187,
                "minutes": 20.05,
                "total_pass": 9.2518,
                "accurate_pass": 8.5226,
                "duels_won": 1.8983,
                "total_long_balls": 0.1094,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.7291,
                "accurate_opp_half_passes": 7.0546,
                "crosses_total": 2.2229,
                "crosses_accurate": 0.5622,
                "touches": 17.0973,
                "possession_lost": 3.9071,
                "dispossessed": 0.0286,
                "duels_lost": 1.7031,
                "aerial_lost": 0.4067,
                "total_contest": 1.512,
                "won_contest": 0.5622,
                "ball_recovery": 0.8248,
                "challenges_lost": 0.1876,
                "fouls": 0.1304,
                "fouls_drawn": 0.6553,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4351,
                "tackles": 0.6808,
                "clearances": 0.1706,
                "blocks": 0.0,
                "big_chances_created": 0.0336,
                "big_chances_missed": 0.3413,
                "xgot": 0.1101,
                "offsides": 0.0,
                "ball_carries": 6.6573,
                "total_progression": 24.7662,
                "progressive_carries": 1.9391,
                "shots_off_target": 0.7692
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-25T10:06:48.009837+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-03-02",
                    "opponent": "Getafe",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1572,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1336,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-01-04",
                    "opponent": "Real Betis",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1136,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2025-12-20",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0965,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2025-12-14",
                    "opponent": "Deportivo Alavés",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.082,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2025-12-07",
                    "opponent": "Celta Vigo",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.0697,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2025-12-03",
                    "opponent": "Athletic Club",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0593,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-11-30",
                    "opponent": "Girona FC",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0504,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-11-23",
                    "opponent": "Elche",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0428,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2025-11-09",
                    "opponent": "Rayo Vallecano",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0364,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 19.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.2355,
                  "totalOppositionHalfPasses": 14.0281,
                  "accurateOppositionHalfPasses": 12.6947,
                  "accuratePass": 16.6354,
                  "totalShots": 1.7582
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1308610886335373,
                    "model_output": 0.1309,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.267
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0946
                      },
                      {
                        "name": "goals",
                        "importance": 0.0367
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0304
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0219
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0848
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0218
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0093
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.008
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0054
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.1309,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.555574
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.174499
                        },
                        {
                          "name": "goals",
                          "margin": -0.070783
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.061391
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.039536
                        }
                      ],
                      "others_margin": -0.06801
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1164812296628952,
                    "model_output": 0.1165,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1205
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0899
                      },
                      {
                        "name": "goals",
                        "importance": 0.0562
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0317
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 0.2037,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0784
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.03
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0142
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0088
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.1165,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.485538
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.214802
                        },
                        {
                          "name": "goals",
                          "margin": -0.095757
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.064496
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.061572
                        }
                      ],
                      "others_margin": -0.0666
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3652588129043579,
                    "model_output": 0.3653,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0606
                      },
                      {
                        "name": "goals",
                        "importance": 0.0481
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.047
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0391
                      }
                    ],
                    "decomposition": {
                      "base": 0.537,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1948
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0247
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0186
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0175
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0131
                        }
                      ],
                      "others": 0.0214,
                      "total": 0.3653,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.450687
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.069677
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.051901
                        },
                        {
                          "name": "goals",
                          "margin": -0.051415
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.038715
                        }
                      ],
                      "others_margin": 0.060258
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1344325542449951,
                    "model_output": 1.1344,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2742
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0628
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0421
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0391
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 1.3787,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5239
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.094
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0528
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0384
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0306
                        }
                      ],
                      "others": 0.0638,
                      "total": 1.1344,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52387
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.09404
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.052836
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.038358
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.030626
                        }
                      ],
                      "others_margin": 0.063737
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08058829605579376,
                    "model_output": 0.0806,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1224
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0695
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0686
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0588
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.057
                      }
                    ],
                    "decomposition": {
                      "base": 0.0643,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0185
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.008
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.007
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0057
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0044
                        }
                      ],
                      "others": 0.0211,
                      "total": 0.0806,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.339001
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.160952
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.12243
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.09858
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.076985
                        }
                      ],
                      "others_margin": 0.303267
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6582596898078918,
                    "model_output": 0.6583,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1529
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1213
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.055
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0489
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0452
                      }
                    ],
                    "decomposition": {
                      "base": 0.674,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2694
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0436
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0447
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0286
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0277
                        }
                      ],
                      "others": 0.1645,
                      "total": 0.6583,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.510433
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.102401
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.094991
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.05648
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.054677
                        }
                      ],
                      "others_margin": 0.287641
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.918698787689209,
                    "model_output": 6.9187,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0739
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0574
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0442
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0409
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0331
                      }
                    ],
                    "decomposition": {
                      "base": 6.7622,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.087
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0489
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0361
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0259
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.023
                        }
                      ],
                      "others": 0.1096,
                      "total": 6.9187,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.08697
                        },
                        {
                          "name": "rating",
                          "margin": 0.048919
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.036065
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.025889
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.023043
                        }
                      ],
                      "others_margin": 0.109592
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 19,
                  "role_matches": 13,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0195, quality 0.817)",
              "stats": {
                "expected_goals": 0.1334,
                "goals": 0.1188,
                "goal_rate": 0.1188,
                "shots_on_target": 0.3724,
                "total_shots": 1.1566,
                "expected_assists": 0.0822,
                "key_pass": 0.6711,
                "rating": 6.9187,
                "minutes": 20.05,
                "total_pass": 9.4322,
                "accurate_pass": 8.6888,
                "duels_won": 1.9353,
                "total_long_balls": 0.1115,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8798,
                "accurate_opp_half_passes": 7.1922,
                "crosses_total": 2.2662,
                "crosses_accurate": 0.5732,
                "touches": 17.4307,
                "possession_lost": 3.9833,
                "dispossessed": 0.0292,
                "duels_lost": 1.7363,
                "aerial_lost": 0.4146,
                "total_contest": 1.5415,
                "won_contest": 0.5732,
                "ball_recovery": 0.8409,
                "challenges_lost": 0.1913,
                "fouls": 0.1329,
                "fouls_drawn": 0.6681,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4436,
                "tackles": 0.6941,
                "clearances": 0.1739,
                "blocks": 0.0,
                "big_chances_created": 0.0343,
                "big_chances_missed": 0.348,
                "xgot": 0.1122,
                "offsides": 0.0,
                "ball_carries": 6.7871,
                "total_progression": 25.2491,
                "progressive_carries": 1.9769,
                "shots_off_target": 0.7842
              },
              "params": {
                "market_value_eur": 48000000,
                "quality_factor": 0.8168,
                "boost_factor": 1.0195,
                "reference_quality": 0.505,
                "history_matches": 19,
                "history_shrink": 0.2083,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.1 to 26.8 expected minutes (appearance prob 0.63)",
              "stats": {
                "expected_goals": 0.1783,
                "goals": 0.1588,
                "goal_rate": 0.1588,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.1099,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.1499,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79
              },
              "params": {
                "expected_minutes": 26.79,
                "projection_minutes": 20.05,
                "minutes_scale": 1.3364,
                "appearance_probability": 0.627
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1783,
                "goals": 0.1588,
                "goal_rate": 0.1588,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.1099,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.1499,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1783,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.1099,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.1499,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1076,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.0798,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.0904,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9146,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 0.627
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1783,
                  "after": 0.1076
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1099,
                  "after": 0.0798
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 84.0)",
              "stats": {
                "expected_goals": 0.1076,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.0798,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.0904,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9146,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 303,
                "fifa_rank": 229.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.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.1076,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.0798,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.0904,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0989,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9146,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0989,
                "goal_rate": 0.1588,
                "scorer_weight": 0.0984,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0626,
                "finishing_factor": 0.9146,
                "appearance_weight": 0.627,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.1076,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.0798,
                "key_pass": 0.8969,
                "rating": 6.9187,
                "minutes": 26.79,
                "total_pass": 12.6051,
                "accurate_pass": 11.6116,
                "duels_won": 2.5863,
                "total_long_balls": 0.149,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 10.5305,
                "accurate_opp_half_passes": 9.6116,
                "crosses_total": 3.0285,
                "crosses_accurate": 0.766,
                "touches": 23.2942,
                "possession_lost": 5.3232,
                "dispossessed": 0.0292,
                "duels_lost": 2.3204,
                "aerial_lost": 0.4146,
                "total_contest": 2.06,
                "won_contest": 0.766,
                "ball_recovery": 1.1238,
                "challenges_lost": 0.1913,
                "fouls": 0.1776,
                "fouls_drawn": 0.8928,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5928,
                "tackles": 0.9276,
                "clearances": 0.2324,
                "blocks": 0.0,
                "big_chances_created": 0.0458,
                "big_chances_missed": 0.4651,
                "xgot": 0.0904,
                "offsides": 0.0,
                "ball_carries": 9.0702,
                "total_progression": 33.7427,
                "progressive_carries": 2.6419,
                "shots_off_target": 1.048,
                "bench_appearance_probability": 0.627,
                "bench_expected_minutes": 26.79,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0989,
                "projected_assists": 0,
                "assist_probability": 0.0749,
                "finishing_factor": 0.9146,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0749,
                "assist_rate": 0.0,
                "provider_weight": 0.0638,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0596,
                "creation_factor": 0.8,
                "appearance_weight": 0.627,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Franco Mastantuono": {
          "player_id": 1403559,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 30,
          "height": 177,
          "market_value": 44000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0323,
            "assist_rate": 0.0598,
            "assists": 0,
            "expected_goals": 0.0333,
            "goal_rate": 0.0515,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6887,
            "minutes": 23,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 3.9085,
            "dispossessed": 1.0839,
            "duels_lost": 3,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0327,
            "ball_carries": 6,
            "total_progression": 20,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.564,
            "bench_expected_minutes": 23.41,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0323,
            "projected_assists": 0,
            "assist_probability": 0.0314,
            "finishing_factor": 0.9119,
            "creation_factor": 1.1046,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 74,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0177,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083702,
              "match_date": "2026-05-17",
              "home_team": "Sevilla",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1805,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083649,
              "match_date": "2026-05-14",
              "home_team": "Real Madrid",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 77,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2965,
                "expected_assists": 0.0645,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 40,
                "key_pass": 3,
                "interceptions": 1,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 37,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3085,
                "expected_assists": 0.0566,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 1,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 32,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0845,
                "expected_assists": 0.0045,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 10,
                "accurate_pass": 8,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081816,
              "match_date": "2026-04-04",
              "home_team": "Mallorca",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 14,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0448,
                "expected_assists": 0.0218,
                "total_shots": 1,
                "total_pass": 7,
                "accurate_pass": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081798,
              "match_date": "2026-03-02",
              "home_team": "Real Madrid",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 26,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0475,
                "expected_assists": 0.3805,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_pass": 2,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083327,
              "match_date": "2026-02-08",
              "home_team": "Valencia",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Valencia",
              "stats": {
                "minutes": 8,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0309,
                "expected_assists": 0.0373,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083254,
              "match_date": "2026-02-01",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 60,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0286,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3181,
            "combined_rank_score": 1147.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 715.0,
            "sofascore_rating": 6.687,
            "sofascore_appearances": 23.0,
            "fifa_rank": 1580.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6887,
            "source_file": "data/player_rankings.csv",
            "player_name": "Franco Mastantuono",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Timothy Weah",
                  "ranking": 3176
                },
                {
                  "player_name": "Jordan Teze",
                  "ranking": 3177
                },
                {
                  "player_name": "Charlie Cresswell",
                  "ranking": 3178
                },
                {
                  "player_name": "Jaydee Canvot",
                  "ranking": 3179
                },
                {
                  "player_name": "Julio César Enciso",
                  "ranking": 3180
                }
              ],
              "lower": [
                {
                  "player_name": "Altay Bayındır",
                  "ranking": 3182
                },
                {
                  "player_name": "Daniel Bragança",
                  "ranking": 3183
                },
                {
                  "player_name": "Hákon Arnar Haraldsson",
                  "ranking": 3184
                },
                {
                  "player_name": "Brajan Gruda",
                  "ranking": 3185
                },
                {
                  "player_name": "Guillaume Restes",
                  "ranking": 3186
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 23,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 23,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 23.408988063086046,
            "bench_appearance_prob": 0.5640449119584566,
            "market_value_adjustment": 1.0158,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (23 historical appearances) to 23.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.6046,
                "expected_assists": 0.0453,
                "assists": 0.0547,
                "assist_rate": 0.0547,
                "expected_goals": 0.0561,
                "goals": 0.0471,
                "goal_rate": 0.0471,
                "shots_on_target": 0.2386,
                "total_shots": 0.6669,
                "rating": 6.6887,
                "minutes": 21.78,
                "total_pass": 9.2921,
                "accurate_pass": 8.4518,
                "duels_won": 1.7013,
                "total_long_balls": 0.2898,
                "accurate_long_balls": 0.1824,
                "total_own_half_passes": 2.6849,
                "accurate_own_half_passes": 2.6556,
                "total_opp_half_passes": 6.6072,
                "accurate_opp_half_passes": 5.7961,
                "crosses_total": 0.5708,
                "crosses_accurate": 0.2533,
                "touches": 16.066,
                "possession_lost": 3.5799,
                "dispossessed": 1.067,
                "duels_lost": 2.2965,
                "aerial_won": 0.2194,
                "aerial_lost": 0.5494,
                "interceptions": 0.0,
                "tackles_won": 0.0293,
                "tackles": 0.0853,
                "clearances": 0.2337,
                "total_contest": 0.6629,
                "won_contest": 0.375,
                "challenges_lost": 0.1409,
                "fouls": 0.329,
                "fouls_drawn": 1.0215,
                "blocks": 0.0,
                "big_chances_created": 0.3478,
                "big_chances_missed": 0.0,
                "xgot": 0.0552,
                "ball_carries": 5.3793,
                "total_progression": 18.2831,
                "progressive_carries": 0.9354,
                "shots_off_target": 0.4282
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1537,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1306,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Oviedo",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.111,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "FC Barcelona",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0944,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 37.0,
                    "is_starting": false,
                    "weight": 0.0802,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Deportivo Alavés",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0682,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Mallorca",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.058,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-03-02",
                    "opponent": "Getafe",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0493,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-02-08",
                    "opponent": "Valencia",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0419,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Rayo Vallecano",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0356,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.9409,
                  "creative_index": 0.3498,
                  "expectedGoals": 0.112,
                  "expectedAssists": 0.0611,
                  "onTargetScoringAttempt": 0.2724
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6046447157859802,
                    "model_output": 0.6046,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3483
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0309
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0258
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0192
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.019
                        }
                      ],
                      "others": 0.0336,
                      "total": 0.6046,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.49934
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.059252
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.04966
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.035407
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.033902
                        }
                      ],
                      "others_margin": 0.057325
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04528839886188507,
                    "model_output": 0.0453,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0368
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0049
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0026
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0024
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0015
                        }
                      ],
                      "others": 0.0025,
                      "total": 0.0453,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.561328
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.105496
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.056597
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.052854
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.034131
                        }
                      ],
                      "others_margin": 0.058555
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.054717447608709335,
                    "model_output": 0.0547,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0218
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0036
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0033
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0028
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0038,
                      "total": 0.0547,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.295574
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.055462
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.049985
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.045213
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.040921
                        }
                      ],
                      "others_margin": -0.066936
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.056107740849256516,
                    "model_output": 0.0561,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.04
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0101
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0029
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0027
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0057,
                      "total": 0.0561,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.551439
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.170813
                        },
                        {
                          "name": "goals",
                          "margin": -0.046405
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.042574
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.039531
                        }
                      ],
                      "others_margin": -0.096576
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.047137290239334106,
                    "model_output": 0.0471,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0409
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.006
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.005
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0043
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": 0.0042
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.0471,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.543417
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.100911
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.076876
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.065812
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": 0.06364
                        }
                      ],
                      "others_margin": -0.360477
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.23861375451087952,
                    "model_output": 0.2386,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.14
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0197
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0128
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0083
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0085
                        }
                      ],
                      "others": 0.0053,
                      "total": 0.2386,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.565945
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.101762
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.0609
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.037609
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.037158
                        }
                      ],
                      "others_margin": 0.022645
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6668526530265808,
                    "model_output": 0.6669,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4585
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0327
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0325
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0247
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0216
                        }
                      ],
                      "others": 0.0728,
                      "total": 0.6669,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.458469
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.032743
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.032519
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.02465
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.021646
                        }
                      ],
                      "others_margin": 0.0726
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.688675880432129,
                    "model_output": 6.6887,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0725
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0267
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0259
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0136
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0071
                        }
                      ],
                      "others": -0.0144,
                      "total": 6.6887,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.072548
                        },
                        {
                          "name": "rating",
                          "margin": -0.026656
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.02592
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.013627
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.007105
                        }
                      ],
                      "others_margin": -0.01434
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 23,
                  "role_matches": 12,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0158, quality 0.800)",
              "stats": {
                "key_pass": 0.6142,
                "expected_assists": 0.046,
                "assists": 0.0556,
                "assist_rate": 0.0556,
                "expected_goals": 0.057,
                "goals": 0.0479,
                "goal_rate": 0.0479,
                "shots_on_target": 0.2424,
                "total_shots": 0.6774,
                "rating": 6.6887,
                "minutes": 21.78,
                "total_pass": 9.4389,
                "accurate_pass": 8.5853,
                "duels_won": 1.7282,
                "total_long_balls": 0.2944,
                "accurate_long_balls": 0.1853,
                "total_own_half_passes": 2.7273,
                "accurate_own_half_passes": 2.6976,
                "total_opp_half_passes": 6.7116,
                "accurate_opp_half_passes": 5.8877,
                "crosses_total": 0.5798,
                "crosses_accurate": 0.2573,
                "touches": 16.3198,
                "possession_lost": 3.6365,
                "dispossessed": 1.0839,
                "duels_lost": 2.3328,
                "aerial_won": 0.2229,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.0298,
                "tackles": 0.0866,
                "clearances": 0.2374,
                "total_contest": 0.6734,
                "won_contest": 0.3809,
                "challenges_lost": 0.1431,
                "fouls": 0.3342,
                "fouls_drawn": 1.0376,
                "blocks": 0.0,
                "big_chances_created": 0.3533,
                "big_chances_missed": 0.0,
                "xgot": 0.0561,
                "ball_carries": 5.4643,
                "total_progression": 18.572,
                "progressive_carries": 0.9502,
                "shots_off_target": 0.435
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0158,
                "reference_quality": 0.505,
                "history_matches": 23,
                "history_shrink": 0.1786,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.8 to 23.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0494,
                "assists": 0.0598,
                "assist_rate": 0.0598,
                "expected_goals": 0.0613,
                "goals": 0.0515,
                "goal_rate": 0.0515,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0603,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41
              },
              "params": {
                "expected_minutes": 23.41,
                "projection_minutes": 21.78,
                "minutes_scale": 1.0748,
                "appearance_probability": 0.564
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0494,
                "assists": 0.0598,
                "assist_rate": 0.0598,
                "expected_goals": 0.0613,
                "goals": 0.0515,
                "goal_rate": 0.0515,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0603,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0494,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0613,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0603,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0323,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0327,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9119,
                "creation_factor": 1.1046
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 0.564
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0613,
                  "after": 0.0333
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0494,
                  "after": 0.0323
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 77.0)",
              "stats": {
                "key_pass": 0.6601,
                "expected_assists": 0.0323,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0327,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9119,
                "creation_factor": 1.1046,
                "fifa_overall": 77.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": 3181,
                "fifa_rank": 1580.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": {
                "key_pass": 0.6601,
                "expected_assists": 0.0323,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0327,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0323,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9119,
                "creation_factor": 1.1046,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0323,
                "goal_rate": 0.0515,
                "scorer_weight": 0.0304,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0193,
                "finishing_factor": 0.9119,
                "appearance_weight": 0.564,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.6601,
                "expected_assists": 0.0323,
                "assist_rate": 0.0598,
                "assists": 0,
                "expected_goals": 0.0333,
                "goal_rate": 0.0515,
                "goals": 0,
                "shots_on_target": 0.2605,
                "total_shots": 0.7281,
                "rating": 6.6887,
                "minutes": 23.41,
                "total_pass": 10.1449,
                "accurate_pass": 9.2274,
                "duels_won": 1.8575,
                "total_long_balls": 0.3164,
                "accurate_long_balls": 0.1992,
                "total_own_half_passes": 2.9313,
                "accurate_own_half_passes": 2.8994,
                "total_opp_half_passes": 7.2136,
                "accurate_opp_half_passes": 6.3281,
                "crosses_total": 0.6232,
                "crosses_accurate": 0.2765,
                "touches": 17.5404,
                "possession_lost": 3.9085,
                "dispossessed": 1.0839,
                "duels_lost": 2.5073,
                "aerial_won": 0.2396,
                "aerial_lost": 0.5581,
                "interceptions": 0.0,
                "tackles_won": 0.032,
                "tackles": 0.0931,
                "clearances": 0.2552,
                "total_contest": 0.7238,
                "won_contest": 0.4094,
                "challenges_lost": 0.1431,
                "fouls": 0.3592,
                "fouls_drawn": 1.1152,
                "blocks": 0.0,
                "big_chances_created": 0.3797,
                "big_chances_missed": 0.0,
                "xgot": 0.0327,
                "ball_carries": 5.873,
                "total_progression": 19.9611,
                "progressive_carries": 1.0213,
                "shots_off_target": 0.4675,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 23.41,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0323,
                "projected_assists": 0,
                "assist_probability": 0.0314,
                "finishing_factor": 0.9119,
                "creation_factor": 1.1046,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0314,
                "assist_rate": 0.0598,
                "provider_weight": 0.0357,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0333,
                "creation_factor": 1.1046,
                "appearance_weight": 0.564,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Arda Güler": {
          "player_id": 1091116,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 176,
          "market_value": 97000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0488,
            "assist_rate": 0.1264,
            "assists": 0,
            "expected_goals": 0.0312,
            "goal_rate": 0.0686,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9666,
            "minutes": 13,
            "total_pass": 12,
            "accurate_pass": 11,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 17,
            "possession_lost": 2.3838,
            "dispossessed": 0.288,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0526,
            "ball_carries": 5,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.472,
            "bench_expected_minutes": 12.9,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.477,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0302,
            "projected_assists": 0,
            "assist_probability": 0.0464,
            "finishing_factor": 0.9992,
            "creation_factor": 1.25,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_type": "played",
              "match_id": 16421075,
              "match_date": "2026-10-18 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Sevilla",
              "home_score_current": 4.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": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 78,
                "rating": 8.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0571,
                "expected_assists": 0.066,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 64,
                "accurate_pass": 60,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "source": "lineup.csv"
            },
            {
              "match_type": "played",
              "match_id": 16421066,
              "match_date": "2026-10-10 19:00:00 UTC",
              "league_name": "LaLiga",
              "league_id": 8,
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": 97268,
              "season_name": "LaLiga 26/27",
              "season_year": "26/27",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "home_score_current": 1.0,
              "away_score_current": 0.0,
              "team_side": "home",
              "status_code": 100,
              "status_type": "finished",
              "status_description": "Ended",
              "player_status": "starter",
              "is_starting_11": true,
              "team": "Real Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0679,
                "expected_assists": 0.1297,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 36,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "source": "depth_chart.csv"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 54,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0138,
                "expected_assists": 0.0608,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 14,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 68,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9075,
                "expected_assists": 0.3531,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 26,
                "accurate_pass": 25,
                "key_pass": 3,
                "interceptions": 1,
                "duels_won": 4,
                "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": 16416331,
              "match_date": "2026-09-12",
              "home_team": "Real Madrid",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 18,
                "rating": 7.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0172,
                "expected_assists": 0.686,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 16,
                "key_pass": 5,
                "duels_won": 2,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 64,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0429,
                "expected_assists": 0.6869,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 40,
                "accurate_pass": 36,
                "key_pass": 7,
                "clearances": 1,
                "duels_won": 3,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 7,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0081,
                "expected_assists": 0.0157,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 1,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 78,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0362,
                "expected_assists": 0.3801,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 46,
                "accurate_pass": 41,
                "key_pass": 5,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 64,
                "rating": 8.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.8547,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 38,
                "key_pass": 7,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "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": 14083731,
              "match_date": "2026-05-23",
              "home_team": "Real Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 16,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 250,
            "combined_rank_score": 186.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 59.0,
            "sofascore_rating": 7.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 314.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9666,
            "source_file": "data/player_rankings.csv",
            "player_name": "Arda Güler",
            "ranking_neighbors": {
              "upper": [
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "David Raum",
                  "ranking": 251
                },
                {
                  "player_name": "Bryan Carvallo",
                  "ranking": 252
                },
                {
                  "player_name": "Alexis Mac Allister",
                  "ranking": 253
                },
                {
                  "player_name": "Maximilian Mittelstädt",
                  "ranking": 254
                },
                {
                  "player_name": "Seong-Jin Kang",
                  "ranking": 255
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.766,
          "history_matches": 40,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.766,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 12.9,
            "bench_appearance_prob": 0.472,
            "market_value_adjustment": 1.0129,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 4.0,
              "goals_per90": 0.625,
              "assists_per90": 0.625,
              "prior_reliability": 0.1067
            },
            "rationale": "Bench projection scaled from XGBoost M_service (40 historical appearances) to 12.9 expected mins (appearance prob 0.47); FBref playing time empirical prior: 1.0 sub appearances, 4.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.4209,
                "expected_assists": 0.1421,
                "assists": 0.2017,
                "assist_rate": 0.2017,
                "expected_goals": 0.1094,
                "goals": 0.1089,
                "goal_rate": 0.1089,
                "shots_on_target": 0.4079,
                "total_shots": 1.0094,
                "rating": 6.9666,
                "minutes": 20.8,
                "total_pass": 18.4713,
                "accurate_pass": 17.3364,
                "duels_won": 1.9053,
                "total_long_balls": 1.8518,
                "accurate_long_balls": 1.5223,
                "total_own_half_passes": 6.0756,
                "accurate_own_half_passes": 6.0756,
                "total_opp_half_passes": 12.3957,
                "accurate_opp_half_passes": 11.2608,
                "crosses_total": 2.6018,
                "crosses_accurate": 0.8744,
                "touches": 27.049,
                "possession_lost": 3.7946,
                "dispossessed": 0.2843,
                "duels_lost": 0.8192,
                "aerial_won": 0.0,
                "aerial_lost": 0.0704,
                "interceptions": 0.0,
                "tackles_won": 0.8264,
                "tackles": 1.0214,
                "clearances": 0.2408,
                "total_contest": 0.698,
                "won_contest": 0.6151,
                "challenges_lost": 0.158,
                "fouls": 0.2236,
                "fouls_drawn": 0.2687,
                "blocks": 0.0,
                "big_chances_created": 0.4949,
                "big_chances_missed": 0.0,
                "xgot": 0.1843,
                "ball_carries": 7.5795,
                "total_progression": 33.917,
                "progressive_carries": 1.1492,
                "shots_off_target": 0.6015
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-25T10:06:15.820149+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 7.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Athletic Club",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Deportivo Alavés",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-04-10",
                    "opponent": "Girona FC",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.4706,
                  "creative_index": 1.3958,
                  "expectedGoals": 0.2224,
                  "expectedAssists": 0.3266,
                  "onTargetScoringAttempt": 0.5351
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4208685159683228,
                    "model_output": 1.4209,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1676
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1369
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0599
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0498
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 0.8862,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3316
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1235
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1393
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0715
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0755
                        }
                      ],
                      "others": 0.4565,
                      "total": 1.4209,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.468758
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.201028
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.186881
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.083884
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.081566
                        }
                      ],
                      "others_margin": 0.387483
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14214414358139038,
                    "model_output": 0.1421,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1257
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1072
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0611
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0554
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0543
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0321
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0118
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0119
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0051
                        }
                      ],
                      "others": 0.0546,
                      "total": 0.1421,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.468178
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.199364
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.166271
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.062717
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.059866
                        }
                      ],
                      "others_margin": 0.485093
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.20169417560100555,
                    "model_output": 0.2017,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0535
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0459
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0393
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0321
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0306
                      }
                    ],
                    "decomposition": {
                      "base": 0.0852,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0161
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0136
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0134
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0152
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0152
                        }
                      ],
                      "others": 0.0702,
                      "total": 0.2017,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.173429
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.144289
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.142333
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.139889
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.123099
                        }
                      ],
                      "others_margin": 0.426942
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10935375839471817,
                    "model_output": 0.1094,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0794
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0663
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0546
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0244
                      }
                    ],
                    "decomposition": {
                      "base": 0.0944,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0394
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0125
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.009
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0079
                        }
                      ],
                      "others": 0.0169,
                      "total": 0.1094,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.539836
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.204063
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.112875
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.11254
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.089532
                        }
                      ],
                      "others_margin": 0.167576
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10887331515550613,
                    "model_output": 0.1089,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0916
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0421
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0418
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0374
                      },
                      {
                        "name": "goals",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.0976,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0315
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0108
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0096
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0078
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0074
                        }
                      ],
                      "others": 0.0228,
                      "total": 0.1089,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.389249
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.151577
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.117468
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.094134
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.089448
                        }
                      ],
                      "others_margin": 0.233734
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4079054296016693,
                    "model_output": 0.4079,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.127
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0728
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0694
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0373
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1263
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0477
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0332
                        },
                        {
                          "name": "cross_accuracy",
                          "contribution": 0.0281
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0284
                        }
                      ],
                      "others": 0.0728,
                      "total": 0.4079,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.494163
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.216133
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.126857
                        },
                        {
                          "name": "cross_accuracy",
                          "margin": 0.096005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.088673
                        }
                      ],
                      "others_margin": 0.196813
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0094152688980103,
                    "model_output": 1.0094,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1313
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1243
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0616
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0455
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.9905,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5442
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2019
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0573
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0367
                        }
                      ],
                      "others": 0.1612,
                      "total": 1.0094,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.544199
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.201914
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.106008
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.05729
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.036746
                        }
                      ],
                      "others_margin": 0.161192
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.966583728790283,
                    "model_output": 6.9666,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0814
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0732
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0525
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0416
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 6.8489,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1304
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0912
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0197
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0176
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0171
                        }
                      ],
                      "others": 0.0593,
                      "total": 6.9666,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.130382
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.091181
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.019687
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.01755
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.017079
                        }
                      ],
                      "others_margin": 0.059295
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0129, quality 0.892)",
              "stats": {
                "key_pass": 1.4392,
                "expected_assists": 0.144,
                "assists": 0.2043,
                "assist_rate": 0.2043,
                "expected_goals": 0.1108,
                "goals": 0.1103,
                "goal_rate": 0.1103,
                "shots_on_target": 0.4132,
                "total_shots": 1.0225,
                "rating": 6.9666,
                "minutes": 20.8,
                "total_pass": 18.7096,
                "accurate_pass": 17.56,
                "duels_won": 1.9299,
                "total_long_balls": 1.8757,
                "accurate_long_balls": 1.5419,
                "total_own_half_passes": 6.154,
                "accurate_own_half_passes": 6.154,
                "total_opp_half_passes": 12.5556,
                "accurate_opp_half_passes": 11.4061,
                "crosses_total": 2.6354,
                "crosses_accurate": 0.8857,
                "touches": 27.3979,
                "possession_lost": 3.8436,
                "dispossessed": 0.288,
                "duels_lost": 0.8298,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.8371,
                "tackles": 1.0346,
                "clearances": 0.2439,
                "total_contest": 0.707,
                "won_contest": 0.623,
                "challenges_lost": 0.16,
                "fouls": 0.2265,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.5013,
                "big_chances_missed": 0.0,
                "xgot": 0.1867,
                "ball_carries": 7.6773,
                "total_progression": 34.3545,
                "progressive_carries": 1.164,
                "shots_off_target": 0.6093
              },
              "params": {
                "market_value_eur": 97000000,
                "quality_factor": 0.8922,
                "boost_factor": 1.0129,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0077)",
              "stats": {
                "key_pass": 1.4392,
                "expected_assists": 0.144,
                "assists": 0.2038,
                "assist_rate": 0.2038,
                "expected_goals": 0.1108,
                "goals": 0.1106,
                "goal_rate": 0.1106,
                "shots_on_target": 0.4122,
                "total_shots": 1.0191,
                "rating": 6.9666,
                "minutes": 20.8,
                "total_pass": 18.7096,
                "accurate_pass": 17.56,
                "duels_won": 1.9299,
                "total_long_balls": 1.8757,
                "accurate_long_balls": 1.5419,
                "total_own_half_passes": 6.154,
                "accurate_own_half_passes": 6.154,
                "total_opp_half_passes": 12.5556,
                "accurate_opp_half_passes": 11.4061,
                "crosses_total": 2.6251,
                "crosses_accurate": 0.8857,
                "touches": 27.3979,
                "possession_lost": 3.8436,
                "dispossessed": 0.288,
                "duels_lost": 0.8298,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.834,
                "tackles": 1.0346,
                "clearances": 0.2439,
                "total_contest": 0.707,
                "won_contest": 0.623,
                "challenges_lost": 0.16,
                "fouls": 0.2248,
                "fouls_drawn": 0.2723,
                "blocks": 0.0,
                "big_chances_created": 0.5013,
                "big_chances_missed": 0.0,
                "xgot": 0.1867,
                "ball_carries": 7.6773,
                "total_progression": 34.3545,
                "progressive_carries": 1.164,
                "shots_off_target": 0.6093
              },
              "params": {
                "blend_weight": 0.0077,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2311,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.6354,
                  "after": 2.6251
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.8 to 12.9 expected minutes (appearance prob 0.47)",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0893,
                "assists": 0.1264,
                "assist_rate": 0.1264,
                "expected_goals": 0.0687,
                "goals": 0.0686,
                "goal_rate": 0.0686,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.1158,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9
              },
              "params": {
                "expected_minutes": 12.9,
                "projection_minutes": 20.8,
                "minutes_scale": 0.6202,
                "appearance_probability": 0.472
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0893,
                "assists": 0.1264,
                "assist_rate": 0.1264,
                "expected_goals": 0.0687,
                "goals": 0.0686,
                "goal_rate": 0.0686,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.1158,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0893,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0687,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.1158,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.53 (squad xG sum 1.5869, xG scale 0.9623, xA scale 1.1580, team xA 0.99 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0488,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0312,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.0526,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9992,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.527,
                "squad_xg_sum": 1.5869,
                "squad_xa_sum": 0.8571,
                "team_expected_assists": 0.9925,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 0.9623,
                "xa_scale": 1.158,
                "opponent_lambda": 2.674,
                "scoreline_reset": true,
                "appearance_weight": 0.472
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0687,
                  "after": 0.0312
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0893,
                  "after": 0.0488
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 83.0)",
              "stats": {
                "key_pass": 0.8926,
                "expected_assists": 0.0488,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0312,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.0526,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "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.9992,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 250,
                "fifa_rank": 314.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": {
                "key_pass": 0.8926,
                "expected_assists": 0.0488,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0312,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.0526,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0302,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9992,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0302,
                "goal_rate": 0.0686,
                "scorer_weight": 0.0312,
                "squad_weight_total": 1.5727,
                "weight_share": 0.0198,
                "finishing_factor": 0.9992,
                "appearance_weight": 0.472,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 0.7218,
                    "already": 0,
                    "effective_weight": 0.7218,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.2271
                  }
                ]
              }
            },
            {
              "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.8926,
                "expected_assists": 0.0488,
                "assist_rate": 0.1264,
                "assists": 0,
                "expected_goals": 0.0312,
                "goal_rate": 0.0686,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.6335,
                "rating": 6.9666,
                "minutes": 12.9,
                "total_pass": 11.6035,
                "accurate_pass": 10.8906,
                "duels_won": 1.1969,
                "total_long_balls": 1.1633,
                "accurate_long_balls": 0.9563,
                "total_own_half_passes": 3.8167,
                "accurate_own_half_passes": 3.8167,
                "total_opp_half_passes": 7.7869,
                "accurate_opp_half_passes": 7.074,
                "crosses_total": 1.6281,
                "crosses_accurate": 0.5493,
                "touches": 16.992,
                "possession_lost": 2.3838,
                "dispossessed": 0.288,
                "duels_lost": 0.5146,
                "aerial_won": 0.0,
                "aerial_lost": 0.0713,
                "interceptions": 0.0,
                "tackles_won": 0.5172,
                "tackles": 0.6417,
                "clearances": 0.1513,
                "total_contest": 0.4385,
                "won_contest": 0.3864,
                "challenges_lost": 0.16,
                "fouls": 0.1394,
                "fouls_drawn": 0.1689,
                "blocks": 0.0,
                "big_chances_created": 0.3109,
                "big_chances_missed": 0.0,
                "xgot": 0.0526,
                "ball_carries": 4.7614,
                "total_progression": 21.3064,
                "progressive_carries": 0.7219,
                "shots_off_target": 0.3779,
                "bench_appearance_probability": 0.472,
                "bench_expected_minutes": 12.9,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.477,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0302,
                "projected_assists": 0,
                "assist_probability": 0.0464,
                "finishing_factor": 0.9992,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0464,
                "assist_rate": 0.1264,
                "provider_weight": 0.061,
                "squad_weight_total": 1.0718,
                "weight_share": 0.0569,
                "creation_factor": 1.25,
                "appearance_weight": 0.472,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Yan Diomande",
                    "weight": 0.192,
                    "already": 0,
                    "effective_weight": 0.192,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.1704,
                    "blocked_own_goal": [
                      "Kylian Mbappé"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.53,
        "expected_assists": 0.99,
        "total_shots": 17,
        "shots_on_target": 3,
        "total_passes": 554,
        "interceptions": 10,
        "tackles": 16,
        "avg_rating": 7.05,
        "possession_estimated_pct": 50.5,
        "pressing_actions_per_90": 8.9
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Fermín López",
        "attacker_role": "LW",
        "attacker_market_value": 113000000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.896,
        "defenders": [
          "Marc Cucurella"
        ],
        "defender_roles": [
          "CB"
        ],
        "def_skill_quality_avg": 0.857,
        "duel_zone": "LW vs CB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.43,
        "xg_contribution": 0.2419,
        "xg_multiplier": 1.014,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 4,
        "dribbles_successful": 1.5,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.7,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Marc Cucurella",
            "role": "CB",
            "market_value": 62000000,
            "tackles_attempted": 2.3,
            "tackles_won": 1.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.57
          }
        ],
        "duel_analysis": "Fermín López (LW) is evenly matched against Marc Cucurella in a direct 1v1 contest. Duel win probability: 43%. The quality gap is significant (€113M vs €62M avg). Matchup xG multiplier ×1.01 (×1.00 = his usual level). Projected xG contribution: 0.242 — with neither side clearly dominant."
      },
      {
        "attacker": "Lamine Yamal",
        "attacker_role": "ST",
        "attacker_market_value": 237000000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.9,
        "defenders": [
          "Marc Cucurella",
          "Dean Huijsen"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.861,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.198,
        "xg_contribution": 0.6468,
        "xg_multiplier": 0.9975,
        "shots_in_zone": 2.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.9,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Marc Cucurella",
            "role": "CB",
            "market_value": 62000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.802
          },
          {
            "player": "Dean Huijsen",
            "role": "CB",
            "market_value": 66000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.802
          }
        ],
        "duel_analysis": "Lamine Yamal (ST) is evenly matched against Marc Cucurella and Dean Huijsen in a 2-defender block. Duel win probability: 20%. The quality gap is significant (€237M vs €64M avg). Matchup xG multiplier ×1.00 (×1.00 = his usual level). Projected xG contribution: 0.647 — with neither side clearly dominant."
      },
      {
        "attacker": "Raphinha",
        "attacker_role": "ST",
        "attacker_market_value": 63000000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.859,
        "defenders": [
          "Marc Cucurella",
          "Dean Huijsen"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.861,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.5149,
        "xg_multiplier": 0.9291,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.9,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Marc Cucurella",
            "role": "CB",
            "market_value": 62000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Dean Huijsen",
            "role": "CB",
            "market_value": 66000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Raphinha (ST) faces tough defensive resistance against Marc Cucurella and Dean Huijsen in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.93 (×1.00 = his usual level). Projected xG contribution: 0.515 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Anthony Gordon",
        "attacker_role": "ST",
        "attacker_market_value": 82000000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.884,
        "defenders": [
          "Marc Cucurella",
          "Dean Huijsen"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.861,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.191,
        "xg_contribution": 0.3306,
        "xg_multiplier": 0.9867,
        "shots_in_zone": 2.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.9,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Marc Cucurella",
            "role": "CB",
            "market_value": 62000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.809
          },
          {
            "player": "Dean Huijsen",
            "role": "CB",
            "market_value": 66000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.809
          }
        ],
        "duel_analysis": "Anthony Gordon (ST) is evenly matched against Marc Cucurella and Dean Huijsen in a 2-defender block. Duel win probability: 19%. The quality gap is significant (€82M vs €64M avg). Matchup xG multiplier ×0.99 (×1.00 = his usual level). Projected xG contribution: 0.331 — with neither side clearly dominant."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Kylian Mbappé",
        "attacker_role": "ST",
        "attacker_market_value": 212000000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.9,
        "defenders": [
          "Pau Cubarsí",
          "Gerard Martín"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.825,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.199,
        "xg_contribution": 0.7032,
        "xg_multiplier": 0.9987,
        "shots_in_zone": 2.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.9,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Pau Cubarsí",
            "role": "CB",
            "market_value": 94000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.801
          },
          {
            "player": "Gerard Martín",
            "role": "CB",
            "market_value": 36000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.801
          }
        ],
        "duel_analysis": "Kylian Mbappé (ST) is evenly matched against Pau Cubarsí and Gerard Martín in a 2-defender block. Duel win probability: 20%. The quality gap is significant (€212M vs €65M avg). Matchup xG multiplier ×1.00 (×1.00 = his usual level). Projected xG contribution: 0.703 — with neither side clearly dominant."
      },
      {
        "attacker": "Yan Diomande",
        "attacker_role": "CAM",
        "attacker_market_value": 132000000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.899,
        "defenders": [
          "Pedri",
          "Rodri"
        ],
        "defender_roles": [
          "CDM",
          "CDM"
        ],
        "def_skill_quality_avg": 0.868,
        "duel_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.239,
        "xg_contribution": 0.0988,
        "xg_multiplier": 0.9979,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.8,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Pedri",
            "role": "CDM",
            "market_value": 164000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.761
          },
          {
            "player": "Rodri",
            "role": "CDM",
            "market_value": 54000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.761
          }
        ],
        "duel_analysis": "Yan Diomande (CAM) is evenly matched against Pedri and Rodri in a 2-defender block. Duel win probability: 24%. The quality gap is significant (€132M vs €109M avg). Matchup xG multiplier ×1.00 (×1.00 = his usual level). Projected xG contribution: 0.099 — with neither side clearly dominant."
      },
      {
        "attacker": "Eduardo Camavinga",
        "attacker_role": "LWB",
        "attacker_market_value": 48000000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.817,
        "defenders": [
          "Xavi Espart"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.686,
        "duel_zone": "Left Wingback vs Right Back — Overlapping Run",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.475,
        "xg_contribution": 0.0326,
        "xg_multiplier": 1.1097,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 3.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Xavi Espart",
            "role": "RB",
            "market_value": 26000000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.525
          }
        ],
        "duel_analysis": "Eduardo Camavinga (LWB) is slightly favored against Xavi Espart in a direct 1v1 contest. Duel win probability: 47%. The quality gap is significant (€48M vs €26M avg). Matchup xG multiplier ×1.11 (×1.00 = his usual level). Projected xG contribution: 0.033 — creating consistent moderate threat."
      },
      {
        "attacker": "Federico Valverde",
        "attacker_role": "RWB",
        "attacker_market_value": 87000000,
        "attacker_height": 181,
        "attacker_skill_quality": 0.887,
        "defenders": [
          "João Cancelo"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.493,
        "duel_zone": "Right Wingback vs Left Back — Overlapping Run",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.561,
        "xg_contribution": 0.0931,
        "xg_multiplier": 1.237,
        "shots_in_zone": 1.2,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.5,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 3.1,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "João Cancelo",
            "role": "LB",
            "market_value": 7500000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.439
          }
        ],
        "duel_analysis": "Federico Valverde (RWB) has a clear attacking advantage against João Cancelo in a direct 1v1 contest. Duel win probability: 56%. The quality gap is significant (€87M vs €8M avg). Matchup xG multiplier ×1.24 (×1.00 = his usual level). Projected xG contribution: 0.093 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Jude Bellingham",
        "attacker_role": "CM",
        "attacker_market_value": 151000000,
        "attacker_height": 188,
        "attacker_skill_quality": 0.899,
        "defenders": [
          "Pedri"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.9,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.506,
        "xg_contribution": 0.2085,
        "xg_multiplier": 1.0822,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Pedri",
            "role": "CDM",
            "market_value": 164000000,
            "tackles_attempted": 2.3,
            "tackles_won": 1.8,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.494
          }
        ],
        "duel_analysis": "Jude Bellingham (CM) is slightly favored against Pedri in a direct 1v1 contest. Duel win probability: 51%.  Matchup xG multiplier ×1.08 (×1.00 = his usual level). Projected xG contribution: 0.209 — creating consistent moderate threat."
      },
      {
        "attacker": "Aurélien Tchouaméni",
        "attacker_role": "CM",
        "attacker_market_value": 73000000,
        "attacker_height": 188,
        "attacker_skill_quality": 0.875,
        "defenders": [
          "Pedri"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.9,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.498,
        "xg_contribution": 0.0536,
        "xg_multiplier": 1.0711,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Pedri",
            "role": "CDM",
            "market_value": 164000000,
            "tackles_attempted": 2.3,
            "tackles_won": 1.8,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.502
          }
        ],
        "duel_analysis": "Aurélien Tchouaméni (CM) is slightly favored against Pedri in a direct 1v1 contest. Duel win probability: 50%. The quality gap is significant (€73M vs €164M avg). Matchup xG multiplier ×1.07 (×1.00 = his usual level). Projected xG contribution: 0.054 — creating consistent moderate threat."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.878,
      "away_midfield_power": 0.895,
      "home_creative_power": 0.926,
      "away_creative_power": 0.844,
      "home_defensive_power": 0.711,
      "away_defensive_power": 0.812,
      "home_dominance_ratio": 0.495,
      "home_midfield_count": 3,
      "away_midfield_count": 4,
      "home_midfield_players": [
        "Fermín López",
        "Pedri",
        "Rodri"
      ],
      "away_midfield_players": [
        "Eduardo Camavinga",
        "Aurélien Tchouaméni",
        "Federico Valverde",
        "Jude Bellingham"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 49.5,
      "estimated_possession_away_pct": 50.5,
      "home_pressing_actions_per_90": 8.4,
      "away_pressing_actions_per_90": 8.9,
      "home_key_passes_projected": 7.1,
      "away_key_passes_projected": 6.6,
      "home_throughball_threat": 3.4,
      "away_throughball_threat": 3.1,
      "key_personal_duel": "Pedri vs Jude Bellingham",
      "midfield_lambda_factor_home": 1.004,
      "midfield_lambda_factor_away": 1.007
    },
    "formation_analysis": {
      "home_formation": "4-2-3-1",
      "away_formation": "3-4-1-2",
      "home_tactical_bonus": 0.05,
      "away_tactical_bonus": -0.05,
      "formation_verdict": "Tactical parity between 4-2-3-1 and 3-4-1-2. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 2.674,
    "away_lambda": 1.527,
    "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",
      "Central Mid vs Defensive Mid — Pressing/Creation Duel"
    ],
    "home_player_antagonists": {
      "Fermín López": {
        "opponents": [
          "Marc Cucurella",
          "Eduardo Camavinga"
        ],
        "primary_zone": "LW vs CB",
        "source": "attacking_duel, midfield_pairing"
      },
      "Lamine Yamal": {
        "opponents": [
          "Marc Cucurella",
          "Dean Huijsen"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Raphinha": {
        "opponents": [
          "Marc Cucurella",
          "Dean Huijsen"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Anthony Gordon": {
        "opponents": [
          "Marc Cucurella",
          "Dean Huijsen"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Pau Cubarsí": {
        "opponents": [
          "Kylian Mbappé"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Gerard Martín": {
        "opponents": [
          "Kylian Mbappé"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Pedri": {
        "opponents": [
          "Yan Diomande",
          "Jude Bellingham",
          "Aurélien Tchouaméni",
          "Federico Valverde"
        ],
        "primary_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
        "source": "defensive_duel, midfield_pairing"
      },
      "Rodri": {
        "opponents": [
          "Yan Diomande",
          "Aurélien Tchouaméni"
        ],
        "primary_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
        "source": "defensive_duel, midfield_pairing"
      },
      "Xavi Espart": {
        "opponents": [
          "Eduardo Camavinga"
        ],
        "primary_zone": "Left Wingback vs Right Back — Overlapping Run",
        "source": "defensive_duel"
      },
      "João Cancelo": {
        "opponents": [
          "Federico Valverde"
        ],
        "primary_zone": "Right Wingback vs Left Back — Overlapping Run",
        "source": "defensive_duel"
      },
      "Joan García": {
        "opponents": [
          "Kylian Mbappé",
          "Yan Diomande"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Marc Cucurella": {
        "opponents": [
          "Fermín López",
          "Lamine Yamal",
          "Raphinha",
          "Anthony Gordon"
        ],
        "primary_zone": "LW vs CB",
        "source": "defensive_duel"
      },
      "Dean Huijsen": {
        "opponents": [
          "Lamine Yamal",
          "Raphinha",
          "Anthony Gordon"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Kylian Mbappé": {
        "opponents": [
          "Pau Cubarsí",
          "Gerard Martín"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Yan Diomande": {
        "opponents": [
          "Pedri",
          "Rodri"
        ],
        "primary_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
        "source": "attacking_duel"
      },
      "Eduardo Camavinga": {
        "opponents": [
          "Xavi Espart",
          "Fermín López"
        ],
        "primary_zone": "Left Wingback vs Right Back — Overlapping Run",
        "source": "attacking_duel, midfield_pairing"
      },
      "Federico Valverde": {
        "opponents": [
          "João Cancelo",
          "Pedri"
        ],
        "primary_zone": "Right Wingback vs Left Back — Overlapping Run",
        "source": "attacking_duel, midfield_pairing"
      },
      "Jude Bellingham": {
        "opponents": [
          "Pedri"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Aurélien Tchouaméni": {
        "opponents": [
          "Pedri",
          "Rodri"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Thibaut Courtois": {
        "opponents": [
          "Lamine Yamal",
          "Anthony Gordon"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Ibrahima Konaté": {
        "opponents": [
          "Raphinha"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Antonio Rüdiger": {
        "opponents": [
          "Lamine Yamal"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Pedri vs Jude Bellingham will be the pivotal duel. Total antagonist xG — Home: 1.73, Away: 1.19. 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": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.3418,
      "ha_source": "estimated:league",
      "home_gk_opposition_factor": 0.9548,
      "away_gk_opposition_factor": 0.8584,
      "home_set_piece_bonus": 0.081,
      "away_set_piece_bonus": 0.18,
      "home_defensive_solidity_vs": 0.9044,
      "away_defensive_solidity_vs": 0.9105,
      "home_midfield_factor": 1.004,
      "away_midfield_factor": 1.007,
      "stage_discount": 1.0,
      "quality_gap_applied": false,
      "home_avg_quality": 0.8103,
      "away_avg_quality": 0.8284,
      "avg_quality_gap": -0.018,
      "squad_value_gap_log": -0.0075,
      "top5_value_gap_log": 0.0513,
      "attack_value_gap_log": 0.0139,
      "elite_count_gap": -2,
      "combined_quality_gap": -0.0402,
      "stronger_lambda_boost": 0.0,
      "weaker_lambda_suppression": 0.0,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 1.7342,
          "n_duels": 4,
          "duel_confidence": 0.67,
          "result": 1.6074
        },
        {
          "label": "midfield_factor",
          "factor": 1.004,
          "result": 1.6138
        },
        {
          "label": "formation_bonus",
          "factor": 1.05,
          "result": 1.6945
        },
        {
          "label": "home_advantage",
          "factor": 1.3418,
          "result": 2.2737
        },
        {
          "label": "standing_factor",
          "factor": 1.1907,
          "result": 2.7073
        },
        {
          "label": "gk_opposition",
          "factor": 0.9548,
          "result": 2.5848
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9044,
          "result": 2.3377
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.081,
          "result": 2.4187
        },
        {
          "label": "engine_clamp",
          "pre": 2.4187,
          "result": 2.4187,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": -0.0402,
          "factor": 1.0,
          "pre": 2.4187,
          "result": 2.4187
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 2.4187
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.22,
          "result": 2.639
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 3.5,
          "result": 2.8353
        },
        {
          "label": "router_clamp",
          "pre": 2.8353,
          "result": 2.835,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": true,
          "factor": 1.1,
          "result": 3.119
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0286,
          "pre": 3.119,
          "result": 3.2082,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 3.208
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "reason": "lambda gap >= 1.25 (clear mismatch)",
          "result": 3.208
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 3.208,
          "result": 3.208,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": true,
          "reason": "competition_intensity_calibration",
          "samples": 124,
          "scale": 0.85,
          "observed_total_goals": 2.984,
          "result": 2.674
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 1.1898,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 1.2298
        },
        {
          "label": "midfield_factor",
          "factor": 1.007,
          "result": 1.2385
        },
        {
          "label": "formation_bonus",
          "factor": 0.95,
          "result": 1.1765
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 1.1765
        },
        {
          "label": "standing_factor",
          "factor": 1.033,
          "result": 1.2154
        },
        {
          "label": "gk_opposition",
          "factor": 0.8584,
          "result": 1.0432
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9105,
          "result": 0.9498
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.18,
          "result": 1.1298
        },
        {
          "label": "engine_clamp",
          "pre": 1.1298,
          "result": 1.1298,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": false,
          "combined_quality_gap": -0.0402,
          "factor": 1.0,
          "pre": 1.1298,
          "result": 1.1298
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.1298
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.22,
          "result": 1.35
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 3.5,
          "result": 1.8402
        },
        {
          "label": "router_clamp",
          "pre": 1.8402,
          "result": 1.84,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": true,
          "factor": 0.97,
          "result": 1.785
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9714,
          "pre": 1.785,
          "result": 1.7339,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 1.734
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "reason": "lambda gap >= 1.25 (clear mismatch)",
          "result": 1.734
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 1.734,
          "result": 1.734,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": true,
          "reason": "competition_intensity_calibration",
          "samples": 124,
          "scale": 0.85,
          "observed_total_goals": 2.984,
          "result": 1.527
        }
      ],
      "home_bench_lambda_bonus": 0.22,
      "away_bench_lambda_bonus": 0.22,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "FC Barcelona",
        "away_squad": "Real Madrid",
        "home_goals_per90": 3.6666666666666665,
        "away_goals_against_per90": 3.33,
        "away_goals_per90": 3.0,
        "home_goals_against_per90": 4.0,
        "home_empirical_lambda": 3.5,
        "away_empirical_lambda": 3.5,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": false,
      "pre_calibration_home_lambda": 2.8353,
      "pre_calibration_away_lambda": 1.8402,
      "competition_calibration_applied": true,
      "competition_calibration_reason": "competition_intensity_calibration",
      "competition_calibration_samples": 124,
      "competition_observed_total_goals": 2.984,
      "competition_calibration_scale": 0.85,
      "neutral_share_preserved": false,
      "final_home_lambda": 2.674,
      "final_away_lambda": 1.527
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 1,
    "opponent_position": 3,
    "standing_lambda_multiplier": 1.1907,
    "attack_index": 1.871,
    "defense_concede_index": 0.812,
    "form_multiplier": 1.023,
    "team_attack_rate_contextual": 2.87,
    "opp_defense_rate_contextual": 1.25,
    "team_ppg": 2.34,
    "opponent_ppg": 1.94
  },
  "away_standing": {
    "available": true,
    "team_position": 3,
    "opponent_position": 1,
    "standing_lambda_multiplier": 1.033,
    "attack_index": 1.227,
    "defense_concede_index": 0.893,
    "form_multiplier": 0.977,
    "team_attack_rate_contextual": 1.88,
    "opp_defense_rate_contextual": 1.37,
    "team_ppg": 1.94,
    "opponent_ppg": 2.34
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Barcelona vs Real Madrid. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-2-3-1 vs 3-4-1-2 (duel lambdas: Home 2.835, Away 1.840). Final calibrated Poisson lambdas: Home 2.674, Away 1.527 (most likely score 2-1).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 11,
      "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": "FC Barcelona",
      "away_squad": "Real Madrid",
      "home_goals_per90": 3.6666666666666665,
      "away_goals_against_per90": 3.33,
      "away_goals_per90": 3.0,
      "home_goals_against_per90": 4.0,
      "home_empirical_lambda": 3.5,
      "away_empirical_lambda": 3.5,
      "blending_weight": 0.228
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 2.674,
      "away_lambda": 1.527,
      "micro_duel_home_lambda": 2.835,
      "micro_duel_away_lambda": 1.84
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": true,
      "competition_calibration_scale": 0.85,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-25T15:16:56Z",
  "outcome_baseline": null,
  "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
  }
}